<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">I recall there was a built in tool named seff (slurm efficiency), not sure if it is still maintained, but here is a link from my bookmark collection related to some other slurm efficiency tool:</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">rse. princeton. edu/2020/01/monitoring-slurm-efficiency-with-reportseff/</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">On the automation part, it would be pretty easy to do regularly(daily?) stats of jobs for that period of time and dump them into an sql database. </div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Then a select statement where cpu_efficiency is less than desired value and get the list of not so nice users on which you can apply whatever warnings/limits you want to do.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Cheers,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Cristian<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br clear="all"></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 11, 2023 at 10:59 AM Loris Bennett <<a href="mailto:loris.bennett@fu-berlin.de">loris.bennett@fu-berlin.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Diego Zuccato <<a href="mailto:diego.zuccato@unibo.it" target="_blank">diego.zuccato@unibo.it</a>> writes:<br>
<br>
> IIUC Loris is looking for a method to do that automatically.<br>
> Since there is a "used memory" metric, a corresponding "wasted memory"<br>
> (or "wasted CPU") one with corresponding weights in priority<br>
> calculations could be useful.<br>
<br>
Yes, an automated solution is indeed what I am after.<br>
<br>
A "naughty" list wouldn't really help, since there is quite a spectrum.<br>
I would also need at least a "naive" list, an "erratic" list, and<br>
probably a thankfully fairly short "recalcitrant" list.<br>
<br>
Cheers,<br>
<br>
Loris<br>
<br>
> Diego<br>
><br>
> Il 11/10/2023 09:54, Williams, Gareth (IM&T, Black Mountain) ha scritto:<br>
>> Hi Loris, You could add them to a naughty list (please use a better<br>
>> term...) and apply a fixed commensurate priority penalty.  That is<br>
>> simple (and can apply to a range of unpreferred behaviour) and<br>
>> provides a clear motivation to change. Could be done with QOS unless<br>
>> you already use that in a conflicting way.<br>
>> Gareth<br>
>> Get Outlook for Android <<a href="https://aka.ms/ghei36" rel="noreferrer" target="_blank">https://aka.ms/ghei36</a>><br>
>> ------------------------------------------------------------------------<br>
>> *From:* slurm-users <<a href="mailto:slurm-users-bounces@lists.schedmd.com" target="_blank">slurm-users-bounces@lists.schedmd.com</a>> on<br>
>> behalf of Loris Bennett <<a href="mailto:loris.bennett@fu-berlin.de" target="_blank">loris.bennett@fu-berlin.de</a>><br>
>> *Sent:* Wednesday, October 11, 2023 5:26:38 PM<br>
>> *To:* Slurm Users Mailing List <<a href="mailto:slurm-users@lists.schedmd.com" target="_blank">slurm-users@lists.schedmd.com</a>><br>
>> *Subject:* [slurm-users] Fairshare: Penalising unused memory rather<br>
>> than used memory?<br>
>> Hi,<br>
>> We have an increasing number of users who are unable (or unwilling)<br>
>> to<br>
>> estimate their memory requirements accurately.  We include memory in our<br>
>> calculation of fairshare usage and thus penalise everyone who requests<br>
>> large amounts of memory, whether it is needed or not.<br>
>> Therefore I would be interested in knowing whether one can take into<br>
>> account the *requested but unused memory* when calculating usage.  Is<br>
>> this possible?<br>
>> Cheers,<br>
>> Loris<br>
>> -- Dr. Loris Bennett (Herr/Mr)<br>
>> ZEDAT, Freie Universität Berlin<br>
>> <br>
-- <br>
Dr. Loris Bennett (Herr/Mr)<br>
ZEDAT, Freie Universität Berlin<br>
<br>
</blockquote></div></div>