Re: [Lxc-users] Containers slow to start after 1600

2013-03-22 Thread Eric W. Biederman
Benoit Lourdelet writes: > Hello, > > I tried multiple kernels with similar results. > > I ran the following on 3.8.2 > > $ cat > test-script.sh << 'EOF' > #!/bin/bash > for i in $(seq 1 2000) ; do > ip link add a$i type veth peer name b$i > done > EOF > > $ perf record -a test-script.sh >

Re: [Lxc-users] Containers slow to start after 1600

2013-03-20 Thread Eric W. Biederman
Benoit Lourdelet writes: > Hello, > > The measurement has been done with kernel 3.8.2. > > Linux ieng-serv06 3.7.9 #3 SMP Wed Feb 27 02:38:58 PST 2013 x86_64 x86_64 > x86_64 GNU/Linux Two different kernel versions? > What information would you like to see on the kernel ? The question is where

Re: [Lxc-users] Containers slow to start after 1600

2013-03-20 Thread Eric W. Biederman
Serge Hallyn writes: > Hi, > > Benoit was kind enough to follow up on some scalability issues with > larger (but not huge imo) numbers of containers. Running a script > to simply time the creation of veth pairs on a rather large (iiuc) > machine, he got the following numbers (time is for creatio

Re: [Lxc-users] netns: Issues with deleting virtual interfaces during namespace cleanup

2011-02-27 Thread Eric W. Biederman
Renato Westphal writes: > Hello David, > > You may try the patch below (kernel v2.6.35) and see if that helps. It > basically does what you asked for: during namespace cleanup, move back the > virtual interfaces to their original namespaces. I did some tests with veth > pairs and nested netns's a