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

2013-03-19 Thread Benoit Lourdelet
Hello Serge, I put together a small table, running your script for various values : Time are in seconds, Number of veth, time to create, time to delete: 500 18 26 1000 57 70 2000 193 250 3000 435 510 4000 752 824 5000 1123 1185 Obviously it is far from being linear. Regards Benoit

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

2013-03-19 Thread Serge Hallyn
Quoting Benoit Lourdelet (blour...@juniper.net): Hello Serge, I put together a small table, running your script for various values : Time are in seconds, Number of veth, time to create, time to delete: 500 18 26 1000 57 70 2000 193 250 3000 435 510 4000 752 824 5000

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

2013-03-19 Thread Benoit Lourdelet
Hello Serge, The time is to create all 5000, not just the last 1000. Benoit On 19/03/2013 19:28, Serge Hallyn serge.hal...@ubuntu.com wrote: Quoting Benoit Lourdelet (blour...@juniper.net): Hello Serge, I put together a small table, running your script for various values : Time are in

[Lxc-users] Running archlinux container on a ubuntu 12.04 host

2013-03-19 Thread Thiago Padilha
Hi I've began to experiment with lxc by running a ubuntu 12.04 minimal installation(console-only) inside virtualbox. The default templates(contained in the lxc distro package) run just fine, but I'm having trouble getting a simple archlinux container to run. I have searched the web for a solution

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

2013-03-19 Thread Serge Hallyn
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 creation of the full number, not latest

[Lxc-users] Fun kernel problem: garbled /var/log/kern.log, can't create hard link to particular file in /usr/bin

2013-03-19 Thread Dan Kegel
There I was, minding my own business, running stock lxc on ubuntu 12.04, when suddenly I couldn't install a perl update inside the container. Turned out to be it couldn't create a hard link to /usr/bin/s2p (though it could to /usr/bin/yes): buildbot@testbot01-ubu1204-temp-g-speak-unique:~$ sudo

Re: [Lxc-users] garbled /var/log/kern.log

2013-03-19 Thread Mike
Dan Kegel wrote: /var/log/kern.log was amusingly garbled: Might see if this helps: http://sourceforge.net/mailarchive/message.php?msg_id=26877606 -- Everyone hates slow websites. So do we. Make your web apps faster

Re: [Lxc-users] Fun kernel problem: garbled /var/log/kern.log, can't create hard link to particular file in /usr/bin

2013-03-19 Thread Dan Kegel
And it's repeatable, on two different machines, with different kinds of root filesystems. This time, the bad file was /usr/bin/psed. strace shows link(/usr/bin/psed, /usr/bin/psedxyz) = -1 ENOENT (No such file or directory) Same thing if I'm in /usr/bin and try it with relative paths:

Re: [Lxc-users] Fun kernel problem: garbled /var/log/kern.log, can't create hard link to particular file in /usr/bin

2013-03-19 Thread Dan Kegel
Commenting out the line deb http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse in /etc/apt/sources.list caused the update of perl to not be installed, and suppressed the problem for now. I guess I'm living dangerously.