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

Re: [HTCondor-users] Slot weights



Hi Jeff,

you remind me of a terrier - in a good way of course ;) 

>From my understanding the slotweight defines the 'weight' of your usage that goes into the priority/fairshare algorythm. E.g. if you define a slotweight weighing in a lot of memory high memory jobs will become costly for those who run them and lower their prio to run future jobs more than if they would run low memory jobs ... 


Best
christoph 

-- 
Christoph Beyer
DESY Hamburg
IT-Department

Notkestr. 85
Building 02b, Room 009
22607 Hamburg

phone:+49-(0)40-8998-2317
mail: christoph.beyer@xxxxxxx

----- UrsprÃngliche Mail -----
Von: "Jeff Templon" <templon@xxxxxxxxx>
An: "HTCondor-Users Mail List" <htcondor-users@xxxxxxxxxxx>
Gesendet: Sonntag, 21. Dezember 2025 22:27:26
Betreff: Re: [HTCondor-users] Slot weights

Digging quite deep in the docs, I did find this one mention:

SLOT_WEIGHT An expression that specifies a slotâs weight, used as a multiplier the condor_negotiator daemon during matchmaking to assess user usage of a slot, which affects user priority. Defaults to Cpus.

I think this should also be in the main section on priorities, with a statement of exactly how it affects the user priority.

JT


> On 21 Dec 2025, at 22:06, Jeff Templon <templon@xxxxxxxxx> wrote:
> 
> Actually, itâs not clear whether the slot weight affects the priority.  It does affect the weighted in use values and total usage values printed by condor_userprio, but the documentation does not say anything about the effect of slot weight on priority, even though that effect would be The Right Thing To Have.
> 
> Gurus?
> 
> JT
> 
> 
>> On 21 Dec 2025, at 21:59, Jeff Templon <templon@xxxxxxxxx> wrote:
>> 
>> Hi Christoph.
>> 
>> I donât think that has the intended effect, since it does not affect the job priority, no? The slot weight does affect the job priority as far as I can tell, which is what I want.
>> 
>> I found some gem on the list archives that I am trying out in test mode now.  More later!
>> 
>> JT
>> 
>> 
>>> On 21 Dec 2025, at 20:50, Beyer, Christoph <christoph.beyer@xxxxxxx> wrote:
>>> 
>>> Hi Jeff,
>>> 
>>> I think for steering a ranking impression in the job would be the apropriate mean ... 
>>> 
>>> 
>>> best
>>> christoph
>>> 
>>> -- 
>>> Christoph Beyer
>>> DESY Hamburg
>>> IT-Department
>>> 
>>> Notkestr. 85
>>> Building 02b, Room 009
>>> 22607 Hamburg
>>> 
>>> phone:+49-(0)40-8998-2317
>>> mail: christoph.beyer@xxxxxxx
>>> 
>>> ----- UrsprÃngliche Mail -----
>>> Von: "Jeff Templon" <templon@xxxxxxxxx>
>>> An: "HTCondor-Users Mail List" <htcondor-users@xxxxxxxxxxx>
>>> Gesendet: Sonntag, 21. Dezember 2025 16:55:51
>>> Betreff: [HTCondor-users] Slot weights
>>> 
>>> Hi,
>>> 
>>> I am looking to use the SLOT_WEIGHT both to steer high-memory jobs to high-memory machines, and as well weight the usage of high memory jobs more than those of low memory, to make the distribution of slots to users more fair.
>>> 
>>> HOWEVER:
>>> 
>>> Enable use of the condor_negotiator-side resource consumption policy, allocating the job-requested number of cores to the dynamic slot, and use SLOT_WEIGHT to assess the user usage that will affect user priority by the number of cores allocated. Note that the only attributes valid within the SLOT_WEIGHT expression are Cpus, Memory, and disk. This must the set to the same value on all machines in the pool.
>>> 
>>> Really: the same value on all machines?  Why?  Or do I read this wrong? 
>>> 
>>> JT
>>> 
>>> 
>>> _______________________________________________
>>> HTCondor-users mailing list
>>> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
>>> subject: Unsubscribe
>>> 
>>> The archives can be found at: https://www-auth.cs.wisc.edu/lists/htcondor-users/
>>> 
>>> _______________________________________________
>>> HTCondor-users mailing list
>>> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
>>> subject: Unsubscribe
>>> 
>>> The archives can be found at: https://www-auth.cs.wisc.edu/lists/htcondor-users/
>> 
> 


_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe

The archives can be found at: https://www-auth.cs.wisc.edu/lists/htcondor-users/