|
This is the Fermilab slotweight _expression_
[root@fnpc9105 ~]# condor_config_val SLOT_WEIGHT
ifThenElse( (Cpus >= ceiling(Memory/2048.0)), Cpus, Memory/2048.0)
Whatever you do make sure that there's absolutely no way your SLOT_WEIGHT can ever be undefined, very ugly things happen if it is.
Steve Timm
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Jeff Templon <templon@xxxxxxxxx>
Sent: Sunday, December 21, 2025 2:59 PM To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx> Subject: Re: [HTCondor-users] Slot weights [EXTERNAL] – This message is from an external sender
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://urldefense.proofpoint.com/v2/url?u=https-3A__www-2Dauth.cs.wisc.edu_lists_htcondor-2Dusers_&d=DwIGaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=10BCTK25QMgkMYibLRbpYg&m=3sNnPjbdt8LERv0U2XuEKmOqnQCPMUlwzTSki993rGJQ3JEsjFO79q8nGf-H2EY1&s=elhGWTeEvVgEWgRdrVRH1b8oK49cPyryLSLmW-yIg2s&e= > > _______________________________________________ > 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://urldefense.proofpoint.com/v2/url?u=https-3A__www-2Dauth.cs.wisc.edu_lists_htcondor-2Dusers_&d=DwIGaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=10BCTK25QMgkMYibLRbpYg&m=3sNnPjbdt8LERv0U2XuEKmOqnQCPMUlwzTSki993rGJQ3JEsjFO79q8nGf-H2EY1&s=elhGWTeEvVgEWgRdrVRH1b8oK49cPyryLSLmW-yIg2s&e= _______________________________________________ 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://urldefense.proofpoint.com/v2/url?u=https-3A__www-2Dauth.cs.wisc.edu_lists_htcondor-2Dusers_&d=DwIGaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=10BCTK25QMgkMYibLRbpYg&m=3sNnPjbdt8LERv0U2XuEKmOqnQCPMUlwzTSki993rGJQ3JEsjFO79q8nGf-H2EY1&s=elhGWTeEvVgEWgRdrVRH1b8oK49cPyryLSLmW-yIg2s&e= |