<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">Le 26/08/2014 17:35, Simon Pasquier a
      écrit :<br>
    </div>
    <blockquote
cite="mid:CAOq3GZU5i1vZUAZeoUyy1PHG0drD8oqGRxHYuDNM9PqBju5mxw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi,<br>
        </div>
        <div>IIUC you probably want to set<code class=""> </code>ram_weight_multiplier
          to a negative number. From the OpenStack documentation [1]:<br>
          <br>
        </div>
        <blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px
          solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
          By default, the scheduler spreads instances across all hosts
          evenly. Set the <code class="">ram_weight_multiplier</code>
          option to a negative number if you prefer stacking instead of
          spreading. Use a floating-point value.</blockquote>
        <div><br>
        </div>
        <div>Simon<br>
        </div>
        <div><br>
          [1] <a moz-do-not-send="true"
href="http://docs.openstack.org/trunk/config-reference/content/section_compute-scheduler.html">http://docs.openstack.org/trunk/config-reference/content/section_compute-scheduler.html</a>
          <br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
      </div>
    </blockquote>
    <br>
    Simon is absolutely right, you need to make use of a RAMWeighter
    with negative pound.<br>
    At the moment, that's only possible for RAM, there is another patch
    in progress for consolidating over CPUs [2]<br>
    <br>
    <br>
    [2] <a class="moz-txt-link-freetext" href="https://review.openstack.org/109325">https://review.openstack.org/109325</a><br>
    <br>
    <br>
    <blockquote
cite="mid:CAOq3GZU5i1vZUAZeoUyy1PHG0drD8oqGRxHYuDNM9PqBju5mxw@mail.gmail.com"
      type="cite">
      <div class="gmail_extra">
        <div class="gmail_quote">On Tue, Aug 26, 2014 at 5:01 PM, George
          Shuklin <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:george.shuklin@gmail.com" target="_blank">george.shuklin@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Good day.<br>
            <br>
            I can't find any options for nova scheduler to consolidate
            new instances on few hosts instead of 'spreading' them on
            all available hosts.<br>
            <br>
            Simple example: let says we has 10 hosts, each host got 10Gb
            of memory for instances. We has flavors of 3Gb and 5Gb of
            RAM. If we run 20 new instances, they will consume about 6Gb
            per host and we will not able to run new instance with 6Gb
            of RAM (even we have 10*4=40 Gb of free memory on computes,
            none of the hosts has more than 4Gb of memory).<br>
            <br>
            Is any nice way to say 'consolidate' to openstack? Thanks!<br>
            <br>
            _______________________________________________<br>
            OpenStack-operators mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:OpenStack-operators@lists.openstack.org"
              target="_blank">OpenStack-operators@lists.openstack.org</a><br>
            <a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators"
              target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
OpenStack-operators mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>