Re: [lxc-devel] did the new kernel 2.6.36 support a full sysfs namespace for tun/tap device?

2010-12-09 Thread 贺鹏
Thank you! I've found the kernel 2.6.35.9 has the sysfs tagging feature which supports to open a tap/tun devices directly in the VM. 2010/12/7 Daniel Lezcano > On 12/07/2010 11:10 AM, 贺鹏 wrote: > >> Hi, all: >>did the new kernel 2.6.36 support a full sysfs namespace for >> tun/tap >> de

[lxc-devel] macvlan configuration

2010-12-09 Thread 贺鹏
Hi all: I use macvlan as the network configuration for my LXC VMs. Here is my configuration for LXC VMs: lxc.network.type = macvlan lxc.network.macvlan.mode = vepa lxc.network.flags = up lxc.network.link = tap0 and I config 4 virtual eth in this V

Re: [lxc-devel] macvlan configuration

2010-12-09 Thread 贺鹏
The problem is the tun/tap device need to use the write/read functions to send pkt into the netstack but I use the send/recv. problem solved. 2010/12/9 贺鹏 > > Hi all: >I use macvlan as the network configuration for my LXC VMs. > >Here is my configuration for LXC VMs: > >

[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/ma

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

2010-12-09 Thread Michael Tokarev
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/

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 cli