[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2017-09-20 Thread Michael Hudson-Doyle
** Package changed: subiquity (Ubuntu) => subiquity -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1625698 Title: console-conf on beaglebone takes unbearable long To manage notifications about this

[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-10-20 Thread VĂ­ctor R . Ruiz
This is also happening with Pi 3. It takes some minutes for console-conf to show up. Also, account creation takes too long. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1625698 Title: console-conf

Re: [Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-09-25 Thread Michael Hudson-Doyle
On 23 September 2016 at 22:29, Oliver Grawert wrote: > with todays daily image (which does not remove the .pyc files anymore) > the actual startup time got down to a bearable 10-20 seconds > (stopwatched several fresh boots from hitting enter to having the UI > appear) ... Yay. > the time use

[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-09-23 Thread Oliver Grawert
with todays daily image (which does not remove the .pyc files anymore) the actual startup time got down to a bearable 10-20 seconds (stopwatched several fresh boots from hitting enter to having the UI appear) ... the time used during account creation is still between 4 and 5 minutes though, so i wo

[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-09-22 Thread Steve Langasek
> well, the -T makes it pretyt easy to grep for the bigger time hogs Except the time at the front is the relative time since the start of the previous syscall. To find syscalls that take a long time, you need to grep on the time shown at the /end/ of the line. Both are useful, but time /between/

[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-09-22 Thread Steve Langasek
Thanks, the strace shows at least one low-hanging fruit for python startup, which is that all the .pyc files are missing from the image. This needs to be fixed in the ubuntu-core image build process. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribe

[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-09-22 Thread Oliver Grawert
well, the -T makes it pretyt easy to grep for the bigger time hogs ... see http://paste.ubuntu.com/23216260/ ... gettimeofday seems to consume a lot, as well as loading yaml -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.

[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-09-22 Thread Oliver Grawert
ogra@bbb:~$ time /var/snap/classic/common/classic/usr/bin/strace -ff -tt console-conf --help >console-conf-help.strace 2>&1 real0m17.668s user0m11.384s sys 0m6.060s ... http://paste.ubuntu.com/23216240/ -- You received this bug notification because you are a member of Ubuntu Bugs, wh

[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-09-22 Thread Martin Pitt
oh, sorry, I mis-read the straces -- can you please run with -tt, not with -T, so that we see cumulative/real-time timestamps? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1625698 Title: console-co

[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-09-22 Thread Oliver Grawert
sure, not actually much different from the former though ... http://paste.ubuntu.com/23215975/ ( i watched the prompt not coming back for ~20sec in both cases when i ran the command) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. ht

[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-09-22 Thread Martin Pitt
Mind attaching that strace? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1625698 Title: console-conf on beaglebone takes unbearable long To manage notifications about this bug go to: https://bugs.

[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-09-22 Thread Oliver Grawert
yes it was ... re-running it with time: ogra@bbb:~$ time /var/snap/classic/common/classic/usr/bin/strace -ff -r -T console-conf --help >console-conf-help.strace 2>&1 real0m16.882s user0m11.256s sys 0m5.412s ogra@bbb:~$ -- You received this bug notification because you are a member o

[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-09-22 Thread Martin Pitt
According to that strace, console-conf --help only took 0.02s? Was that really running on the slow beaglebone? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1625698 Title: console-conf on beaglebone

[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-09-22 Thread Oliver Grawert
and here is: sudo strace -ff -r -T /usr/share/subiquity/console-conf-tui http://paste.ubuntu.com/23215368/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1625698 Title: console-conf on beaglebone ta

[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-09-22 Thread Oliver Grawert
here is the output of running: strace -ff -r -T console-conf --help http://paste.ubuntu.com/23215333/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1625698 Title: console-conf on beaglebone takes

[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-09-21 Thread Oliver Grawert
also... (beaglebone) ogra@bbb:~$ time python3 -v -c "" 2>/dev/null real0m1.968s user0m1.048s sys 0m0.368s vs an x86 machine: ogra@anubis:~$ time python3 -v -c "" 2>/dev/null real0m0.027s user0m0.024s sys 0m0.000s loading the interpreter alone, without any imports already

[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-09-21 Thread Oliver Grawert
running it manually on a completely idling bbb it takes about 30 seconds until i see the UI, watching top at that time the CPU is constantly saturated... note that there is still a lot processes running in the background during boot up though, where the saturated CPU will be acting a lot slower.

[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-09-21 Thread Oliver Grawert
http://paste.ubuntu.com/23210646/ is /var/log/console-conf/subiquity- debug.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1625698 Title: console-conf on beaglebone takes unbearable long To mana

[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-09-20 Thread Michael Hudson-Doyle
Can you pastebin or upload or something the log at /var/log/console-conf /subiquity-debug.log? Might help figuring out which bit is slow at least. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1625698

[Bug 1625698] Re: console-conf on beaglebone takes unbearable long

2016-09-20 Thread Michael Hudson-Doyle
5-10 *minutes*? I timed it on my dragonboard and it was about 5 seconds. I know the beaglebone is slow but it shouldn't be 60x slower than a dragonboard. I'd love to know where the time is going, maybe probing is really slow or something? Is it similarly slow if you run sudo /usr/share/subiquity/co