Hi Matt,
good question indeed — and I think it's quite relevant for all AP operators, especially given increasing memory / CPU hogging by editors with LLM integration and more, often used on APs...
Beyond the usual suspects, which are incredibly useful, we also use:
MemorySwapMax
We found keeping swap active is often useful (to swap out unused / rarely accessed memory hoarders, e.g. from such stuff mentioned before) and rather allows the system to use this memory for file cache for example.
However, to prevent things from going haywire, limiting swap is then very helpful.
We also combine this with zswap to make it more useful, but I'm digressing from the topic of cgroups a bit.
Cheers and thanks for asking,
Oliver
Am 15.07.26 um 20:48 schrieb 'Matthew West' via HTCondor Users:
> Apologies for not immediately condor-relevant question but given the heavy use of cgroups by this community, I figured it would be a good place to ask.
>
> What is y'all's preferred cgroup config for minimizing the resource usage by users logged on to an AP? Anything beyond the usual suspects of
>
> * CPUQuota
> * MemoryHigh/Max
> * TasksMax
>
> to make sure that both the schedd and all human users can get work done?
>
> Cheers,
> Matt
>
> --
> Matthew T. West (he,him,his) | Systems Programmer/Administrator
> UNC Charlotte | University Research Computing (office of OneIT)
> 9214 South Library Lane| Room 301 | Charlotte, NC 28223
> Phone:
704-687-8766
>
mwe...@charlotte.edu |
http://www.charlotte.edu/urc/
>
> --
> Archives for older messages are found at
https://www-auth.cs.wisc.edu/lists/htcondor-users/ <
https://www-auth.cs.wisc.edu/lists/htcondor-users/>
> ---
> You received this message because you are subscribed to the Google Groups "HTCondor Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
htcondor-user...@g-groups.wisc.edu <mailto:
htcondor-user...@g-groups.wisc.edu>.
> To view this discussion visit
https://groups.google.com/a/g-groups.wisc.edu/d/msgid/htcondor-users/ec1db57d-2e38-4aac-a291-2e58350b8d32%40charlotte.edu <
https://groups.google.com/a/g-groups.wisc.edu/d/msgid/htcondor-users/ec1db57d-2e38-4aac-a291-2e58350b8d32%40charlotte.edu?utm_medium=email&utm_source=footer>.
--
Oliver Freyermuth
Universität Bonn
Physikalisches Institut, Raum 1.055
Käthe-Kümmel-Straße 1
53115 Bonn
--
Tel.:
+49 228 73 2367
Fax:
+49 228 73 7869
--