Comments on: Optimizing a boot time, aka 2 second boot Blogs and Ramblings of the openSUSE Members Fri, 06 Mar 2020 17:50:09 +0000 hourly 1 By: Thomas Langkamp Sun, 07 Oct 2012 11:25:10 +0000 On another machine I wait very long for nfsserver to start (its a fast system with an SSD). This is when no nfs-client is online, and also when one is online, but I have configured them to not auto-mount. So there is no activity required of NFS at boot. Would it be possible to delay the start of the nfsserver.service to say 1 minute after the boot finished? How?

systemd-analyze blame | head
7136ms syslog.service
7127ms systemd-logind.service
5871ms nfsserver.service
805ms md.service

By: tomtomme Wed, 03 Oct 2012 11:53:31 +0000 nice after switching to Network manager bootup is also twice as fast for me – but why is ifup so slow?

systemd-analyze blame | head
1859ms nfsserver.service
1473ms SuSEfirewall2_setup.service
811ms SuSEfirewall2_init.service
569ms network-remotefs.service
564ms xdm.service
488ms systemd-logind.service
430ms nmb.service
328ms syslog.service
302ms NetworkManager.service
250ms nfs.service

Startup finished in 3825ms (kernel) + 15064ms (userspace) = 18889ms

By: philomath Sat, 01 Sep 2012 23:11:44 +0000 Is it safe to just mask vconsole.service?

By: SUSE Mon, 30 Jul 2012 23:11:37 +0000 2 second boot is great,

but what about a 2 second startup of firefox, which is achievable in other distro but averaged 30 seconds in openSUSE.

By: Bruno Friedmann Mon, 30 Jul 2012 17:30:30 +0000 Well with plymouth entering the danse in 12.2, did we really need that splashy things ?
Okay plymouth and branding are heavy on initrd cause we need all the graphics present before you unlock the crypted disk on you laptop (cause you have it, otherwise its no more your data 🙂
Should we adapt a minimalistic text prompt and sacrifice the beauty?
Can we have both alternative, a branding quick boot and a branding nice my life?
Both of that look like nice pretendant for a bof at Summit and OSC no ?

By: Michal Vyskocil Mon, 30 Jul 2012 12:31:38 +0000 @Andreas Jaeger: sure, I tested dracut as well. Frederic pointed me to some cool switches reduced a kernel time a bit.

@Wolfgang: the trick is not run NM through /etc/init.d/network, but mask it and use native NetworkManager.service. Then no dependencies are included.

@zoehneto: sure, I sent a patch to maintainer

@Petr Uzel: unfortunately I did rpm -e –force. The workaround would be split mkinitrd setup macros to suspend-mkinitrd with Supplements: packageand(suspend:mkinitrd) -will send a request.

@jospoortvliet: I see three things to do – 1.) purge-kernels (and continue with systemdification), 2.) enable NM.service with laptop pattern, 3.) split the suspend mkinitrd files to enable simple removal – or adapt dracut.

By: jospoortvliet Mon, 30 Jul 2012 10:15:34 +0000 BTW where’s the second blog 😀

I’m quite excited about these improvements, hope some of them can somehow make it into 12.2 or at least 12.3…

By: jospoortvliet Mon, 30 Jul 2012 10:14:32 +0000 Yeah, I bumped into the same. I’m OK with dumping any fancy boot if we can boot all openSUSE systems in 7 seconds, but then suspend should of course work…

By: Petr Uzel Fri, 27 Jul 2012 09:08:22 +0000 Great post, thanks.

+1 on pushing your purge-kernel.service to 12.2

One more additional question: how to remove splashy without breaking suspend? Suspend seems to depend on it. TIA

By: zoehneto Thu, 26 Jul 2012 19:02:54 +0000 Thanks for the great post. Could you please make sure that your purge-kernel.service file is integrated into the appropriate package so all openSUSE users can benefit from it.