[lxc-devel] Packet loss when high network traffic load

Menil Jean-Philippe jean-philippe.menil at univ-nantes.fr
Thu Dec 9 15:29:46 UTC 2010


Hi,

i'm experiencing some packet loss under high network traffic.
Here is the scenario:
i have on host with one guest running as a proxy (squid)


So, when i start downloading 10-15 dvd image from my client (wget 
http://ftp.proxad.net/mirrors/ftp.mandriva.com/MandrivaLinux/official/iso/2010.1/mandriva-linux-free-2010-spring-i586.iso 
-O /dev/null &) with the right http_proxy option positionned; i can see 
some pacjet loss and latency pinging the host:

menil-jp at antares:~$ ping -c 30 balblair.u06
result:
--- balblair.u06.univ-nantes.prive ping statistics ---
30 packets transmitted, 27 received, 10% packet loss, time 33082ms
rtt min/avg/max/mdev = 6.264/8.009/9.007/0.818 ms


Without downloading something:

--- balblair.u06.univ-nantes.prive ping statistics ---
30 packets transmitted, 30 received, 0% packet loss, time 29042ms
rtt min/avg/max/mdev = 0.955/1.068/1.285/0.073 ms

Here is the network config part of the lxc guest:

#### le reseau
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = V2003
lxc.network.name = eth0
lxc.network.mtu = 1500
lxc.network.hwaddr = BA:BE:BA:BE:04:01
lxc.network.veth.pair = squid-lmb-clus

lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = V2002
lxc.network.name = eth1
lxc.network.mtu = 1500
lxc.network.hwaddr = BA:BE:BA:BE:04:02
lxc.network.veth.pair = squid-lmb-serv

Where V2002 and V2003 are bridge interfaces:
root at balblair:~# brctl show
V2002		8000.0024e86f3e03	no		eth2.2002
							squid-lmb-serv
V2003		8000.0024e86f3e03	no		eth2.2003
							squid-lmb-clus

Is it the expected behaviour, or i'm missing some configuration somewhere?

Regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jean-philippe_menil.vcf
Type: text/x-vcard
Size: 377 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20101209/573a63e9/attachment.vcf>


More information about the lxc-devel mailing list