Skip to content

Conversation

@DiegoTavares
Copy link
Collaborator

@DiegoTavares DiegoTavares commented Dec 15, 2025

Overview

Update modules to properly store PSS (Proportional Set Size) alongside RSS (Resident Set Size) for measuring process memory usage on Linux systems.

Key Differences:

  • RSS: Total physical memory including full count of shared libraries (can be misleading)
  • PSS: Proportional share - shared pages divided by number of processes sharing them (more accurate)
  • Source: /proc/[pid]/smaps_rollup (Linux kernel 4.14+) provides pre-summed PSS values

Current State:

Rqd contains a config property to collect memory as either RSS or PSS. Information is saved on Cuebot and displayed as Rss.

Proposed Solution:

Rqd collects and reports both RSS and PSS. Cuebot stores both in the database. pycue and cuegui display both.

Tasks:

  • Update rqd to collect PSS
  • Update proto and cuebot to store data on the database
  • Update pycue and cuegui to display PSS
  • Fix accidentally refformated python files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant