all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#39089: Guix System: Very long, scary boot time
@ 2020-01-11 14:36 sirgazil via Bug reports for GNU Guix
  2020-01-11 15:05 ` Danny Milosavljevic
  2020-01-11 15:07 ` sirgazil via Bug reports for GNU Guix
  0 siblings, 2 replies; 7+ messages in thread
From: sirgazil via Bug reports for GNU Guix @ 2020-01-11 14:36 UTC (permalink / raw)
  To: 39089

Hi,

Everytime I boot, it takes about 2 minutes to get to the log in screen. This is a lot compared to the time it takes to boot, say, Trisquel 8 on a USB stick, which takes about 15 seconds.

In the process, I see lots of lines of things I don't understand (maybe I'm not supposed to understand them), and the following lines are particularly confusing:

    This is the GNU system. Welcome.
    Login:

Sometimes, the two lines above stay there enough time to make you think that the system is waiting for your input; if you are new to the system, you may even start writing your login, but then more lines start appearing and send the login out of sight. 

Some lines are scary. Things like "ABC not found", "EFG not detected". But finally you get to the GDM login screen.

I'm used to this after using the system for about a year now, but I think this is a bug.


---
https://sirgazil.bitbucket.io/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#39089: Guix System: Very long, scary boot time
  2020-01-11 14:36 bug#39089: Guix System: Very long, scary boot time sirgazil via Bug reports for GNU Guix
@ 2020-01-11 15:05 ` Danny Milosavljevic
  2020-01-11 22:54   ` sirgazil via Bug reports for GNU Guix
  2020-01-17 21:39   ` Ludovic Courtès
  2020-01-11 15:07 ` sirgazil via Bug reports for GNU Guix
  1 sibling, 2 replies; 7+ messages in thread
From: Danny Milosavljevic @ 2020-01-11 15:05 UTC (permalink / raw)
  To: 39089; +Cc: sirgazil

[-- Attachment #1: Type: text/plain, Size: 2484 bytes --]

Hi sirgazil,

On Sat, 11 Jan 2020 09:36:31 -0500
sirgazil via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

> Everytime I boot, it takes about 2 minutes to get to the log in screen. This is a lot compared to the time it takes to boot, say, Trisquel 8 on a USB stick, which takes about 15 seconds.
> 
> In the process, I see lots of lines of things I don't understand (maybe I'm not supposed to understand them), and the following lines are particularly confusing:
> 
>     This is the GNU system. Welcome.
>     Login:
> 
> Sometimes, the two lines above stay there enough time to make you think that the system is waiting for your input; if you are new to the system, you may even start writing your login, but then more lines start appearing and send the login out of sight. 
> 
> Some lines are scary. Things like "ABC not found", "EFG not detected". But finally you get to the GDM login screen.
> 
> I'm used to this after using the system for about a year now, but I think this is a bug.

It most definitely is a usability problem.  If usability is a goal, then it is a
bug.

I think it's our job as a distribution to integrate the components properly into
the system so that confusing stuff like that doesn't happen.

As a first step, we could just not start a getty on tty1 when gdm is configured
to start (see tty1 in %base-services in (gnu services base)).  Then the thing
above wouldn't appear.

The usual fix a lot of other distributions (and BIOSes) have is to display a
splash screen on top.

(Also, gdm doesn't like it at all if one uses Ctrl-Alt-Fx to switch consoles
apparently)

But if possible, could you post the actual messages that appear on your machine
to a bug report?  We can then find out where they come from and decide what
to do about them.

Standard usability limits for the duration an action is allowed to take to
start (and make itself known to the user) after the user asked for something:

* Less than one second for a system to feel snappy and no annoyance to happen
* At least less than two seconds absolute maximum.  You are annoying the user
* More is not usable

Because of long boot times (15 s is ALSO too long) I almost never reboot
(only suspend).

I've tried booting Guix now and I took note of the following points in time:

t = 0 s: I press the power button
t = 8 s: Grub asks for my system password  
t = 45 s: Console login prompt appears 
t = 55 s: GDM login prompt appears

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#39089: Guix System: Very long, scary boot time
  2020-01-11 14:36 bug#39089: Guix System: Very long, scary boot time sirgazil via Bug reports for GNU Guix
  2020-01-11 15:05 ` Danny Milosavljevic
@ 2020-01-11 15:07 ` sirgazil via Bug reports for GNU Guix
  1 sibling, 0 replies; 7+ messages in thread
From: sirgazil via Bug reports for GNU Guix @ 2020-01-11 15:07 UTC (permalink / raw)
  To: 39089

I forgot to say I'm using this Guix:

$ LANG=C guix describe
Generation 7	Jan 08 2020 13:53:10	(current)
  guix f98c050
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: f98c050c2017be06cff54abf965a8234f6998f76

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#39089: Guix System: Very long, scary boot time
  2020-01-11 15:05 ` Danny Milosavljevic
@ 2020-01-11 22:54   ` sirgazil via Bug reports for GNU Guix
  2020-01-17 21:39   ` Ludovic Courtès
  1 sibling, 0 replies; 7+ messages in thread
From: sirgazil via Bug reports for GNU Guix @ 2020-01-11 22:54 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 39089

 ---- On Sat, 11 Jan 2020 10:05:31 -0500 Danny Milosavljevic <dannym@scratchpost.org> wrote ----

[...]

 > But if possible, could you post the actual messages that appear on your machine
 > to a bug report?  We can then find out where they come from and decide what
 > to do about them.


These are the messages of the last boot:

https://bitbucket.org/sirgazil/dnd/downloads/guix-system-boot-messages-2020-01-11.txt

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#39089: Guix System: Very long, scary boot time
  2020-01-11 15:05 ` Danny Milosavljevic
  2020-01-11 22:54   ` sirgazil via Bug reports for GNU Guix
@ 2020-01-17 21:39   ` Ludovic Courtès
  2020-05-03 17:15     ` Ricardo Wurmus
  1 sibling, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2020-01-17 21:39 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: sirgazil, 39089

Hello!

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> I think it's our job as a distribution to integrate the components properly into
> the system so that confusing stuff like that doesn't happen.
>
> As a first step, we could just not start a getty on tty1 when gdm is configured
> to start (see tty1 in %base-services in (gnu services base)).  Then the thing
> above wouldn't appear.
>
> The usual fix a lot of other distributions (and BIOSes) have is to display a
> splash screen on top.

I think that would be the better fix: add the splash screen thing (I
forgot the name) to ‘%desktop-services’, but keep functional TTYs.

> Because of long boot times (15 s is ALSO too long) I almost never reboot

Heh same here.

We should do some profiling with “bootchart” I think it’s called.  I’m
sure systemd does a better job that the Shepherd, in particular by
starting more things on demand and doing others in parallel.  We’ll get there.

> I've tried booting Guix now and I took note of the following points in time:
>
> t = 0 s: I press the power button
> t = 8 s: Grub asks for my system password  
> t = 45 s: Console login prompt appears 
> t = 55 s: GDM login prompt appears

That’s roughly what I get on my laptop.  (Note: Guix cannot be blamed
for what happens until the kernel has booted.  :-))

Ludo’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#39089: Guix System: Very long, scary boot time
  2020-01-17 21:39   ` Ludovic Courtès
@ 2020-05-03 17:15     ` Ricardo Wurmus
  2020-05-03 17:18       ` Ricardo Wurmus
  0 siblings, 1 reply; 7+ messages in thread
From: Ricardo Wurmus @ 2020-05-03 17:15 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: sirgazil, 39089


Ludovic Courtès <ludo@gnu.org> writes:

> Danny Milosavljevic <dannym@scratchpost.org> skribis:
>
>> I think it's our job as a distribution to integrate the components properly into
>> the system so that confusing stuff like that doesn't happen.
>>
>> As a first step, we could just not start a getty on tty1 when gdm is configured
>> to start (see tty1 in %base-services in (gnu services base)).  Then the thing
>> above wouldn't appear.
>>
>> The usual fix a lot of other distributions (and BIOSes) have is to display a
>> splash screen on top.
>
> I think that would be the better fix: add the splash screen thing (I
> forgot the name) to ‘%desktop-services’, but keep functional TTYs.

I think you’re referring to Plymouth:

   https://www.freedesktop.org/wiki/Software/Plymouth/

-- 
Ricardo




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#39089: Guix System: Very long, scary boot time
  2020-05-03 17:15     ` Ricardo Wurmus
@ 2020-05-03 17:18       ` Ricardo Wurmus
  0 siblings, 0 replies; 7+ messages in thread
From: Ricardo Wurmus @ 2020-05-03 17:18 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: sirgazil, 39089


Ricardo Wurmus <rekado@elephly.net> writes:

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> Danny Milosavljevic <dannym@scratchpost.org> skribis:
>>
>>> I think it's our job as a distribution to integrate the components properly into
>>> the system so that confusing stuff like that doesn't happen.
>>>
>>> As a first step, we could just not start a getty on tty1 when gdm is configured
>>> to start (see tty1 in %base-services in (gnu services base)).  Then the thing
>>> above wouldn't appear.
>>>
>>> The usual fix a lot of other distributions (and BIOSes) have is to display a
>>> splash screen on top.
>>
>> I think that would be the better fix: add the splash screen thing (I
>> forgot the name) to ‘%desktop-services’, but keep functional TTYs.
>
> I think you’re referring to Plymouth:
>
>    https://www.freedesktop.org/wiki/Software/Plymouth/

We have a patch for Plymouth:

    https://issues.guix.gnu.org/26970

Back then I asked for more information on how to actually use it.  Now
it’s clear to me: by building it statically and including it in the
initrd.

--
Ricardo




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-05-03 17:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-11 14:36 bug#39089: Guix System: Very long, scary boot time sirgazil via Bug reports for GNU Guix
2020-01-11 15:05 ` Danny Milosavljevic
2020-01-11 22:54   ` sirgazil via Bug reports for GNU Guix
2020-01-17 21:39   ` Ludovic Courtès
2020-05-03 17:15     ` Ricardo Wurmus
2020-05-03 17:18       ` Ricardo Wurmus
2020-01-11 15:07 ` sirgazil via Bug reports for GNU Guix

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.