<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>