Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] changing cgroup parameters for good?
- Date: Wed, 12 Jun 2019 14:38:16 +0000
- From: "Bockelman, Brian" <BBockelman@xxxxxxxxxxxxx>
- Subject: Re: [HTCondor-users] changing cgroup parameters for good?
Hi Thomas,
Nothing comes to mind. I wonder if you could modify the unit and "reload" systemd without interrupting HTCondor? I suspect that might be what happened with the package updates.
Brian
> On Jun 12, 2019, at 3:11 AM, Thomas Hartmann <thomas.hartmann@xxxxxxx> wrote:
>
> 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
> issues).
> 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])?
>
>
> Cheers,
> Thomas
>
>
> [1]
>> TIMEWINDOW=1000000
>> echo ${TIMEWINDOW} >
> /sys/fs/cgroup/cpu,cpuacct/system.slice/condor.service/cpu.cfs_period_us
>> echo $(cat /proc/cpuinfo | grep processor | wc -l)*${TIMEWINDOW}/4 |
> bc > /sys/fs/cgroup/cpu,cpuacct/system.slice/condor.service/cpu.cfs_quota_us
>
> [2]
> https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html
>
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/