1. 07 Jan, 2014 1 commit
  2. 06 Jan, 2014 2 commits
    • Morris Jette's avatar
      Reset job priority on manual resume · 65d9196c
      Morris Jette authored
      If a job is explicitly suspended, its priority is set to zero.
      This resets the priority when requeued and also documents that
      if the job is requeued (e.g. due to a node failure), then it
      is placed in a held state.
      65d9196c
    • Morris Jette's avatar
      Correct job RunTime if requeued from suspend state · bc3d8828
      Morris Jette authored
      Without this patch, the job's RunTime includes its RunTime from
      before it's prior suspend (i.e. the job's full RunTime rather than
      just the RunTime of the requeued job).
      bc3d8828
  3. 27 Dec, 2013 1 commit
    • Filip Skalski's avatar
      Fix sched/backfill bug that could starve jobs · 2bae8bd6
      Filip Skalski authored
      Hello,
      
      I think I found another bug in the code (I'm using 2.6.3 but I checked the 2.6.5 and 14.03 versions and it's the same there).
      
      In file sched/backfill/backfill.c:
      
      1)
      _add_reservation function, from lines 1172:
      
      if (placed == true) {
              j = node_space[j].next;
              if (j && (end_reserve < node_space[j].end_time)) {
                      /* insert end entry record */
                      i = *node_space_recs;
                      node_space[i].begin_time = end_reserve;
                      node_space[i].end_time = node_space[j].end_time;
                      node_space[j].end_time = end_reserve;
                      node_space[i].avail_bitmap =
                              bit_copy(node_space[j].avail_bitmap);
                      node_space[i].next = node_space[j].next;
                      node_space[j].next = i;
                      (*node_space_recs)++;
              }
              break;
      }
      I draw a picture with `node_space` state after 2 iterations (see attachment).
      
      In case where the new reservation i...
      2bae8bd6
  4. 23 Dec, 2013 2 commits
  5. 20 Dec, 2013 2 commits
  6. 19 Dec, 2013 1 commit
    • Morris Jette's avatar
      scontrol show job - Correct NumNodes value · b31e2176
      Morris Jette authored
      It has been changed to improve the calculated value for pending
      jobs and use the actual node count value for jobs that have been
      started (including suspended, completed, etc.)
      bug 549
      b31e2176
  7. 18 Dec, 2013 1 commit
  8. 17 Dec, 2013 2 commits
  9. 16 Dec, 2013 1 commit
  10. 14 Dec, 2013 1 commit
  11. 13 Dec, 2013 2 commits
  12. 12 Dec, 2013 1 commit
    • Morris Jette's avatar
      slurmstepd variable initialization · 06b41cdc
      Morris Jette authored
      Without this patch, free() is called on a random memory location
      (i.e. whatever is on the stack), which can result in slurmstepd
      dying and a completed job not being purged in a timely fashion.
      06b41cdc
  13. 11 Dec, 2013 2 commits
  14. 09 Dec, 2013 2 commits
    • Morris Jette's avatar
      Modify squeue to support longer job ID values · 17f27007
      Morris Jette authored
      This is needed for job arrays with discontiguous task ID values
      (e.g. "123_[1,3,5,...99999]")
      17f27007
    • Morris Jette's avatar
      Improve sview support for job arrays · d998640f
      Morris Jette authored
      Previously job arrays were only listed with their native job ID
      (e.g. 123_0 listed as 123, 123_1 as 124, etc). Now lists the job ID
      using both format (e.g. "123_1 (124)"). The same format is used
      for job step IDs (e.g. "123_1.2 (124.2)").
      d998640f
  15. 08 Dec, 2013 1 commit
  16. 07 Dec, 2013 2 commits
  17. 06 Dec, 2013 2 commits
  18. 05 Dec, 2013 1 commit
  19. 04 Dec, 2013 1 commit
  20. 03 Dec, 2013 3 commits
    • Morris Jette's avatar
      Improve REQUEST_JOB_INFO_SINGLE RPC performance · 80d3b343
      Morris Jette authored
      Use hash function to locate job records for improved performance.
      80d3b343
    • Morris Jette's avatar
      Improve REQUEST_JOB_INFO_SINGLE RPC performance · 14bcfe58
      Morris Jette authored
      Change partition write lock to a read lock as we use a different
      mechanism for hidden partitions in getting individual jobs.
      14bcfe58
    • Morris Jette's avatar
      Correct job dependency string · 08265c03
      Morris Jette authored
      Correct logic returning remaining job dependencies in job information
      reported by scontrol and squeue. Eliminates vestigial descriptors with
      no job ID values (e.g. "afterany"). As depdencies are removed, the
      job ID values were removed from the strings, but not the descriptors.
      This eliminates both. It also checks the full job ID to make sure we do
      not remove "afterany:1234" when job "123" completes.
      08265c03
  21. 02 Dec, 2013 2 commits
  22. 29 Nov, 2013 2 commits
  23. 27 Nov, 2013 1 commit
  24. 26 Nov, 2013 1 commit
  25. 14 Nov, 2013 1 commit
  26. 13 Nov, 2013 1 commit
    • Morris Jette's avatar
      Corrections to advanced reservation logic with overlapping jobs. · d6954b77
      Morris Jette authored
      This might have worked fine for core reservations or when there
      are sufficient idle nodes to use, the the select_g_resv_test()
      function clears the node bitmap for nodes that it can not use
      and the reservation create logic did not restore that bitmap
      after a failed resource selection attempt. This logic restores
      the node bitmap on a failed call to select_g_resv_test() so we
      can add nodes to the bitmap of available nodes rather than having
      it repeatedly cleared.
      The logic also adds some performance enhancements that I will
      add to in the next commit.
      d6954b77
  27. 08 Nov, 2013 1 commit