1. 22 Jul, 2014 10 commits
    • Morris Jette's avatar
      Merge branch 'slurm-14.03' · 999b0009
      Morris Jette authored
      Conflicts:
      	NEWS
      999b0009
    • Morris Jette's avatar
      Document percs cold-start proceedure · 4bdf7df9
      Morris Jette authored
      4bdf7df9
    • Morris Jette's avatar
      switch/nrt backport table unload patches · 6cab30c3
      Morris Jette authored
      Unload job tables rather than windows at job end. The table unload
      also unloads job tables.
      6cab30c3
    • David Linden's avatar
      Size msg forward message size better · 702275a3
      David Linden authored
      The code in question is allocating a buffer to hold a header and a data payload then forwarding it on a socket.
      
      The first thinko is that it sizes the buffer based on the data payload, which won't be enough for the header+data.  For the second thinko, when it realizes there isn't enough room, it adds the data size to the _capacity_ of the buffer, effectively allocating twice as much memory as needed.  (Aesthetically, I dislike adjusting the 'size' field of the structure to declare the buffer is larger before the buffer is actually made larger, thus the 'new_size' variable.)  This patch corrects those thinkos.
      
      Motivation: As we all discovered with host parsing, xmalloc() of large data can be time-consuming, so avoiding it is preferred.  And in this case avoiding it for 2x the memory needed.  This is also a place where the xrealloc_nz() could be used, since the memory is immediately written into.  As you are probably aware, as peer counts creep into the thousands, this data payload creeps into the megabytes, so this can be a noticeable latency.
      
      An alternate implementation is to guess the max size of the header, and allocate header+data and hope the realloc isn't needed.  I don't do that for a couple reasons.  If the guess is wrong, the worst case is that realloc will end up copying the buffer (full size, yet not without the data payload in it) to a new larger buffer, and I really dislike that prospect.  Better is to assemble the small header, and let realloc copy the small buffer into the huge new space.
      702275a3
    • Morris Jette's avatar
      Modify buffer functions to not clear memory · 8b957b72
      Morris Jette authored
      Modify the src/common/pack.c functions to use the new memory
      management functions and not clear the memory allocated.
      8b957b72
    • Morris Jette's avatar
      Add xmalloc function not clearing memory · ac552e98
      Morris Jette authored
      Added new internal Slurm functions xmalloc_nz() and xrealloc_nz(), which do
      not initialize the allocated memory to zero for improved performance.
      ac552e98
    • Danny Auble's avatar
      Add the idea of CommitDelay to the slurmdbd.conf file. This will allow · ce1f2512
      Danny Auble authored
      super heavy systems to be able to only commit every once in a while instead
      of after every transaction.  This is much faster, but can introduce a very
      small window in which if something happens that makes the slurmdbd end
      irregularly some data loss is possible.
      ce1f2512
    • Danny Auble's avatar
      Revert patch 2447abf6 since we have found · 7fa636f4
      Danny Auble authored
      it is much faster than doing a commit every time.
      7fa636f4
    • Morris Jette's avatar
      Merge branch 'slurm-14.03' · 9421a69a
      Morris Jette authored
      9421a69a
    • Morris Jette's avatar
      switch/nrt - Do not explicitly unload windows · e119c55f
      Morris Jette authored
      switch/nrt - Do not explicitly unload windows for a job on termination,
      only unload its table (which automatically unloads its windows).
      e119c55f
  2. 21 Jul, 2014 13 commits
  3. 19 Jul, 2014 3 commits
  4. 18 Jul, 2014 14 commits