[Lxc-users] Poor network performance between container and host

Daniel Lezcano daniel.lezcano at free.fr
Sun Jan 31 21:59:05 UTC 2010

Dominik Schulz wrote:
> Hi,
> I'm currently evaluating LXC as an alternative to other contextualisation 
> technologies, and I have the problem that network connections between the 
> container and the host on which it is running are very slow (about 35 kbit/s) 
> wheras connections to other system can exploit the full connection speed.
> Is this a known issue or is someting wrong with my configuration?
> The relevant snippet of my lxc config:
> lxc.network.type = veth
> lxc.network.flags = up
> lxc.network.link = br0
> lxc.network.name = eth0
> lxc.network.mtu = 1500
> My Bridge (br0) has an MTU of 1480, could that be the problem?

Having a different mtu size will contribute to decrease the 
performances. But the difference is too big to be related only to the 
mtu IMO.
Are you sure there is not another container somewhere with the same 
network configuration messing the communication ? Perhaps on another host ?

More information about the lxc-users mailing list