Re: [Lxc-users] Dreadful network performance, only to host from container

2010-05-31 Thread Matt Bailey
Performance issues with networking and veth devices can be often linked to the implementation of hardware acceleration in various kernel drivers for various NICs. I found this from a lot of toggling of the acceleration tunables with ethtool. I'm sure there's a deeper issue with the drivers, but

Re: [Lxc-users] Dreadful network performance, only to host from container

2010-05-28 Thread Daniel Lezcano
On 05/28/2010 02:58 AM, Toby Corkindale wrote: On 28/05/10 05:55, Matt Bailey wrote: /usr/sbin/ethtool -K br0 sg off /usr/sbin/ethtool -K br0 tso off Might fix your problem, YMMV; this worked for me. Bam! Problem fixed. All I needed was the 'sg' option - tso wasn't enabled anyway. Now

Re: [Lxc-users] Dreadful network performance, only to host from container

2010-05-27 Thread atp
Hi, Send ifconfig br0from the host ifconfig eth0 from the container and the version of lxc you're using. Do you have anything special with the /etc/sysctl.conf? On a completely blank container with no tuning, I get with scp; host-container squashfs.img 100% 639MB 33.6MB/s

Re: [Lxc-users] Dreadful network performance, only to host from container

2010-05-27 Thread Toby Corkindale
On 27/05/10 18:06, atp wrote: As requested: ifconfig br0 from the host br0 Link encap:Ethernet HWaddr 00:1e:37:4d:8c:d8 inet addr:192.168.1.206 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::21e:37ff:fe4d:8cd8/64 Scope:Link UP BROADCAST

Re: [Lxc-users] Dreadful network performance, only to host from container

2010-05-27 Thread Daniel Lezcano
On 05/27/2010 10:21 AM, Toby Corkindale wrote: On 27/05/10 18:06, atp wrote: As requested: ifconfig br0 from the host br0 Link encap:Ethernet HWaddr 00:1e:37:4d:8c:d8 inet addr:192.168.1.206 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr:

Re: [Lxc-users] Dreadful network performance, only to host from container

2010-05-27 Thread atp
Toby Just FYI in case you were unaware - it seems one of your MXs is black holed. I tried to email you direct, but messagelabs said; toby.corkind...@strategicdata.com.au: 74.125.148.10 does not like recipient. Remote host said: 554 5.7.1 Service unavailable; Client host [74.125.149.113] blocked

Re: [Lxc-users] Dreadful network performance, only to host from container

2010-05-27 Thread Matt Bailey
/usr/sbin/ethtool -K br0 sg off /usr/sbin/ethtool -K br0 tso off Might fix your problem, YMMV; this worked for me. -- Matt Bailey 303.871.4923 Senior Software Specialist University of Denver, UTS http://du.edu http://system42.net On Thu, May 27, 2010 at 4:48 AM, atp andrew.phill...@lmax.com

Re: [Lxc-users] Dreadful network performance, only to host from container

2010-05-27 Thread Toby Corkindale
On 27/05/10 19:52, Daniel Lezcano wrote: On 05/27/2010 10:21 AM, Toby Corkindale wrote: On 27/05/10 18:06, atp wrote: As requested: ifconfig br0 from the host br0 Link encap:Ethernet HWaddr 00:1e:37:4d:8c:d8 inet addr:192.168.1.206 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr:

Re: [Lxc-users] Dreadful network performance, only to host from container

2010-05-27 Thread Toby Corkindale
On 28/05/10 05:55, Matt Bailey wrote: /usr/sbin/ethtool -K br0 sg off /usr/sbin/ethtool -K br0 tso off Might fix your problem, YMMV; this worked for me. Bam! Problem fixed. All I needed was the 'sg' option - tso wasn't enabled anyway. Now getting a healthy 15-16 mbyte/sec. Thanks for