3 ms·
It's pretty fast though. I experimented with minimal sysv init setups a bit about 15-20 years ago. I got boot times of like 10-15 seconds. This was off mechanic
by marginalia_nu 4y ago
It's pretty fast though. I experimented with minimal sysv init setups a bit about 15-20 years ago. I got boot times of like 10-15 seconds. This was off mechanical hard drives. Your average system took minutes to boot back then. I'd guess modern hardware would boot basically in a second (after POST).
- amelius 4y agoI wonder when we finally get lazy booting. I.e., services get initialized when they are actually being used.
- marginalia_nu 4y agoI question whether there's any point to that. Would just make the system randomly and inexplicably sluggish until everything been fully initialized. That's a pretty miserable experience.
- amelius 4y agoWhy? The system can still boot stuff in the background, even if it's not needed yet.
- marginalia_nu 4y agoThat makes stuff sluggish though. I have a laptop that does that. A full minute after it's at the desktop, it can't even render the mouse cursor smoothly, it's so busy doing stuff in the background. I'd rather wait until its responsive than have this.
- qbasic_forever 4y agoPretty much every distro does this now, at least big distros like Ubuntu. Systemd did a ton of work to allow the entire init process to happen as lazily as possible with on demand socket, file and other unit activation. I don't think systemd gets enough respect for just how much it has massively improved booting into a ready machine.
- deleted 4y ago[deleted]
- ktm5j 4y agoI agree. I spent a lot of time working with systemd for work and was perfectly happy with it.
- chlorion 4y agoYeah, all systemd distros do this unless they for some reason are disabling it for specific services. It makes a big difference too! I have used openrc and systemd on my desktop machine, and openrc by default is synchronous, it starts services one at a time and has to wait for each one to start before moving along. With systemd, it can start services asynchronously and in parallel! The difference in boot time is significant! Openrc does support parallel startup but it's disabled by default because it can cause dead locks.
- pmalynin 4y agoThats how agents / daemons startup on iOS / macOS. They don't for the most part-up start up on boot or when a user-session is created -- but rather launchd will spawn them when it has to deliver the first message.