small correction<br>it is not mbps ,it is MBps<br><br><div class="gmail_quote">On Wed, Aug 10, 2011 at 12:06 PM, Upendra Moturi <span dir="ltr"><<a href="mailto:upendra.m@hexagrid.com">upendra.m@hexagrid.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi<br><br>I am using 0.9.4 version of libvirt and want to limit bandwidth.<br>I installed libvirt on ubuntu 11.04 using libvirt source.<br>
<br>For this i am using the QOS configuration<br><br><pre><devices><br>    <interface type='network'><br>
      <source network='default'/><br>      <target dev='vnet0'/><br>      <b><bandwidth><br>        <inbound average='1000' peak='5000' burst='1024'/><br>        <outbound average='128' peak='256' burst='256'/><br>

      </bandwidth></b><br>    </interface><br></pre><br>Here the inbound limit is working properly but the outbound is limiting but not with values which is give<br><br>Here are the scenarios i tested and the results<br>

<br>when i gave average as 2048 --- it is limiting with 600 -- 700 kb<br><br>average                           result<br>=====================<br>2048   (2mpbs)                  600-700 kb<br>4096   (4mbps)                  1 MB/s<br>

10240 (10mbps)                2-3 MB/s<br clear="all">12288 (12 mbps)               3-4 MB/s<br>20480 (20 mbps)               16-18 MB/s<br><br>Is this the expected behavior or some thing is missing<br>If this is the expected behavior ,then in what ratio it is limiting.<br>

<br>Please help me<br>Thanks in advance.<br><font color="#888888"><br>-- <br>Thanks and Regards,<br>Upendra.M<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Thanks and Regards,<br>Upendra.M<br>