So you want a purely fractional usage of the cluster. That's hard to do
via fairshare or with out fairshare as the scheduler will usually fill
up all the nodes with the top priority job. If you don't have fairshare
running or any historical data it will revert to FIFO. So which ever
user got in first will go first, no matter how many jobs there are.
Fairshare can accomplish what you want above but it takes time for it to
settle into a steady state due to behavior above. If you chart the
usage over time with fairshare you will see it even out, but at any
given immediate time you will have one user dominating over another one.
You could probably achieve a pure fractional usage model by utilizing
hard limits for each user in terms of number of cores. The problem is
that you will leave parts of the cluster open and idle. If that is fine
then I recommend setting hard limits for each user.
-Paul Edmon-
On 4/12/2022 8:55 AM, Chagai Nota wrote:
Hi Loris
Thanks for your answer.
I tired to configure it and I didn't get desired results.
This is my configuration:
PriorityType=priority/multifactor
PriorityDecayHalfLife=0
PriorityUsageResetPeriod=DAILY
PriorityFavorSmall=yes
PriorityWeightFairshare=100000
PriorityWeightAge=0
PriorityWeightPartition=0
PriorityWeightJobSize=100000
PriorityMaxAge=1-0
PriorityCalcPeriod=1
The desired result its that when 2 users A and B send jobs they will have equal
number of jobs to each of them.
Lets say all grid have 12 slots so user A and B each one of them will get 6,
but when happen that user A get 12 and after sometime user B get 12
-----Original Message-----
From: slurm-users <slurm-users-boun...@lists.schedmd.com> On Behalf Of Loris
Bennett
Sent: Tuesday, April 12, 2022 12:06 PM
To: Slurm User Community List <slurm-users@lists.schedmd.com>
Subject: Re: [slurm-users] non-historical scheduling
CAUTION: This email originated from outside of the organization. Do not click
links or open attachments unless you can confirm the sender and know the
content is safe.
Hi Chagai,
Chagai Nota
<https://urldefense.proofpoint.com/v2/url?u=http-3A__chagai.nota-40altair-2Dsemi.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=jm7M7VuAC03WZiP8QPjQXbsP_SRYyhc66dx6T2rYKGk&m=mC6-yDte_BkF_egdAiZhLfKbIi-zhwylR5b6AOgnfEo&s=aOWXcTJqFuopg_IznzSJXY_GKgxYv-0FAFrZrQBDpyA&e=>
writes:
Hi
I would like to ask if there is any option that slurm scheduler will consider
only running jobs and not historical data.
We don't care about how many jobs users was running in the past but only the
current usage.
Look at
https://urldefense.proofpoint.com/v2/url?u=https-3A__slurm.schedmd.com_priority-5Fmultifactor.html&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=jm7M7VuAC03WZiP8QPjQXbsP_SRYyhc66dx6T2rYKGk&m=mC6-yDte_BkF_egdAiZhLfKbIi-zhwylR5b6AOgnfEo&s=ez1DlsO7KAqb6GyBvfk6PoSMDxjckA26SrtvBRwOPtc&e=
You probably need to set
PriorityDecayHalfLife=0
and then, say,
PriorityUsageResetPeriod=DAILY
Cheers,
Loris
Thanks
Chagai Nota
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
------------------------
Important Notice: This email message and any attachments thereto are
confidential and/or privileged and/or subject to privacy laws and are
intended only for use by the addressee(s) named above. If you are not the
intended addressee, you are hereby kindly notified that any dissemination,
distribution, copying or use of this email and any attachments thereto is
strictly prohibited. If you have received this email in error, kindly delete it
from your computer system and notify us at the telephone number or email
address appearing above. The writer asserts in respect of this message and
attachments all rights for confidentiality, privilege or privacy to the fullest
extent permitted by law.
--
Dr. Loris Bennett (Herr/Mr)
ZEDAT, Freie Universität Berlin Email loris.benn...@fu-berlin.de
----------
This email has been scanned for spam and viruses by Proofpoint Essentials.
Visit the following link to report this email as spam:
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Feu1.proofpointessentials.com%2Findex01.php%3Fmod_id%3D11%26mod_option%3Dlogitem%26mail_id%3D1649754490-sOxgKUMnXxFb%26r_address%3Dchagai.nota%2540altair-semi.com%26report%3D1&data=04%7C01%7C%7Cd5bb86cab5754f0b297008da1c63f87f%7Cd97b0f906803449a923b749ca7eedb2b%7C0%7C0%7C637853512947856000%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=I%2FKmvMAweaHTndtIydlYiBJqyylKa58JlSOYCXSzJnI%3D&reserved=0
________________________________
Important Notice: This email message and any attachments thereto are
confidential and/or privileged and/or subject to privacy laws and are intended
only for use by the addressee(s) named above. If you are not the intended
addressee, you are hereby kindly notified that any dissemination, distribution,
copying or use of this email and any attachments thereto is strictly
prohibited. If you have received this email in error, kindly delete it from
your computer system and notify us at the telephone number or email address
appearing above. The writer asserts in respect of this message and attachments
all rights for confidentiality, privilege or privacy to the fullest extent
permitted by law.