On 12/5/23 13:19, #Paul wrote:
Does anyone here understand cgroups?
I have a vague understanding of them.
Once upon a time I could use nice (and/or renice) to change priorities,
so that things I wanted finished sooner would run faster than ones I
was happy to wait for; but if the fast ones finished, I didn't have to
waste any cpu time as the others jobs could take up the slack.
Sounds like you were leveraging (,re,io)nice to adjust the weight /
priority of your processes as you see fit. I would consider this to be
a very traditionally Unix thing to do.
Now we have "cgroups", which no doubt has many advantages, but seems
imo bizarrely complicated. And although I can still "nice" processes,
it never makes any difference at all -- not even between a set of jobs created by the same shell or processing script, which I would have
thought of as sensible, and as seems to be implied by some doco as what should happen (but ime does not).
My speculation is that more of your processes than you care for are run
in different (instances of a) cgroup(s). So when you're shuffling
priority as you had been doing, you're probably doing so against one or
maybe two other processes inside of a cgroup. Unfortunately this has no relation to much less impact on or between other cgroup(s).
Can anyone help?
I would work with the people that do have root / sudo access to the
system your on and get them to help enable you to do what you want.
Even if that means that all of your processes end up in one cgroup so
that you can shuffle things therein as you desire.
This seems to me like what a system administrator is supposed to do, as
in help their users achieve their desired goal.
But, sadly, it sounds like you might have more of a dictator form of
system administrator.
I'm sorry, but I don't have an answer for you.
--
Grant. . . .
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)