Raspberry Pi Zero 2 W bootup time?


Author Message
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 1869
Posted: 03:20pm 25 Nov 2021      

Does anyone yet have a Raspberry Pi Zero 2 W?

I'm wondering about the bootup time. With a Raspberry Pi Zero W, systemd-analyze gives me this (39.313s):

$ systemd-analyze
Startup finished in 4.497s (kernel) + 34.815s (userspace) = 39.313s
graphical.target reached after 34.481s in userspace


led-bloon

Senior Member

Joined: 21/12/2014
Location: Australia
Posts: 132
Posted: 12:38am 26 Nov 2021      

Raspberry Pi Zero 2 W

Buster-Std armv7l
kernel:  5.10.63-v7+
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"

Startup finished in 4.012s (kernel) + 13.572s (userspace) = 17.585s
graphical.target reached after 13.356s in userspace

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bullseye-Full armv7l
kernel:  5.10.63-v7+
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"

Startup finished in 4.117s (kernel) + 19.353s (userspace) = 23.470s
graphical.target reached after 18.778s in userspace

led
edit: Confirmed hardware
Edited 2021-11-26 10:40 by led-bloon

lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 1869
Posted: 01:22am 26 Nov 2021      

Thank you very much, but really? -- buster 17.585s; bullseye 23.470s. 33% increase. Talk about bloat.

scruss
Newbie

Joined: 20/09/2021
Location: Canada
Posts: 37
Posted: 03:35am 26 Nov 2021      

How often do you reboot? I'm more used to keeping the thing going than boot times, so I like the 5x speedup from the Zero.

(I've had a Zero 2 W since the Sooper Sekrit Reseller-only session in early October. Decent machine, and what they've done to stop it getting too hot is pretty marvellous.)

lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 1869
Posted: 03:47am 26 Nov 2021      

  scruss said  How often do you reboot? I'm more used to keeping the thing going than boot times, so I like the 5x speedup from the Zero.


It's not an issue for me personally (usually--today I've been running something on a pi zero w which requires rebooting when I encounter an error--several dozen reboots today (but that's not why I asked the question)).

My question was to find out the extent to which the Pi Zero 2 W might resolve the issue for those who want their MMBasic to be "instant on" like the CMM2. I didn't expect it to reach that speed, but 17 seconds wouldn't seem too intolerable to me (nor, to me, would 23 seconds).

led-bloon

Senior Member

Joined: 21/12/2014
Location: Australia
Posts: 132
Posted: 07:12am 26 Nov 2021      

Here are the figures for both Buster & Bullseye Lite versions
(which are the ones recommended for running Pi-cromite MMBasic)
Some of Bullseye figures are "strange" to say the least, and note
the "graphical.target", I had to double check it was indeed the
Lite version.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buster-Lite armv7l
kernel:  5.10.63-v7+
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"

Startup finished in 4.033s (kernel) + 15.376s (userspace) = 19.410s
multi-user.target reached after 15.315s in userspace

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bullseye-Lite armv7l
kernel:  5.10.63-v7+
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"

Startup finished in 4.089s (kernel) + 21.440s (userspace) = 25.529s
graphical.target reached after 16.516s in userspace

led

PS Pi-cromite runs quite well on both versions although not fully tested!

Edit: Peter named his MMBasic port Pi-cromite not Picromite (but I'm a lazy
two-fingered typer, like so many others). I've corrected anyway.
Edited 2021-11-26 18:27 by led-bloon

lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 1869
Posted: 01:37pm 26 Nov 2021      

Odd that the "lite" version takes longer than the non-lite.

  led-bloon said  PS Pi-cromite runs quite well on both versions although not fully tested!


That would be great. Did you test pin control? As I recall, that was the problem the last time I looked--pigpio acting up.

Calli
Newbie

Joined: 20/10/2021
Location: Germany
Posts: 38
Posted: 04:42pm 26 Nov 2021      

There is a project to boot a Pi3(!) in less than 2 seconds:

https://furkantokac.com/rpi3-fast-boot-less-than-2-seconds/

led-bloon

Senior Member

Joined: 21/12/2014
Location: Australia
Posts: 132
Posted: 03:42am 27 Nov 2021      

  Quote  PS Pi-cromite runs quite well on both versions although not fully tested!

My apologies, the above is an over-simplification of the software performance.
I got a command prompt. I ran speedtest.bas ok. From memory, that's about it.
The Zero 2 is for the collection, and not for any general use, hence no GPIO
pin-headers soldered.  I was more directed to the fact that it ran on Bullseye ok.
led