Re: [arch-general] Optimizing boot

2014-05-01 Thread Paul Gideon Dann
On Wednesday 30 Apr 2014 23:26:48 Rodrigo Rivas wrote: > Although the original problem has already been solved, I'll post my > trick to debug this kind of issues with systemd: > > * Before doing the thing that causes the problem run as root > `systemctl start debug-shell`. If the problem is in the

Re: [arch-general] Optimizing boot

2014-04-30 Thread Rodrigo Rivas
On Wed, Apr 30, 2014 at 12:28 PM, Paul Gideon Dann wrote: > Since we're on the topic, does anyone have a clue how I can find out why > systemd hangs for > ages when I shut down or reboot? The display server is shut down, I'm placed > in a TTY with a > "shutting-down" message, but then it looks l

Re: [arch-general] Optimizing boot

2014-04-30 Thread Paul Gideon Dann
On Wednesday 30 Apr 2014 11:46:03 Mauro Santos wrote: > Check the output of journalctl and look for lines with timeout (use grep > -i timeout). > > I've experienced this before (90 seconds timeout) and I found out that > some systemd service related to the user session was not terminating, > and s

Re: [arch-general] Optimizing boot

2014-04-30 Thread Gesh
On April 30, 2014 1:28:52 PM GMT+03:00, Paul Gideon Dann wrote: >On Wednesday 30 Apr 2014 11:08:14 Mike Cloaked wrote: >> Just a comment about boot times. The overall boot performance will >depend >> not only on optimising an individual setup, but also is dependent on >the >> hardware as well as

Re: [arch-general] Optimizing boot

2014-04-30 Thread Mauro Santos
On 30-04-2014 11:28, Paul Gideon Dann wrote: > Since we're on the topic, does anyone have a clue how I can find out why > systemd hangs for > ages when I shut down or reboot? The display server is shut down, I'm placed > in a TTY with a > "shutting-down" message, but then it looks like it's wa

Re: [arch-general] Optimizing boot

2014-04-30 Thread Paul Gideon Dann
On Wednesday 30 Apr 2014 11:08:14 Mike Cloaked wrote: > Just a comment about boot times. The overall boot performance will depend > not only on optimising an individual setup, but also is dependent on the > hardware as well as which boot manager is being used. So an older laptop > with a hard driv

Re: [arch-general] Optimizing boot

2014-04-30 Thread Mike Cloaked
On Wed, Apr 30, 2014 at 10:56 AM, Toyam Cox wrote: > > Startup finished in 4.215s (firmware) + 176ms (loader) + 2.939s (kernel) + > 11.166s (userspace) = 18.497s > > Thank you very much! NetworkManager takes a much more reasonable 1.4 > seconds now. It would not have occured to me to have the jour

Re: [arch-general] Optimizing boot

2014-04-30 Thread Toyam Cox
On Wed, Apr 30, 2014 at 3:22 AM, Jakub Klinkovský wrote: > On 30 April 2014 00:06:43 CEST, Toyam Cox > wrote: > >Hello, > > > >I want to have a sub-30 second boot time, so as to make it possible for > >me > >to power down my computer and power back up at a moment's notice. Right > >now, I have a

Re: [arch-general] Optimizing boot

2014-04-30 Thread Jakub Klinkovský
On 30 April 2014 00:06:43 CEST, Toyam Cox wrote: >Hello, > >I want to have a sub-30 second boot time, so as to make it possible for >me >to power down my computer and power back up at a moment's notice. Right >now, I have a (according to my watch) ~35 second boot time. I used >systemd-analyze, and

Re: [arch-general] Optimizing boot

2014-04-29 Thread Daniel Micay
On 29/04/14 09:00 PM, Toyam Cox wrote: > On Tue, Apr 29, 2014 at 8:09 PM, Daniel Micay wrote: > > I read the wiki page today, actually. I have 1 root partition, and another > for /usr and another for /var. / is /sda2, near the beginning of the > physical disk. That's going to take more time to d

Re: [arch-general] Optimizing boot

2014-04-29 Thread Toyam Cox
On Tue, Apr 29, 2014 at 8:09 PM, Daniel Micay wrote: > On 29/04/14 07:55 PM, Toyam Cox wrote: > > On Tue, Apr 29, 2014 at 7:47 PM, Daniel Micay > wrote: > > > >> On 29/04/14 07:34 PM, Toyam Cox wrote: > >>> On Tue, Apr 29, 2014 at 7:20 PM, Simon Brand > >>> wrote: > >>> > > > Am 3

Re: [arch-general] Optimizing boot

2014-04-29 Thread Daniel Micay
On 29/04/14 07:55 PM, Toyam Cox wrote: > On Tue, Apr 29, 2014 at 7:47 PM, Daniel Micay wrote: > >> On 29/04/14 07:34 PM, Toyam Cox wrote: >>> On Tue, Apr 29, 2014 at 7:20 PM, Simon Brand >>> wrote: >>> Am 30.04.2014 00:06, schrieb Toyam Cox: > NetworkManager.service is running

Re: [arch-general] Optimizing boot

2014-04-29 Thread Toyam Cox
On Tue, Apr 29, 2014 at 7:47 PM, Daniel Micay wrote: > On 29/04/14 07:34 PM, Toyam Cox wrote: > > On Tue, Apr 29, 2014 at 7:20 PM, Simon Brand > > wrote: > > > >> > >> > >> Am 30.04.2014 00:06, schrieb Toyam Cox: > >>> NetworkManager.service is running for 12 seconds > >> > >> Can you use static

Re: [arch-general] Optimizing boot

2014-04-29 Thread Daniel Micay
On 29/04/14 07:34 PM, Toyam Cox wrote: > On Tue, Apr 29, 2014 at 7:20 PM, Simon Brand > wrote: > >> >> >> Am 30.04.2014 00:06, schrieb Toyam Cox: >>> NetworkManager.service is running for 12 seconds >> >> Can you use static ip address in your network? >> The dhcp client did eat a lot of time here,

Re: [arch-general] Optimizing boot

2014-04-29 Thread Toyam Cox
On Tue, Apr 29, 2014 at 7:20 PM, Simon Brand wrote: > > > Am 30.04.2014 00:06, schrieb Toyam Cox: > > NetworkManager.service is running for 12 seconds > > Can you use static ip address in your network? > The dhcp client did eat a lot of time here, too. > 9 sec boot here without cryptsetup and stat

Re: [arch-general] Optimizing boot

2014-04-29 Thread Simon Brand
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Am 30.04.2014 00:06, schrieb Toyam Cox: > NetworkManager.service is running for 12 seconds Can you use static ip address in your network? The dhcp client did eat a lot of time here, too. 9 sec boot here without cryptsetup and static ip. Server needs

Re: [arch-general] Optimizing boot

2014-04-29 Thread Tomasz Kramkowski
On Tue, Apr 29, 2014 at 06:28:42PM -0400, Toyam Cox wrote: > On Tue, Apr 29, 2014 at 6:17 PM, Jan Alexander Steffens < > jan.steff...@gmail.com> wrote: > > > On Wed, Apr 30, 2014 at 12:06 AM, Toyam Cox > > wrote: > > > Hello, > > > > > > I want to have a sub-30 second boot time, so as to make it

Re: [arch-general] Optimizing boot

2014-04-29 Thread Toyam Cox
On Tue, Apr 29, 2014 at 6:17 PM, Jan Alexander Steffens < jan.steff...@gmail.com> wrote: > On Wed, Apr 30, 2014 at 12:06 AM, Toyam Cox > wrote: > > Hello, > > > > I want to have a sub-30 second boot time, so as to make it possible for > me > > to power down my computer and power back up at a mome

Re: [arch-general] Optimizing boot

2014-04-29 Thread Jan Alexander Steffens
On Wed, Apr 30, 2014 at 12:06 AM, Toyam Cox wrote: > Hello, > > I want to have a sub-30 second boot time, so as to make it possible for me > to power down my computer and power back up at a moment's notice. Right > now, I have a (according to my watch) ~35 second boot time. I used > systemd-analyz

[arch-general] Optimizing boot

2014-04-29 Thread Toyam Cox
Hello, I want to have a sub-30 second boot time, so as to make it possible for me to power down my computer and power back up at a moment's notice. Right now, I have a (according to my watch) ~35 second boot time. I used systemd-analyze, and discovered that NetworkManager.service is running for 12