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

[HTCondor-users] changing cgroup parameters for good?

Hi all,

I stumbled over a cgroup/systemd(?) related question, when I was trying
to fix a cgroup value for the condor parent group and systemd
(presumably) took notice after some time.

I limited the walltime for all condor cgroupds to 1/4 of the overall
(logical cpu) wall time [1] (stopgap as the cpu govenor vs. board had
Which worked fine until an auto-update updated some packages and
triggered systemd, which reset the parameter to its original value (-1).

So, I wonder if somebody knows a way to fix on the fly parameters in the
condor cgroup(s) actuallybelonging to systemd (beyond modifying the unit
as I would like to avoid loosing running jobs etc. [2])?


> TIMEWINDOW=1000000
> echo ${TIMEWINDOW} >
> echo $(cat /proc/cpuinfo  | grep processor | wc -l)*${TIMEWINDOW}/4 |
bc > /sys/fs/cgroup/cpu,cpuacct/system.slice/condor.service/cpu.cfs_quota_us


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature