3 ms·
> systemd is sort of like if microsoft word took on system init. In the beginning it was small, but now it is web based and does videoconferencing And it's slo
by oguz-ismail 2y ago
> systemd is sort of like if microsoft word took on system init. In the beginning it was small, but now it is web based and does videoconferencing
And it's slow. Windows 11 boots in 5 seconds on my laptop, Ubuntu 22 used to take about a minute before I finally made the switch.
- dralley 2y agoThat almost certainly has little to do with systemd itself, and more to do with which services are enabled on boot.
- lmm 2y agoIt's due to systemd in that systemd makes it too fiddly to figure out or change which services are enabled on boot. (I used to know a way to disable certain services on boot under systemd, but it doesn't work any more, and I've reached a state of learned helplessness at this point)
- vetinari 2y ago`systemctl disable` and `systemctl mask` work today just like they worked decade and half ago.
- lmm 2y agoI don't know if they're the recommended way of doing things today, but they weren't what was in the manual when I was learning.
- RandomThoughts3 2y agoThey are there from the start and were always the recommended way to do things in the documentation. I mean the command is literally disable. The command to list services enabled on boot is also completely esoteric: systemctl list-unit-files --state=enabled
- cyberax 2y agoMy system boots systemd in 2 seconds from the firmware handover to my code fully running. And this includes device initialization and a DHCP lease renewal. On VMs you can get to within 200ms for a full system. You can use `systemd-analyze critical-chain` to visualize the boot process. The slowdown is likely caused by something unexpected.
- mariusor 2y agoWindows 11 probably uses Fast Startup for those speedy boot times, which is to say that it's not a "cold" boot. Apples and oranges and all that...
- mananaysiempre 2y ago> Windows 11 boots in 5 seconds on my laptop Try measuring a reboot instead. On modern Windows versions with “fast startup” enabled, the “Shutdown” button is a lie: it logs you out and hibernates the system instead of actually shutting it down. (This is important if you dual boot, because it means you can’t safely access the Windows partition in the interim.)
- oguz-ismail 2y ago> the “Shutdown” button is a lie: it logs you out and hibernates the system instead of actually shutting it down I'm okay with that. How do I enable this on Ubuntu?
- bmicraft 2y agoAre you seriously complaining right now that systemd doesn't have a specific feature no other init for linux has either, while at the same time complaining it is too complicated and does too much stuff?
- oguz-ismail 2y agoI'm asking a question