Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Slot weights
- Date: Tue, 6 Jan 2026 12:57:07 +0100
- From: Jeff Templon <templon@xxxxxxxxx>
- Subject: Re: [HTCondor-users] Slot weights
Hi All,
Happy New Year!
> On 22 Dec 2025, at 20:14, Todd L Miller via HTCondor-users <htcondor-users@xxxxxxxxxxx> wrote:
>
>> I am looking to use the SLOT_WEIGHT both to steer high-memory jobs to high-memory machines,
>
> As far as I know, SLOT_WEIGHT is an accounting tool, not a scheduling one: it has no immediate effect on which job is selected to run on which resource. The effect is indirect, as a job which runs for the same amount of time in a heavier slot will reduce the submitter's priority by more, so that submitter will be less likely to be the first considered for the next available resource.
We mean the same thing. Your indirect effect is exactly the effect I was looking for, so I didnât see it as indirect, I can see that from your perspective.
>
> You _can_ use RANK to indicate that the high-memory machines prefer high-memory jobs, but the effect of RANK is very small in pools without pre-emption (which is turned off by default) -- RANK only applies if more than (newly free) resource matches the same job in the same negotiation cycle.
>
> You can abuse the "newly free" caveat to make it more likely for high-memory machines to run only high-memory jobs (without them refusing to run low memory jobs at all) via a START expression which requires high-memory jobs for some amount of time after the slot goes idle. If
> you have more than one AP in your pool, you can reduce CLAIM_WORKLIFE on the high-memory to force renegotiation more often; this should have the effect of spreading high-memory slots more evenly among high-memory submitters.
Thanks for this ; weâll see how things work with whatâs implemented so far, maybe itâs enough. Interesting to know IIC that SLOT_WEIGHT is not automatically considered in matchmaking, Iâdâve (naively) thought that the negotiator would prefer slots with lower weights.
JT
> -- ToddM
> _______________________________________________
> 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/