coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] nproc: honor cgroup v2 CPU quotas


From: Pádraig Brady
Subject: Re: [PATCH] nproc: honor cgroup v2 CPU quotas
Date: Wed, 20 Aug 2025 08:45:10 +0100
User-agent: Mozilla Thunderbird Beta

On 19/08/2025 23:04, Collin Funk wrote:
Pádraig Brady <P@draigBrady.com> writes:

* NEWS: Mention the new feature.
* gnulib: Update to new nproc gnulib implementation:
https://github.com/coreutils/gnulib/commit/9b07115f4a
---
  NEWS   | 11 +++++++----
  gnulib |  2 +-
  2 files changed, 8 insertions(+), 5 deletions(-)

Looks good. Thanks again for implementing this.

Cool. I also tweaked the texi before pushing,
to mention honoring cgroups (without --all).

BTW this is a good summary of why it's useful
to determine effective CPUs:

https://danluu.com/cgroup-throttling/
Given doing this accurately is so awkward, one could envisage
nproc being used to determine this, and then this info passed on
when starting services to appropriately size thread-pools etc.

cheers,
Padraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]