Skip to content

procfs: Assume all cores for max#1261

Merged
blt merged 1 commit intomainfrom
vincent.whitchurch/procfs-max
Feb 27, 2025
Merged

procfs: Assume all cores for max#1261
blt merged 1 commit intomainfrom
vincent.whitchurch/procfs-max

Conversation

@vitkyrka
Copy link
Copy Markdown
Contributor

What does this PR do?

If there are no limits in cpu.max, assume all cores instead of just physical cores. This results in values that match other tools like top (with Irix mode off).

Motivation

Noticed while evaluating lading.

Related issues

Additional Notes

If there are no limits in `cpu.max`, assume all cores instead of just
physical cores.  This results in values that match other tools like top
(with Irix mode off).
@vitkyrka vitkyrka marked this pull request as ready for review February 27, 2025 17:41
@vitkyrka vitkyrka requested a review from a team as a code owner February 27, 2025 17:41
@blt blt merged commit 2755022 into main Feb 27, 2025
22 checks passed
@blt blt deleted the vincent.whitchurch/procfs-max branch February 27, 2025 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants