[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] how to manipulate the number of available slots on a running WN
- Date: Thu, 13 Jun 2019 15:03:47 +0000
- From: John M Knoeller <johnkn@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] how to manipulate the number of available slots on a running WN
Do you want this change to evict running jobs to get into powersave mode?
Do you want the machine to drain down to powersave mode?
or do you plan to turn on powersave mode only when the machine is idle (or nearly so)
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Beyer, Christoph
Sent: Thursday, June 13, 2019 6:46 AM
To: htcondor-users <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] how to manipulate the number of available slots on a running WN
I do have another maybe typical administrative task, there are works on the powerlines scheduled and I have to scale down the powerconsumption of the pool.
To do so my initial idea is to reduce the number of available slots per condor WN in forehand of the works:
(on the WN all slots are partitionable)
PowerSave = false
PowerSaveCpus = 2
STARTD.SETTABLE_ATTRS_ADMINISTRATOR = StartJobs PowerSave
STARTD_ATTRS = StartJobs, PowerSave, $(STARTD_ATTRS)
NUM_CPUS = ifThenElse($(PowerSave), $(PowerSaveCpus), $(DETECTED_CPUS))
It works so far in the sense that by putting 'PowerSave' to true the number of 'NUM_CPUS' is set accordingly. Unfortunately I seem to need a condor restart for the change to take effect in terms of reduction of slotnumber (which is not what I want) ?
Is there a more clever way to reduce the number of slots by htcondor configuration means or any way to make the pool node honor the change without restart ?
Building 02b, Room 009
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
You can also unsubscribe by visiting
The archives can be found at: