On 27.05.2013 09:21, Michal Privoznik wrote:
On 27.05.2013 08:56, vikrant verma wrote:
> Hello All,
>
> I am using virDomainSetInterfaceParameters() API to set the network
> interface tune parameter for a running guest VM.
>
> I am able to set the Inbound and Outbound values successfully, but not
> sure how to test it. I tried scp command to copy a file from host to VM
> but i am not observing the desired throttling over the network.
>
> Is there any other way to test network throttling or do i missing something.
>
> Please help
>
> regards,
> Vikrant
Huh, I had a prologue written here but it disappeared :)
There was an error in setting the correct QoS values. There's a patch
fixing it:
commit 0ac3baee2c2fd56ef89f24f5ea484e39d2bf35f5
Author: Eiichi Tsukata <eiichi.tsukata.xh(a)hitachi.com>
AuthorDate: Fri Jun 29 15:09:16 2012 +0900
Commit: Michal Privoznik <mprivozn(a)redhat.com>
CommitDate: Fri Jun 29 10:56:13 2012 +0200
Fix vm's outbound traffic control problem
...
http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=0ac3baee2c2fd56ef89f...
The commit is included in the 0.9.13 release.
Michal