You are not logged in.
Pages: 1
First of all, hello everyone. This is my first post on Arch Linux forums, so don't hesitate to correct me if I am doing something wrong.
I have been trying to reduce the boot time on my HDD;
-Using readahead
-Quiet boot
I have managed to reduce the boot time dramatically, but there is a problem, which is a task on boot called dev-sda2.device and it takes more than 6 seconds
systemd-analyze
Startup finished in 1.226s (firmware) + 123ms (loader) + 5.340s (kernel) + 11.205s (userspace) = 17.895s
systemd-analyze blame
6.283s dev-sda2.device
1.728s systemd-readahead-collect.service
1.728s systemd-readahead-replay.service
1.215s wicd.service
656ms systemd-udevd.service
487ms systemd-fsck@dev-sda1.service
443ms systemd-udev-trigger.service
438ms systemd-vconsole-setup.service
381ms systemd-sysctl.service
380ms boot.mount
378ms systemd-journald.service
259ms kmod-static-nodes.service
244ms systemd-remount-fs.service
202ms sys-kernel-config.mount
200ms dev-mqueue.mount
199ms sys-kernel-debug.mount
180ms tmp.mount
179ms dev-hugepages.mount
134ms systemd-tmpfiles-setup-dev.service
64ms user@1000.service
53ms systemd-user-sessions.service
49ms systemd-logind.service
43ms wpa_supplicant.service
25ms systemd-random-seed.service
24ms systemd-readahead-done.service
23ms systemd-tmpfiles-setup.service
5ms systemd-journal-flush.service
5ms systemd-update-utmp.service
4ms alsa-restore.service
3ms systemd-rfkill@rfkill0.service
2ms systemd-rfkill@rfkill3.service
2ms systemd-rfkill@rfkill1.service
1ms systemd-rfkill@rfkill2.service
1ms systemd-backlight@backlight:intel_backlight.service
systemd-analyze critical-chain
graphical.target @11.205s
└─multi-user.target @11.205s
└─wicd.service @9.989s +1.215s
└─basic.target @9.986s
└─sockets.target @9.985s
└─dbus.socket @9.985s
└─sysinit.target @9.861s
└─systemd-update-utmp.service @9.855s +5ms
└─systemd-tmpfiles-setup.service @9.830s +23ms
└─local-fs.target @9.829s
└─boot.mount @9.447s +380ms
└─systemd-fsck@dev-sda1.service @8.959s +487ms
└─dev-sda1.device @8.959s
As you can see, dev-sda2.device takes too long and I have no idea what it is. I have been searching it for two days, and found only one topic here, which didn't help me, so I am posting this topic.
-I updated my system today.
-UEFI
-Gummiboot
I know that 17 seconds is a very fast boot, but I want to make it faster. Why not if I can?
Thanks...
EDIT: Updating the system again fixed this.
Last edited by atahanacar (2015-05-19 10:35:31)
Offline
Did you read https://bbs.archlinux.org/viewtopic.php?id=196758 ?
Offline
Did you read https://bbs.archlinux.org/viewtopic.php?id=196758 ?
I was talking about that topic exactly.
Offline
What file system are you using, and what is the mount point for /dev/sda2?
there could be some mount options depending on your filesystem, that could slow down/speed up mounting.
depending on mount point, using x-systemd.automount option could help.
I actually have similar issue where mounting of my /home on btrfs takes 6-7s of my 18s boot time and I haven't found a solution. Most of the time I just suspend/hibernate my laptop anyway, so it's not such a big issue for myself.
Offline
/dev/sda1 is fat32 and mounted as /boot
/dev/sda2 is ext4 and mounted as /
Offline
Solved after updating the system.
Offline
Pages: 1