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

2010-12-09 Thread Menil Jean-Philippe

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...@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:
r...@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.
<>--
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


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

2010-12-09 Thread Menil Jean-Philippe

Le 09/12/2010 16:36, Michael Tokarev a écrit :

09.12.2010 18:29, Menil Jean-Philippe wrote:

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...@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


How about trying the same without lxc?


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


I think when you saturate your link,
some packet loss is to be expected.

/mjt

Hmmm,

i must apologize.
I simply reach the limit between my post and the switch. If i ping the 
host from another pc, ther's no problem at all.


Sorry for the noise.
<>--
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


[lxc-devel] nf_conntrack question

2010-12-10 Thread Menil Jean-Philippe

Hi,

On an host, i have nf_conntrack and nf_contrack_ipv6 loaded.
For a particular reason, i would know if it is possible to not have 
theses modules charged on the guest?


And sorry for my dumb intervention yesterday, i was a little overheading ...

Regards.
<>--
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel