<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I read that link. If Fair Share is so rational (low users get high scores, and high users get low scores), then why do ajoel's and xtsao's Fair Share scores differ this much? Their Level Fair Share scores make more sense.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline !important">>
sray ajoel 1 0.050000 42449 0.069465 0.137396 0.363913 0.018182</span><br style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)">
<span style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline !important">>
sray xtsao 1 0.050000 41734 0.068296 0.135083 0.370143 0.027273</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline !important"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline !important">Which
brings me back to my OP: How is Fair Share calculated?</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> slurm-users <slurm-users-bounces@lists.schedmd.com> on behalf of Renfro, Michael <Renfro@tntech.edu><br>
<b>Sent:</b> Wednesday, December 2, 2020 10:32 AM<br>
<b>To:</b> Slurm User Community List <slurm-users@lists.schedmd.com><br>
<b>Subject:</b> Re: [slurm-users] FairShare</font>
<div> </div>
</div>
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
{color:#0563C1;
text-decoration:underline}
span.x_EmailStyle19
{font-family:"Calibri",sans-serif;
color:windowtext}
span.x_apple-converted-space
{}
.x_MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
{}
-->
</style>
<div lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal">Yesterday, I posted <a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.rc.fas.harvard.edu%2Fkb%2Ffairshare%2F&data=04%7C01%7Crenfro%40tntech.edu%7Cc23f89dcb97743ee5eda08d8960679ed%7C66fecaf83dc04d2cb8b8eff0ddea46f0%7C1%7C1%7C637424301864169250%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=%2FnB4ivZeDNrVZiaeupFnAj86oQLOhMu1%2FK6YiuBxTB8%3D&reserved=0" title="Original URL:
https://docs.rc.fas.harvard.edu/kb/fairshare/
Click to follow link.">
<span style="color:#0563C1">https://docs.rc.fas.harvard.edu/kb/fairshare/</span></a><span class="x_apple-converted-space"><span style="color:black"> </span></span>in response to a similar question. If you want the simplest general explanation for FairShare
values, it's that they range from 0.0 to 1.0, values above 0.5 indicate that account or user has used less than their share of the resource, and values below 0.5 indicate that that account or user has used more than their share of the resource.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Since all your users have the same RawShares value and are entitled to the same share of the resource, you can see that bdehaven has the most RawUsage and the lowest FairShare value, followed by ajoel and xtsao with almost identical RawUsage
and FairShare, and finally ahantau with very little usage and the highest FairShare value.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">We use FairShare here as the dominant factor in priorities for queued jobs: if you're a light user, we bump up your priority over heavier users, and your job starts quicker than those for heavier users, assuming all other job attributes
are equal.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">All these values are relative: in our setup, we'd bump ahantau's pending jobs ahead of the others, and put bdehaven's at the end. But if root needed to run a job outside the sray account, they'd get an enormous bump ahead since the sray
account has used far more than its fair share of the resource.</p>
<p class="x_MsoNormal"> </p>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="x_MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt; color:black">From:
</span></b><span style="font-size:12.0pt; color:black">slurm-users <slurm-users-bounces@lists.schedmd.com><br>
<b>Date: </b>Wednesday, December 2, 2020 at 11:23 AM<br>
<b>To: </b>slurm-users@lists.schedmd.com <slurm-users@lists.schedmd.com><br>
<b>Subject: </b>Re: [slurm-users] FairShare</span></p>
</div>
<p align="center" style="text-align:center; background:white"><b><span style="font-size:12.0pt; color:red; background:white">External Email Warning</span></b></p>
<p align="center" style="margin-right:12.0pt; margin-bottom:0in; margin-left:12.0pt; margin-bottom:.0001pt; text-align:center; background:white">
<b><span style="font-size:12.0pt; color:red">This email originated from outside the university. Please use caution when opening attachments, clicking links, or responding to requests.</span></b></p>
<div class="x_MsoNormal" align="center" style="text-align:center">
<hr size="0" width="100%" align="center">
</div>
<div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">I've read the manual and I re-read the other link. What they boil down to is Fair Share is calculated based on a recondite "rooted plane tree", which I do not have the background in discrete
math to understand.</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">I'm hoping someone can explain it so my little kernel can understand.</span></p>
</div>
<div class="x_MsoNormal" align="center" style="text-align:center">
<hr size="0" width="100%" align="center">
</div>
<div id="x_divRplyFwdMsg">
<p class="x_MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> slurm-users <slurm-users-bounces@lists.schedmd.com> on behalf of Micheal Krombopulous <MichealKrombopulous@outlook.com><br>
<b>Sent:</b> Wednesday, December 2, 2020 9:32 AM<br>
<b>To:</b> slurm-users@lists.schedmd.com <slurm-users@lists.schedmd.com><br>
<b>Subject:</b> [slurm-users] FairShare</span> </p>
<div>
<p class="x_MsoNormal"> </p>
</div>
</div>
<div>
<div>
<p class="x_MsoNormal" style="margin-bottom:12.0pt">Can someone tell me how to calculate fairshare (under fairtree)? I can't figure it out. I would have thought it would be the same score for all users in an account. E.g., here is one of my accounts:<br>
<br>
Account User RawShares NormShares RawUsage NormUsage EffectvUsage LevelFS FairShare<br>
-------------------- ---------- ---------- ----------- ----------- ----------- ------------- ---------- ----------<br>
root 0.000000 611349 1.000000<br>
root root 1 0.076923 0 0.000000 0.000000 inf 1.000000<br>
sray 1 0.076923 30921 0.505582 0.505582 0.152147<br>
sray phedge 1 0.050000 0 0.000000 0.000000 inf 0.181818<br>
sray raab 1 0.050000 0 0.000000 0.000000 inf 0.181818<br>
sray benequist 1 0.050000 0 0.000000 0.000000 inf 0.181818<br>
sray bosch 1 0.050000 0 0.000000 0.000000 inf 0.181818<br>
sray rjenkins 1 0.050000 0 0.000000 0.000000 inf 0.181818<br>
sray esmith 1 0.050000 0 0.000000 0.000000 1.7226e+07 0.054545<br>
sray gheinz 1 0.050000 0 0.000000 0.000000 1.9074e+14 0.072727<br>
sray jfitz 1 0.050000 0 0.000000 0.000000 8.0640e+20 0.081818<br>
sray ajoel 1 0.050000 42449 0.069465 0.137396 0.363913 0.018182<br>
sray jmay 1 0.050000 0 0.000000 0.000000 inf 0.181818<br>
sray aferrier 1 0.050000 0 0.000000 0.000000 inf 0.181818<br>
sray bdehaven 1 0.050000 225002 0.367771 0.727420 0.068736 0.009091<br>
sray msmythe 1 0.050000 0 0.000000 0.000000 inf 0.181818<br>
sray gfink 1 0.050000 0 0.000000 0.000000 2.0343e+05 0.045455<br>
sray ahantau 1 0.050000 31 0.000051 0.000102 491.737549 0.036364<br>
sray hmiller 1 0.050000 0 0.000000 0.000000 inf 0.181818<br>
sray ttinker 1 0.050000 0 0.000000 0.000000 1.4798e+13 0.063636<br>
sray wcooper 1 0.050000 0 0.000000 0.000000 inf 0.181818<br>
sray xtsao 1 0.050000 41734 0.068296 0.135083 0.370143 0.027273<br>
sray xping 1 0.050000 0 0.000000 0.000000 1.9833e+24 0.090909<br>
<br>
</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>