Tweaking startup times

I’ve been tweaking my system in order to speed up start up time. The best I’ve achieved is:
Startup finished in 6.977s (kernel) + 20.852s (userspace) = 27.830s

Possibly I’m at the limit of my system - core i7 960 @ 3.2 Ghz; 12 GB memory; ATA ST31000528AS
it seems to me that 20 seconds to reach user space is a bit long.

Thoughts / ideas?

systemd-analyze critical-chain 
        graphical.target @15.654s
        └─multi-user.target @15.654s
          └─ntp.service @13.563s +2.091s
            └─network-online.target @13.548s
              └─network.target @13.548s
                └─wpa_supplicant.service @15.547s +5.305s
                  └─basic.target @9.314s
                    └─sockets.target @9.314s
                      └─snapd.socket @9.261s +50ms
                        └─sysinit.target @9.103s
                          └─apparmor.service @7.502s +1.600s
                            └─local-fs.target @7.486s
                              └─run-cgmanager-fs.mount @10.309s
                                └─local-fs-pre.target @3.698s
                                  └─systemd-remount-fs.service @3.638s +45ms
                                    └─system.slice @1.927s
                                      └─-.slice @1.919s

Hi Peter,

I don’t worry about such things to be honest and I have never really timed my PC’s boot times, I have noticed that shutting down can take some time but who cares!. :smiley:

1 Like

I’m not overly concerned … I’m using this as a learning experience for systemd

1 Like

My brain is far too small for such matters!. :smiley:

Or just quite possibly more discerning :wink:

1 Like

I don't know whether or not it is discerning but it just doesn't bother me at all to be honest!. :smiley:

2 Likes

Use an SSD as your system drive I have a Clarkdale i3 with only 8GB and my system is reporting Startup finished in 2.541s (kernel) + 9.836s (userspace) = 12.378s Interestingly enough it takes noticeably longer to boot from hibernate because I put the swap space on a spinning drive.

2 Likes