1. 30 Dec, 2010 1 commit
  2. 01 Dec, 2010 1 commit
  3. 06 Oct, 2010 1 commit
  4. 03 Sep, 2010 1 commit
    • Iustin Pop's avatar
      Add new CLI options for min gain during balancing · 4f807a57
      Iustin Pop authored
      Recent hbal seems to run many steps for small improvements (< 1e-3), so
      we should stop early in this case.
      
      We add a new option (-g), that will be used for the minimum gain during
      balancing. This check will only become active when the cluster score is
      below a threshold (--min-gain-limit), so as to not stop rebalances too
      early.
      4f807a57
  5. 25 Aug, 2010 1 commit
    • Iustin Pop's avatar
      Add a new option --save-cluster · 02da9d07
      Iustin Pop authored
      This option will in the future be used to serialize the cluster state in
      hbal and hspace after the rebalance/allocation steps.
      02da9d07
  6. 18 Jul, 2010 1 commit
    • Iustin Pop's avatar
      Allow '+' in node list fields · 6dfa04fd
      Iustin Pop authored
      When the field list is prefixed with a plus sign, this will extend the
      default field list, instead of replacing it entirely.
      6dfa04fd
  7. 18 May, 2010 1 commit
    • Iustin Pop's avatar
      Remove the noLimit values and always use limits · f4c0b8c5
      Iustin Pop authored
      This patch moves from allowing no-limits for disk/cpu ratios, and always
      use a real limit. For disk, it's simple since we use 0, which means no
      reservations for disks. For CPU, we set an (arbitrary) limit of 64 v/p,
      which should be reasonable as a default limit (it can be changed via the
      command line).
      f4c0b8c5
  8. 25 Feb, 2010 1 commit
  9. 23 Feb, 2010 2 commits
  10. 22 Feb, 2010 2 commits
  11. 12 Jan, 2010 1 commit
  12. 07 Jan, 2010 1 commit
    • Iustin Pop's avatar
      Switch the text file format to single-file · 16c2369c
      Iustin Pop authored
      This patch changes from the two separate files to a single file, with
      sections separated by a blank line. Currently only the node and instance
      data is accepted, later the cluster tags will be read too via this
      format.
      
      This makes all the programs accept the new format, but hscan doesn't yet
      generate it.
      16c2369c
  13. 17 Nov, 2009 1 commit
    • Iustin Pop's avatar
      Add a command-line option to filter exclusion tags · 0f15cc76
      Iustin Pop authored
      Since we don't want all instance tags to be used for exclusion, we add a
      command line option to filter on these. Since the iallocator protocol
      cannot accept command line options, currently it's not possible to
      specify these for hail, and thus it will never use any exclusion tags.
      0f15cc76
  14. 10 Nov, 2009 1 commit
    • Iustin Pop's avatar
      Allow overriding the field list in -p · e98fb766
      Iustin Pop authored
      The print nodes option can now accept an optional field list to
      customise the output. This is ugly, since the field names do not match
      the header names, but it is at least barely customisable (at runtime).
      e98fb766
  15. 06 Nov, 2009 1 commit
    • Iustin Pop's avatar
      Make some CLI options more consistent · 7f4e37f0
      Iustin Pop authored
      Both the simulate and the tiered allocation mode take a machine spec on
      input via a comma-separated list. This patch makes this a little bit
      more consistent (always use disk,ram,cpu in this order).
      7f4e37f0
  16. 30 Oct, 2009 2 commits
    • Iustin Pop's avatar
      Rework the instance spec CLI options · 1f9066c0
      Iustin Pop authored
      This patch reworks the internal handling of the instance spec CLI
      option, and adds a tiered spec option that will be used in hspace to
      enable the (auxiliary) tiered-spec allocation mode.
      
      It also introduces a new data type for holding the instance
      specification.
      1f9066c0
    • Iustin Pop's avatar
      Convert option parsing to a monadic flow · 2f567ac0
      Iustin Pop authored
      This allows us to do verification of option arguments in the assignment
      functions themselves.
      2f567ac0
  17. 16 Oct, 2009 1 commit
  18. 15 Oct, 2009 1 commit
  19. 14 Oct, 2009 1 commit
  20. 02 Oct, 2009 1 commit
  21. 28 Sep, 2009 1 commit
    • Iustin Pop's avatar
      Split the exernal data loader out of CLI.hs · e8f89bb6
      Iustin Pop authored
      Currently the external data loader is in CLI.hs, which makes all
      programs that need cli functionality (options, etc.) link against the
      network modules (most importantly curl). This patch splits this
      functionality into a new module such that (for example) hail which only
      deals with file I/O doesn't link against these libraries.
      e8f89bb6
  22. 26 Aug, 2009 2 commits
    • Iustin Pop's avatar
      Implement support for 'cheap' moves only · c0501c69
      Iustin Pop authored
      This patch adds support for cheap (failover/migrate) operations only in
      the balancing algorithm and in the hbal command line options.
      
      This allows a very quick balancing (compared to allowing replace-disks)
      which can be useful as a scheduled operation.
      c0501c69
    • Iustin Pop's avatar
      Simplify the wrapIO function · 633e6bcb
      Iustin Pop authored
      This fixes one warning from hlint.
      633e6bcb
  23. 19 Aug, 2009 1 commit
  24. 18 Aug, 2009 1 commit
  25. 15 Jul, 2009 2 commits
    • Iustin Pop's avatar
      CLI: Handle error better · 175cc337
      Iustin Pop authored
      This patch adds an error handler for any exceptions that are raised
      during the external data load phase. This can be improved further, but
      it's a good start.
      175cc337
    • Iustin Pop's avatar
      Unify the command line options and structures · 0427285d
      Iustin Pop authored
      This patch moves all the command line options and their internal
      representation into CLI.hs. This means that duplicated options between
      any two binaries are no longer declared twice, and that we no longer
      need the two *Option classes.
      0427285d
  26. 14 Jul, 2009 2 commits
  27. 07 Jul, 2009 1 commit
    • Iustin Pop's avatar
      Show errors on stderr instead of stdout · 2795466b
      Iustin Pop authored
      Currently many of the exit and warning conditions mistakenly display error
      messages on stdout, which makes parsing the output of programs harder. This
      patch attempts to fix such occurrences.
      2795466b
  28. 06 Jul, 2009 1 commit
    • Iustin Pop's avatar
      Fix hlint-generated warnings · 9f6dcdea
      Iustin Pop authored
      This big patch cleans up the code per hlint indications. Many removals
      of extra parentheses, replacements of concat . map with concabtMap,
      extra dollar signs, eta reductions, etc. were performed.
      
      The code still compiles and passes a couple of manual tests on sample
      files. The individual changes are also small enough as to be visually
      easy to confirm.
      9f6dcdea
  29. 11 Jun, 2009 1 commit
    • Iustin Pop's avatar
      Fix the various monomorphism warning · 78694255
      Iustin Pop authored
      In a few places (e.g. tryRead or any printf call) it's a little bit hard
      to add the correct type signatures, but in the it is possible to fix
      these warnings (which can bite one in subtle cases).
      78694255
  30. 01 Jun, 2009 2 commits
    • Iustin Pop's avatar
      Add copyright/license information · e2fa2baf
      Iustin Pop authored
      This doc-patch adds copyright and license information to (hopefully) all
      needed files.
      e2fa2baf
    • Iustin Pop's avatar
      Lots of documentation updates · 9188aeef
      Iustin Pop authored
      This patch does only doc build changes, doc changes and function move
      around (for more logical documentation). It should have no impact at all
      on the code.
      9188aeef
  31. 26 May, 2009 1 commit
    • Iustin Pop's avatar
      Change the module import hierarchy · 262a08a2
      Iustin Pop authored
      This patch makes the Types module a base module, and Node/Instance ones
      import it, from the previous (opposite) situation. This will allow in
      the future to use newtypes for the index and name types.
      262a08a2
  32. 23 May, 2009 2 commits