Hello Michal,
Throttling is working now after setting inbound.average = 10 (i have set
other values to 0 )
But i am observing an inconsistent behavior in the observed throttling
bandwidth
when i set inbound.average = 10 , i observed bandwidth of 24 kbps
when i set inbound.average = 100 , i observed bandwidth of 186 kbps
when i set inbound.average = 1024 , i observed bandwidth of 2MBps
i measured the above by doing scp of a 4MB file from host to VM. Is this
behavior is expected?
Regards,
Vikrant
On Tue, May 28, 2013 at 6:57 PM, Michal Privoznik <mprivozn(a)redhat.com>wrote:
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 = 10
I suspect this way too low burst value. Try leaving the limit and it
should work correctly.
Michal