[Lxc-users] poor performance between host and container

Daniel Lezcano daniel.lezcano at free.fr
Wed Jan 5 09:45:49 UTC 2011


On 01/05/2011 09:33 AM, Papp Tamas wrote:
> On 01/05/2011 09:25 AM, Papp Tamas wrote:
>> hi!
>>
>> There is a post in the archivum:
>>
>> http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg00071.html
>>
>> Now I have the same problem. Has anybody a solution to this?
>>
>> My system is Ubuntu 10.04 x86_64 and lxc 0.7.2 from the PPA. I have some
>> systems like this, but there are no problems.
> Oh yes, thi is the konfig:
>
> lxc.utsname = crm
> lxc.tty = 4
>
> lxc.network.type = veth
> lxc.network.flags = up
> lxc.network.link = br1
> lxc.network.name = eth1
> lxc.network.mtu = 1500
> lxc.network.ipv4 = 10.0.0.3/24
> lxc.network.hwaddr = 52:54:d1:d0:a8:90
> lxc.network.veth.pair = veth11
>
> lxc.rootfs = /data/lxc/crm/rootfs
>
> lxc.cgroup.devices.deny = a
> # /dev/null and zero
> lxc.cgroup.devices.allow = c 1:3 rwm
> lxc.cgroup.devices.allow = c 1:5 rwm
> # consoles
> lxc.cgroup.devices.allow = c 5:1 rwm
> lxc.cgroup.devices.allow = c 5:0 rwm
> lxc.cgroup.devices.allow = c 4:0 rwm
> lxc.cgroup.devices.allow = c 4:1 rwm
> # /dev/{,u}random
> lxc.cgroup.devices.allow = c 1:9 rwm
> lxc.cgroup.devices.allow = c 1:8 rwm
> # /dev/pts/* - pts namespaces are "coming soon"
> lxc.cgroup.devices.allow = c 136:* rwm
> lxc.cgroup.devices.allow = c 5:2 rwm
> # rtc
> lxc.cgroup.devices.allow = c 254:0 rm
>
> Guest is Ubuntu 8.04.

AFAIR, the mtu should fit the mtu of the bridge.

Let us know if 
http://comments.gmane.org/gmane.linux.kernel.containers.lxc.general/663 
fixed your problem.

Thanks
   -- Daniel





More information about the lxc-users mailing list