<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><tt>Almost there, add in </tt>PriorityFlags=FAIR_TREE</p>
    <p>If you missed it, check out
      <a class="moz-txt-link-freetext" href="https://slurm.schedmd.com/fair_tree.html">https://slurm.schedmd.com/fair_tree.html</a><br>
    </p>
    -b<br>
    <br>
    <div class="moz-cite-prefix">On 11/30/2017 12:10 PM, Bruno Santos
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CANUurQpebBkUKtmkjhD0YaFV2yVym2nYaPZBdCL3zGkav-s3=w@mail.gmail.com">
      <div dir="ltr">Hi everyone,
        <div><br>
        </div>
        <div>I have recently set-up slurm to use priority/multifactor
          giving fair share the major weight. </div>
        <div><br>
        </div>
        <div>Since the queue is up I have submitted about 1500 small
          jobs and just today 2 other users jumped on the queue with
          their first job. However, it seems that slurm is not taking
          into account the fair share factor as they still went to the
          bottom of the queue. </div>
        <div><br>
        </div>
        <div>Looking at sprio it looks like the FAIRSHARE is still 0 for
          all of us. Shouldn't they be getting a much higher for that? </div>
        <div>
          <div>JOBID  Â  Â USER  Â PRIORITY  Â  Â  Â  AGE  FAIRSHARE  Â 
            JOBSIZE  PARTITION  Â  Â  Â  QOS  Â  Â  Â  NICE  Â  Â  Â  Â  Â  TRES</div>
        </div>
        <div>
          <div>7435  bsantos  Â  Â  Â 1770  Â  Â  Â  Â 40  Â  Â  Â  Â  0  Â  Â  Â 
            731  Â  Â  Â 1000  Â  Â  Â  Â  0  Â  Â  Â  Â  Â 0  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â </div>
          <div>7436  bsantos  Â  Â  Â 1770  Â  Â  Â  Â 40  Â  Â  Â  Â  0  Â  Â  Â 
            731  Â  Â  Â 1000  Â  Â  Â  Â  0  Â  Â  Â  Â  Â 0  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â </div>
          <div>7445 pruperao  Â  Â  Â 1735  Â  Â  Â  Â 15  Â  Â  Â  Â  0  Â  Â  Â 
            721  Â  Â  Â 1000  Â  Â  Â  Â  0  Â  Â  Â  Â  Â 0  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â </div>
          <div>7446  Â  fkhan  Â  Â  Â 1706  Â  Â  Â  Â 14  Â  Â  Â  Â  0  Â  Â  Â 
            692  Â  Â  Â 1000  Â  Â  Â  Â  0  Â  Â  Â  Â  Â 0  </div>
        </div>
        <div><br>
        </div>
        <div>And the relevant slurm.conf looks like this:</div>
        <div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex"># JOB PRIORITY<br>
            #PriorityFlags=<br>
            PriorityType=priority/multifactor<br>
            PriorityDecayHalfLife= 14-0<br>
            #PriorityCalcPeriod=<br>
            PriorityFavorSmall= YES<br>
            PriorityMaxAge= 7-0<br>
            #PriorityUsageResetPeriod=<br>
            PriorityWeightAge= 1000<br>
            PriorityWeightFairshare= 10000<br>
            PriorityWeightJobSize= 1000<br>
            PriorityWeightPartition= 1000<br>
            PriorityWeightQOS=0<br>
            FairShareDampeningFactor=5</blockquote>
          <div> </div>
        </div>
        <div>Best,</div>
        <div>Bruno </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>