Re: [libvirt] problem with outbound limiting

2011-08-11 Thread Upendra Moturi
Thanks for your reply. The patch it appears still has problem. I have changed only mtu value as 2kb instead of burst value in the network.c file With average as 2048 , burst as 2048 and peak 2048 scp copied at 30-40KB/s With average as 4096 , burst as 4096 and peak 4096 scp copied at same

Re: [libvirt] problem with outbound limiting

2011-08-11 Thread Stefan Berger
On 08/11/2011 08:07 AM, Upendra Moturi wrote: Thanks for your reply. The patch it appears still has problem. I have changed only mtu value as 2kb instead of burst value in the network.c file With average as 2048 , burst as 2048 and peak 2048 scp copied at 30-40KB/s All test I did were with the

Re: [libvirt] problem with outbound limiting

2011-08-11 Thread Stefan Berger
On 08/11/2011 09:39 AM, Stefan Berger wrote: On 08/11/2011 08:07 AM, Upendra Moturi wrote: Thanks for your reply. The patch it appears still has problem. I have changed only mtu value as 2kb instead of burst value in the network.c file With average as 2048 , burst as 2048 and peak 2048 scp

Re: [libvirt] problem with outbound limiting

2011-08-11 Thread Upendra Moturi
Thanks for your clarification. I am using 2.6.38-8-server kernel. Will test with 3.0.0 kernel On Thu, Aug 11, 2011 at 7:18 PM, Stefan Berger stef...@linux.vnet.ibm.com wrote: On 08/11/2011 09:39 AM, Stefan Berger wrote: On 08/11/2011 08:07 AM, Upendra Moturi wrote: Thanks for your reply.

Re: [libvirt] problem with outbound limiting

2011-08-11 Thread Stefan Berger
On 08/11/2011 09:54 AM, Upendra Moturi wrote: Thanks for your clarification. I am using 2.6.38-8-server kernel. Will test with 3.0.0 kernel Also works on 2.6.38.8-35.fc15.x86_64 kernel. Stefan On Thu, Aug 11, 2011 at 7:18 PM, Stefan Berger stef...@linux.vnet.ibm.com wrote: On

[libvirt] problem with outbound limiting

2011-08-10 Thread Upendra Moturi
Hi I am using 0.9.4 version of libvirt and want to limit bandwidth. I installed libvirt on ubuntu 11.04 using libvirt source. For this i am using the QOS configuration devices interface type='network' source network='default'/ target dev='vnet0'/ *bandwidth inbound

Re: [libvirt] problem with outbound limiting

2011-08-10 Thread Upendra Moturi
small correction it is not mbps ,it is MBps On Wed, Aug 10, 2011 at 12:06 PM, Upendra Moturi upendr...@hexagrid.comwrote: Hi I am using 0.9.4 version of libvirt and want to limit bandwidth. I installed libvirt on ubuntu 11.04 using libvirt source. For this i am using the QOS configuration

Re: [libvirt] problem with outbound limiting

2011-08-10 Thread Stefan Berger
On 08/10/2011 02:55 AM, Upendra Moturi wrote: Hi, does this patch solve your problem? I am setting the MTU to fixed 2kb. Doing tests with scp seems to indicate that this improved the situation -- at least for me. Stefan Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com ---

Re: [libvirt] problem with outbound limiting

2011-08-10 Thread Eric Blake
On 08/10/2011 09:04 AM, Stefan Berger wrote: On 08/10/2011 02:55 AM, Upendra Moturi wrote: Hi, does this patch solve your problem? I am setting the MTU to fixed 2kb. Doing tests with scp seems to indicate that this improved the situation -- at least for me. Stefan Signed-off-by: Stefan

Re: [libvirt] problem with outbound limiting

2011-08-10 Thread Stefan Berger
On 08/10/2011 11:20 AM, Eric Blake wrote: On 08/10/2011 09:04 AM, Stefan Berger wrote: On 08/10/2011 02:55 AM, Upendra Moturi wrote: Hi, does this patch solve your problem? I am setting the MTU to fixed 2kb. Doing tests with scp seems to indicate that this improved the situation -- at least