[libvirt-users] Fwd: Does Set Block IO tune take effect in the same session.

vikrant verma vikrantverma99 at gmail.com
Mon May 27 10:36:24 UTC 2013


Hello Michal,

I am using the following code -

 virDomainSetInterfaceParameters(dom, "vnet0", networkParainfoPtr,
nparams,0);

before calling this i am assigning the following Inbound values

inbound.average = 10 (10 kbps)
inbound .peak = 10
inbound.burst = 10

Outbound values are zero (default)

after calling the API it return success and i am able to see the assigned
values in dumpxml of the VM ( so it is cross verified that the values are
set )

Now for testing inbound throttling i am using scp command -> i am copying
400MB file from host machine to VM.
But what i am onserving is it taking the bandwidth more than 10 kbps ( even
it reaches to Mbps sometime)


Regards,
Vikrant


On Mon, May 27, 2013 at 1:59 PM, Michal Privoznik <mprivozn at redhat.com>wrote:

> On 27.05.2013 10:25, vikrant verma wrote:
> > Hello Michal,
> >
> > Thanks for the reply.
> >
> > I am using libvirt version 1.0.2 , so how should i proceed. Do i need
> > this patch?
> >
>
> You already are using it. So I wonder what is the actual bandwidth you
> are using. Can you share the setting and actual bandwidth (scp is just
> fine - but consider copying bigger files - e.g. 700MB iso image).
>
> Michal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130527/9439b10d/attachment.htm>


More information about the libvirt-users mailing list