Skip to content
Snippets Groups Projects
  1. Dec 01, 2010
  2. Nov 28, 2010
  3. Nov 24, 2010
  4. Nov 23, 2010
    • Iustin Pop's avatar
      Merge branch 'devel-0.2' into master · a3e8da03
      Iustin Pop authored
      a3e8da03
    • Iustin Pop's avatar
      Improve the standard deviation computation · 7570569e
      Iustin Pop authored
      
      This does just two passes, instead of three, over the list. This reduces
      the overall runtime well enough (~25%) in some tests, but it's not
      reproducible using profiling, so I don't know how much the function
      itself is being sped-up.
      
      Note: this is written via `seq`s, and not BangPatterns. Since it's just
      one case, adding BangPatterns just for it wasn't a big gain.
      
      Thanks to Lécz Balázs for the impetus to improve this!
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarBalazs Lecz <leczb@google.com>
      7570569e
    • Iustin Pop's avatar
      hbal: change handling of signal · 543e859d
      Iustin Pop authored
      
      Currently, hbal does a one-two signal handling, where the first signal
      causes graceful termination, and the second one an immediate on (either
      SIGINT or SIGTERM can be used, interchangeably). However, this poses a
      timing problem: if two programs want to send a graceful termination
      request, they cannot do that without careful coordination.
      
      To fix this, we change to code to handle the signal separately: SIGINT
      (^C) sends graceful termination, while SIGTERM sends immediate
      termination. This should allow easier controlling of hbal.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarBalazs Lecz <leczb@google.com>
      543e859d
  5. Nov 19, 2010
  6. Nov 11, 2010
  7. Nov 09, 2010
    • Iustin Pop's avatar
      Merge branch 'devel-0.2' · 92d43268
      Iustin Pop authored
      * devel-0.2:
        Fix tag exclusion weight
      92d43268
    • Iustin Pop's avatar
      Fix tag exclusion weight · 306cccd5
      Iustin Pop authored
      Currently, the tag exclusion metric has a weight of one, which means
      there might be cases where we won't move instances around because it
      upsets the cluster metrics. However, we do want to make a higher effort
      for cleaning up tag collisions, so we increase the weight to an
      empirically-determined value of 2.
      306cccd5
  8. Oct 26, 2010
    • Iustin Pop's avatar
      Force UTF-8 locale for pandoc invocation · 718f135d
      Iustin Pop authored
      Pandoc 1.5.x uses the locale information to parse its input files (only
      1.5, pre and post version use always UTF-8). Hence we need to enforce a
      UTF-8 locale for proper parsing of input files.
      718f135d
  9. Oct 25, 2010
  10. Oct 21, 2010
  11. Oct 07, 2010
  12. Oct 06, 2010
  13. Sep 15, 2010
    • Iustin Pop's avatar
      hbal: implement user-friendly termination requests · 03cb89f0
      Iustin Pop authored
      Currently, hbal will abort immediately when requested (^C, or SIGINT,
      etc.). This is not nice, since then the already started jobs need to be
      tracked manually.
      
      This patch adds a signal handler for SIGINT and SIGTERM, which will, the
      first time, simply record the shutdown request (and hbal will then exit
      once all jobs in the current jobset finish), and at the second request,
      will cause an immediate exit.
      03cb89f0
  14. Sep 03, 2010
Loading