1. 14 Jul, 2015 6 commits
  2. 13 Jul, 2015 4 commits
    • Morris Jette's avatar
      Merge branch 'slurm-14.11' · 69712df5
      Morris Jette authored
      69712df5
    • Morris Jette's avatar
      Don't purge completing job · c7226213
      Morris Jette authored
      Old logic could purge a job record for a job that was in
        completing state (if there was also a lot of agent threads).
        This change prevents purging job records for completing jobs.
      c7226213
    • Morris Jette's avatar
      job array update results in bad task ID · 29a52f60
      Morris Jette authored
      Fix to job array update logic that can result in a task ID of 4294967294.
      To reproduce:
      $ sbatch --exclusive -a 1,3,5 tmp
      Submitted batch job 11825
      $ scontrol update jobid=11825_[3,4,5] timelimit=3
      $ squeue
                   JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)
                 11825_3     debug      tmp    jette PD       0:00      1 (None)
                 11825_4     debug      tmp    jette PD       0:00      1 (None)
                 11825_5     debug      tmp    jette PD       0:00      1 (None)
                   11825     debug      tmp    jette PD       0:00      1 (Resources)
      A new job array entry was created for task ID 4 and the "master" job
      array record now has a task ID of 4294967294.
      The logic with the bug was using the wrong variable in a test.
      bug 1790
      29a52f60
    • Gene Soudlenkov's avatar
      Fix segfault when updating timelimit on jobarray task. · 0560d8b2
      Gene Soudlenkov authored
      Bug 1799
      0560d8b2
  3. 11 Jul, 2015 2 commits
  4. 10 Jul, 2015 16 commits
  5. 09 Jul, 2015 8 commits
    • Morris Jette's avatar
      Change slurmctld threads count against limit · ad9c2413
      Morris Jette authored
      The slurmctld logic throttles some RPCs so that only one of them
      can execute at a time in order to reduce contention for the job,
      partition and node locks (only one of the effected RPCs can execute
      at any time anyway and this lets other RPC types run). While an
      RPC is stuck in the throttle function, do not count that thread
      against the slurmctld thread limit.
      but 1794
      ad9c2413
    • Morris Jette's avatar
      Fix CLANG reported issues · a23bbf42
      Morris Jette authored
      Some dead assignments, memory leaks, unitialized variables, etc.
      a23bbf42
    • Morris Jette's avatar
      Bug fixes in powercapping logic · 44619ea0
      Morris Jette authored
      Changed spaces to tabs at start of lines.
      Minor changes to some formatting.
      Added the new files to the RPM (slurm.spec file).
      Prevent memory leak of "l_name" variable if which_power_layout()
          function is called more than once.
      Initialize "cpufreq" variable in powercap_get_cpufreq() function.
      Array "tmp_max_watts_dvfs" could be NULL and used if "max_watts_dvfs" variable is
          NULL in powercap_get_node_bitmap_maxwatts_dvfs()
      Variable "tmp_pcap_cpu_freq" could be used with uninitialized value in function
          _get_req_features()
      Variable "tmp_max_watts" could be used with uninitialized value in function
          _get_req_features()
      Array "tmp_max_watts_dvfs" could be used with uninitialized value in function
          _get_req_features()
      Array "allowed_freqs" could be NULL and used if "node_record_count" variable is
          zero in powercap_get_job_nodes_numfreq()
      Overwriting a memory buffer header (especially with different data types) is
          just asking for something bad to happen. This code from function
          powercap_get_job_nodes_numfreq():
      			allowed_freqs = xmalloc(sizeof(int)*((int)num_freq+2));
      			allowed_freqs[-1] = (int) num_freq;
      Clean up memory on slurmctld shutdown
      44619ea0
    • Yiannis Georgiou's avatar
    • Yiannis Georgiou's avatar
      Fix bugs in powercapping logic · 409c9843
      Yiannis Georgiou authored
      [PATCH 4/5] correct bugs in powercapping logic and fix function for
       optimal frequency
      409c9843
    • Yiannis Georgiou's avatar
      Adapt power_cpufreq layout and set CurrentCoreWatts · 3f09a11c
      Yiannis Georgiou authored
      [PATCH 3/5] Adapt the power_cpufreq layout and set the
       CurrentCoreWatts value based on the selection of the
       resources and the choice of CPU Frequency.
       CurrentCoreWatts are set to IdleWatts when one or more
       jobs occupy other resources of the node and set to 0
       when the node is free. The above algorithm is activated
       only when powercapping is active.
      3f09a11c
    • Yiannis Georgiou's avatar
      Add powercapping logic to use power_cpufreq · 684d996d
      Yiannis Georgiou authored
      [PATCH 2/5] Add powercapping logic to make use of the power_cpufreq
       layout. The new logic allows the usage of only one of
       the existing layouts either power or power_cpufreq to
       take into account for the power adaptive scheduling. It
       considers the cpu frequency possibilities of the nodes
       as populated within the layouts along with the jobs'
       choices for allowed cpu frequencies for their
       execution. Based on the available power budget and the
       cluster's current maximum consumption it calculates if
       the job can be allocated and if yes with which allowed
       CPU frequency.
      684d996d
    • Danny Auble's avatar
      Fix NULL pointer issue · 2f879270
      Danny Auble authored
      2f879270
  6. 08 Jul, 2015 4 commits