You are not logged in.
Pages: 1
Hello, this is my first time posting. I've been on Arch for about a week now, and it's been going well. I've recently been attempting to reduce my boot time however, and I am finding it difficult due to my lack of knowledge of systemd and the boot process. Below is my systemd blame and critical chain output that is showing me dev-sda2.device is taking 7 seconds to do whatever.
$ systemd-analyze blame
7.320s dev-sda2.device
2.285s systemd-udevd.service
1.720s systemd-journald.service
1.146s accounts-daemon.service
850ms user@120.service
789ms systemd-journal-flush.service
744ms systemd-tmpfiles-setup.service
711ms systemd-sysctl.service
700ms systemd-binfmt.service
670ms systemd-tmpfiles-setup-dev.service
609ms tmp.mount
607ms dev-mqueue.mount
607ms systemd-remount-fs.service
605ms sys-kernel-debug.mount
605ms dev-hugepages.mount
602ms sys-kernel-config.mount
433ms proc-sys-fs-binfmt_misc.mount
318ms kmod-static-nodes.service
288ms polkit.service
281ms NetworkManager.service
258ms systemd-random-seed.service
222ms systemd-logind.service
217ms systemd-udev-trigger.service
214ms alsa-restore.service
212ms systemd-user-sessions.service
$ systemd-analyze critical-chain
graphical.target @9.448s
`-gdm.service @9.384s +63ms
`-systemd-user-sessions.service @9.163s +212ms
`-basic.target @9.161s
`-sockets.target @9.161s
`-dbus.socket @9.161s
`-sysinit.target @8.934s
`-systemd-rfkill@rfkill1.service @9.383s +3ms
`-system-systemd\x2drfkill.slice @8.118s
`-system.slice @1.825s
`--.slice @1.825s
I've found 2 similar posts that seem to talk about that,
https://bbs.archlinux.org/viewtopic.php?id=196758
https://bbs.archlinux.org/viewtopic.php?id=196786
I've also read the following to try and get a better understanding of improving boot speeds,
https://wiki.archlinux.org/index.php/Im … erformance
So it seems dev-sda2.device is probably the fsck that occurs on boot for that partition?
/dev/sda2 455G 6.4G 425G 2% /
That partition is mounted on root.
My question for all of you lovely people is: Is there anything you would recommend for my system to improve its boot time? Alternatively, are there any newbie-friendly documents you would recommend I read through for that?
Offline
Alternatively, are there any newbie-friendly documents you would recommend I read through for that?
I'd recommend you go back and read that wiki page you linked. Are you confused about anything specific on that page?
You boot to the graphical target in less than ten seconds. Do you really need it to be faster than that? Are you using a spinning hard drive or an SSD?
Last edited by 2ManyDogs (2015-08-24 15:33:18)
Offline
Pages: 1