Skip to content
Snippets Groups Projects
  1. Oct 16, 2009
    • Iustin Pop's avatar
      Start using the utilisation scores in balancing · ee9724b9
      Iustin Pop authored
      This enables the per-node load/total available capacity scores to be
      used in balancing. Note that the total available capacity is currently
      fixed at zero and cannot be changed by the user.
      ee9724b9
    • Iustin Pop's avatar
      Add loading and processing of utilisation data · aa8d2e71
      Iustin Pop authored
      This patch adds loading and processing the utilisation data during
      instance moves. While the data is not yet used, it is correctly modified
      by instance changes between nodes.
      
      hbal has the new ‘-U’ command line argument for this. The format of the
      file is simply instance name and the four stats, space-separated.
      aa8d2e71
    • Iustin Pop's avatar
      Add an option to input utilisation data · 4f83a560
      Iustin Pop authored
      4f83a560
    • Iustin Pop's avatar
      Merge the Node.setPri and Node.addCpus functions · a488a217
      Iustin Pop authored
      The latter is only used right after the former in the Loader module, and
      we'll need more of this 'update not with the data of this instance'
      functionality (which is different than addPri where all information must
      be updated).
      
      The patch also changes the signature of Node.setSec (to remain
      consistent with setPri).
      a488a217
    • Iustin Pop's avatar
      Move some utility functions to Utils.hs · 5b763470
      Iustin Pop authored
      These were already duplicate (Text and Simu) and we need tryRead in more places.
      5b763470
    • Iustin Pop's avatar
      Show the load on nodes in node lists · 183a9c3d
      Iustin Pop authored
      The strange printf usage is due to some limitation (it seems) in ghc for
      very long argument lists. The whole printout should be rewritten later.
      183a9c3d
  2. Oct 15, 2009
  3. Oct 14, 2009
  4. Oct 12, 2009
  5. Oct 08, 2009
  6. Oct 02, 2009
  7. Sep 30, 2009
    • Iustin Pop's avatar
      Change ExtLoader to only handle I/O errors · 1cf97474
      Iustin Pop authored
      Due to the Control.Exception changes between 6.8 and 6.10, using it
      portably is difficult. Since we're only interested in handling I/O
      errors, we can use prelude's catch and not have to deal with
      Control.Exception at all.
      
      The use in Luxi.hs where we just use bracket is fine across the two
      versions, so we keep that.
      1cf97474
  8. Sep 29, 2009
  9. Sep 28, 2009
    • Iustin Pop's avatar
      Turn on, and fix, more warnings · fbb95f28
      Iustin Pop authored
      The Makefile was intented to be -Wall and not simply -W, but I missed
      that. This enables more warnings and also enables -Werror (except for
      the tests).
      fbb95f28
    • Iustin Pop's avatar
      Brown bag fix: invert a test · 685f5bc6
      Iustin Pop authored
      During testing I used the test inversely to see it triggers correctly,
      and committed by mistake the inverted test. Fixing it.
      685f5bc6
    • Iustin Pop's avatar
      Add support for building without curl · 45ab6a8d
      Iustin Pop authored
      Since curl is not always needed (e.g. when only using luxi or less
      likely file backends only) and is also not always available, it is
      useful for building without it. This of course disabled the RAPI
      backend.
      
      This patch changes ExtLoader to build with the ‘-cpp’ option which makes
      ghc run it through cpp first; and based on whether ‘NO_CURL’ is defined
      or not, this toggles RAPI/curl inclusion. The patch also removes the
      import of Rapi in QC.hs since it's not actually used in tests.
      
      Invoking make as ‘make HEXTRA=-DNO_CURL’ is enough to trigger the new
      build mode.
      45ab6a8d
Loading