You are not logged in.

#1 2014-11-06 16:56:04

leonixyz
Member
Registered: 2014-07-12
Posts: 64

[SOLVED] Boot from SSD becomes slower

I installed Arch six months ago on the new SSD disk of my laptop. When I power it up, sometimes the boot is really fast, as it should be (around 15 seconds); but some other times it lasts several seconds more. I didn't counted exactly, but I feel the whole init phase, including loading kernel and initramfs, is slower.
The system is configured to log in automatically and also autolauch X with awesome-wm. I'm sure the times I experience these delays, this last phase (starting X) is 3-4 even 5 seconds slower. I noticed that these delays happen always when the laptop that has been off for "much time" (a day).

What could I do to find out and correct the reason for this slowness? Thanks in advance


Edit: I think I found out part of the problem... I use anything-sync-daemon for having a tmpfs mountpoint in my $HOME, and  I noticed 300 MB stuff there, stuff that I forgot to delete. So it could be that part of the delay was caused by putting that data from disk to memory.

But what about X?

Last edited by leonixyz (2014-11-07 06:55:54)

Offline

#2 2014-11-06 17:44:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Boot from SSD becomes slower

Any data to back this up? Output from 'systemd-analyze blame'?
Is man-db and updatedb running at boot?

Offline

#3 2014-11-06 18:18:59

leonixyz
Member
Registered: 2014-07-12
Posts: 64

Re: [SOLVED] Boot from SSD becomes slower

mandb or updatedb are not enabled to run on boot

but this other command was useful, notice asd and psd how much time they take...

# systemd-analyze blame
17.164s asd.service
8.185s psd.service
7.530s NetworkManager.service
608ms psd-resync.service
417ms systemd-logind.service
346ms polkit.service
252ms alsa-restore.service
250ms user@1000.service
212ms asd-resync.service
202ms systemd-vconsole-setup.service
99ms wpa_supplicant.service
97ms systemd-udev-trigger.service
71ms dev-hugepages.mount
68ms systemd-rfkill@rfkill0.service
64ms dev-sda2.swap
61ms systemd-rfkill@rfkill1.service
55ms tmp.mount
54ms systemd-journal-flush.service
51ms systemd-update-utmp.service
51ms systemd-tmpfiles-setup.service
47ms systemd-tmpfiles-setup-dev.service
45ms kmod-static-nodes.service
44ms dev-mqueue.mount
44ms systemd-sysctl.service
43ms sys-kernel-debug.mount
36ms systemd-backlight@backlight:intel_backlight.service
33ms systemd-backlight@backlight:acpi_video0.service
32ms sys-kernel-config.mount
30ms systemd-tmpfiles-clean.service
27ms systemd-remount-fs.service
25ms systemd-user-sessions.service
22ms systemd-random-seed.service
21ms systemd-udevd.service

thank you



Edit:
I think this post has to be deleted because it is unuseful... The reason is that I figured out it was only my fault because the overload of asd's work

Last edited by leonixyz (2014-11-06 18:32:01)

Offline

Board footer

Powered by FluxBB