using cgroups to throttle I/O

14 views
Skip to first unread message

Arceaceyx

unread,
Jul 7, 2026, 8:29:13 AMJul 7
to HTCondor Users
I am running Alma Linux 9. Is it possible to use cgroups to throttle I/O for each job? 

Thomas Hartmann

unread,
Jul 8, 2026, 2:36:46 AMJul 8
to HTCondor Users
Hi Arceaceyx,

AFAIK I/O control is not directly possible with HTCondor. As the io
controller works only per specific device, each starter daemon would
need to know the block device layout on that machine and which local
device(s) the job scratch dirs host.

On a per job level you could maybe improvise something with a job
wrapper or an inotify/fanotify watcher on the cgroup path for new jobs,
but this would also require again knowing/configuring the local block
device layout. Alternatively, you could probably set a global I/O limit
on the condor base cgroup for all jobs shared between each other
(outside the systemd hierarchy).

Cheers,
Thomas
Reply all
Reply to author
Forward
0 new messages