Comment 16 for bug 1547190

Revision history for this message
Douglas Sikora (doug-s1k0ra) wrote :

the container no longer hangs, and i can successfully get a prompt. after creation.

 I still get performance issues though and it is spotty, see output from creating 5 machines below. I can provide you access to this node if need be.

For sanity check:
yjetbq@sovmp151:~$ uname -a
Linux sovmp151 4.2.0-27-generic #32-Ubuntu SMP Fri Jan 22 04:48:03 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
yjetbq@sovmp151:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.10
DISTRIB_CODENAME=wily
DISTRIB_DESCRIPTION="Ubuntu 15.10"

yjetbq@sovmp151:~$ dpkg -l | grep lxc || lxd
ii liblxc1 1.1.5-0ubuntu0.15.10.3 ppc64el Linux Containers userspace tools (library)
ii lxc 1.1.5-0ubuntu0.15.10.3 ppc64el Linux Containers userspace tools
ii lxc-templates 2.0.0~beta2-0ubuntu2~ubuntu15.10.1~ppa1 ppc64el Linux Containers userspace tools (templates)
ii lxcfs 2.0.0~beta2-0ubuntu1~ubuntu15.10.1~ppa1 ppc64el FUSE based filesystem for LXC
ii python3-lxc 1.1.5-0ubuntu0.15.10.3 ppc64el Linux Containers userspace tools (Python 3.x bindings)
yjetbq@sovmp151:~$ dpkg -l | grep lxd
ii lxd 2.0.0~beta3-0ubuntu4~ubuntu15.10.1~ppa1 ppc64el Container hypervisor based on LXC - daemon
ii lxd-client 2.0.0~beta3-0ubuntu4~ubuntu15.10.1~ppa1 ppc64el Container hypervisor based on LXC - client

#####################################
Creating machines below as you can see the first 3 machines were OK at less that 58 seconds (not as fast as yours though) then it takes > 2 minutes. I will be kicking off another script and launch a larger number of machines and will share that as well.
######################################

yjetbq@sovmp151:~$ for i in 1 2 3 4 5
> do
> time lxc launch ubuntu-wily ubuntu$i
> done
Creating ubuntu1
Starting ubuntu1

real 0m43.730s
user 0m0.012s
sys 0m0.008s
Creating ubuntu2
Starting ubuntu2

real 0m56.871s
user 0m0.016s
sys 0m0.004s
Creating ubuntu3
Starting ubuntu3

real 0m57.013s
user 0m0.024s
sys 0m0.012s
Creating ubuntu4
Starting ubuntu4

real 2m18.716s
user 0m0.008s
sys 0m0.008s
Creating ubuntu5
Starting ubuntu5

real 2m0.219s
user 0m0.032s
sys 0m0.008s