Skip to content
Snippets Groups Projects
  1. Mar 12, 2009
  2. Mar 11, 2009
    • Iustin Pop's avatar
      Add the node reserved memory percentage · dfc749e6
      Iustin Pop authored
      This patch adds the node attribute “reserved memory percentage” that is
      derived from the maximum reserved memory for a node and its total
      memory.
      
      This will be useful for enhancing the balancing algorithm.
      dfc749e6
  3. Mar 10, 2009
    • Iustin Pop's avatar
      Beautify the cluster status list · af53a5c4
      Iustin Pop authored
      This patch removes the primary/secondary instance lists from the node
      status and also removes the tabbed formatting with explicit width
      formatting.
      af53a5c4
  4. Mar 09, 2009
    • Iustin Pop's avatar
      Change the node N+1 check model · d10b27ef
      Iustin Pop authored
      Currently, we fail a new instance placement if the new node status is
      not N+1 compliant. This means that an allocation on an already N+1
      failed node still fails, even though (conceptually) we're not worse than
      before.
      
      This patch changes this model to fail the allocation *only* if the node
      was N+1 compliant before. This allows balancing to work on non-N+1 happy
      clusters, with the caveat that they probably won't be N+1 happy at the
      end.
      
      Since we skip N+1 check in some cases, we add a new “failHealth” check
      that verifies the node still has strict positive free memory and disk
      space.
      d10b27ef
    • Iustin Pop's avatar
      Show which nodes are not N+1 compliant in output · 2cf878a5
      Iustin Pop authored
      This patch adds a '*' character to nodes which are not N+1 compliant to
      the output, to help with understanding pre- and post-changes cluster
      status.
      2cf878a5
  5. Feb 22, 2009
    • Iustin Pop's avatar
      Change the total disk/mem to Double · 38f63ae6
      Iustin Pop authored
      Since we only use the totals for computations, and we always convert
      them via fromIntegral, let's just store them directly as Doubles.
      38f63ae6
    • Iustin Pop's avatar
      A no-code change s/disk/dsk/ · 962367fe
      Iustin Pop authored
      This just makes indendation nicer in many expressions.
      962367fe
    • Iustin Pop's avatar
      Compute the p_mem / p_dsk statically · 0335fe4a
      Iustin Pop authored
      This patch changes the computation of p_mem / p_dsk from on-demand
      (whenever the cluster stats are computed) to after-modify (after a node
      is modified, we update its stats). This brings a god speed-up as only
      one node or two are usually changed between cluster-wide stats are
      computed.
      0335fe4a
  6. Feb 12, 2009
    • Iustin Pop's avatar
      Change the input file formats · 01f6a5d2
      Iustin Pop authored
      This patch changes the format of the input node and instance lists. It
      removes the list of primary and secondary instances from the nodes, and
      adds the primary and secondary nodes to the instance list.
      
      This is done so that we can have the same input data from commands as
      from the RAPI.
      01f6a5d2
  7. Jan 28, 2009
Loading