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

@DiegoTavares DiegoTavares marked this pull request as ready for review January 6, 2026 23:48
@ramonfigueiredo ramonfigueiredo changed the title [Cuebot/cuegui/pycue/rqd] Store PSS and MaxPSS [cuebot/cuegui/pycue/rqd] Store PSS and MaxPSS Jan 7, 2026
Copy link
Collaborator

@ramonfigueiredo ramonfigueiredo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with minor suggestions

@DiegoTavares DiegoTavares merged commit 2a27f49 into AcademySoftwareFoundation:master Jan 9, 2026
22 checks passed
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.

2 participants