vikrant verma
2013-May-27 10:36 UTC
Re: [libvirt-users] Fwd: Does Set Block IO tune take effect in the same session.
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@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 >
Michal Privoznik
2013-May-28 13:27 UTC
Re: [libvirt-users] Fwd: Does Set Block IO tune take effect in the same session.
On 27.05.2013 12:36, vikrant verma wrote:> 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 = 10I suspect this way too low burst value. Try leaving the limit and it should work correctly. Michal
Reasonably Related Threads
- Re: Fwd: Does Set Block IO tune take effect in the same session.
- Does Set Block IO tune take effect in the same session.
- Re: Fwd: Does Set Block IO tune take effect in the same session.
- Getting libvirt Error when setting IO tune read_bytes_sec value using libvirt API virDomainSetBlockIotune
- Error while connecting to Oracle using RODBC package