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
  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.
  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.
  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).
  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
      This makes all the programs accept the new format, but hscan doesn't yet
      generate it.
  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.
  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).
  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).
  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
    • 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.
  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.
  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.
    • Iustin Pop's avatar
      Simplify the wrapIO function · 633e6bcb
      Iustin Pop authored
      This fixes one warning from hlint.
  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.
    • 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.
  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.
  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.
  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).
  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.
    • 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.
  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.
  32. 23 May, 2009 2 commits