Per-PUN Cgroups?

Hi all,

Has anyone tried putting each PUN into its own Cgroup to control fair sharing of CPU resources, for example? We’re thinking of trying something like this, so any prior experiences would be interesting to hear about.

We have observed that Remote File transfer operations can consume a lot of CPU resources (3-4 cores on full speed), and if there isn’t much other traffic on the web server, it’s fine to let these transfers run. However, if multiple users were to run transfers at the same time, it would be nice to have control over how each user gets allocated CPU resources, instead of completely leaving it up to the Linux scheduler. For example, with Cgroups, it would be possible to just throttle a few given users, if needed.

At CSC, we’re running OOD inside of a Podman container, so Systemd slices are not available. We’re considering implementing some form of manual Cgroup setup, but before we do, we’re wondering if anyone else has tried this before?

Let us know if you have experiences, good or bad :slight_smile:

2 Likes