1. 10 Jan, 2011 3 commits
  2. 07 Jan, 2011 7 commits
  3. 30 Dec, 2010 17 commits
  4. 23 Dec, 2010 2 commits
    • Iustin Pop's avatar
      Change the balancing function · 4715711d
      Iustin Pop authored
      
      
      Currently the balancing function is a modified version of the standard
      deviation (stddev divided by list length), due to historical reasons.
      
      While this works fine for small clusters, for big clusters it makes
      the balancing effect too "weak", and in some cases it refuses to
      balance correctly some clusters. It also makes the balancing behaviour
      dependant on the cluster size, which is a big no-no.
      
      Therefore we revert to the normal version of standard deviation, and
      we also rename the function to reflect what it does. The new version
      correctly balances some corner cases that the previous version didn't,
      and passes the current balancing unittests.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarAdeodato Simo <dato@google.com>
      4715711d
    • Iustin Pop's avatar
      Move some tiered spec functionality to Cluster.hs · 949397c8
      Iustin Pop authored
      
      
      This splits out a bit of code from hspace.hs and moves it into its own
      function in Cluster.hs.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarBalazs Lecz <leczb@google.com>
      949397c8
  5. 20 Dec, 2010 11 commits