Ask Your Question
1

Slow boot time on Fedora 22

asked 2015-11-01 16:16:41 -0500

cicco gravatar image

Hello, I'm just a desktop, simple user; by the way I quitted windows several years ago (almost 8) for Ubuntu (first years), then xubuntu (really old laptops) and now I decided to run Fedora workstation 22 on my Lenovo Thinkpad X201 with 4 GB of RAM, intel Core i5 CPU M 560 @ 2.67GHz × 4 and HDD. I start to really enjoy it (from both technical and interface point of view), but I have some trouble when starting sessions: if I run "systemd-analyze" and "analyze blame" I get the followings:

[andrea@localhost ~]$ systemd-analyze

Startup finished in 2.164s (kernel) + 3.795s (initrd) + 31.526s (userspace) = 37.486s

and

[andrea@localhost ~]$ systemd-analyze blame
     10.800s dev-mapper-fedora\x2droot.device
      8.890s firewalld.service
      7.219s systemd-udev-settle.service
      4.983s libvirtd.service
      4.779s packagekit.service
      2.840s chronyd.service
      2.802s systemd-logind.service
      2.787s mcelog.service
      2.473s abrtd.service
      2.373s lvm2-monitor.service
      2.161s accounts-daemon.service
      1.903s proc-fs-nfsd.mount
      1.695s lvm2-pvscan@8:2.service
      1.572s fedora-readonly.service
      1.536s systemd-tmpfiles-setup-dev.service
      1.405s NetworkManager.service
      1.133s polkit.service
      1.119s plymouth-start.service
      1.029s systemd-journald.service
       811ms dnf-makecache.service
       794ms gssproxy.service
       729ms systemd-remount-fs.service
       718ms systemd-backlight@backlight:acpi_video0.service

In my opinion it's kind of slow... I can't really understand what can I do, also because as I wrote before I'm not an expert at all! Do you think there's anything possible to do to reduce it? I already had good results by disactivating some services (following online tips). It's really taking too much time from when I turn on to when I can start working.

If anybody could help me I'd be grateful, for I'd really like to go on with Fedora.

Thank you very much

edit retag flag offensive close merge delete

Comments

1

If you do not plan to run any virtual machines, you can disable libvirtd.service as well.

anishjp gravatar imageanishjp ( 2015-11-02 03:49:30 -0500 )edit
1

Welcome to ask.fedora! Personally, I don't see a problem here; I have a dual-core CPU at 1.8 Gh, with 8 GB RAM on my desktop ant it takes 1min 40.003 s to boot. Of course, I only reboot for kernel upgrades. Remember, though, that this doesn't show how long it takes your Display Manager to start and give you a logon screen, just how long it would take to bring up a text console with a logon prompt.

sideburns gravatar imagesideburns ( 2015-11-02 18:16:49 -0500 )edit
1

I do have a similar machine, maybe slightly better (X201, M560, 8GB, 256 GB SSD), and one major difference that I notice is that x2droot.device takes considerably less time (- 8 sec): 2.064s dev-mapper-fedora\x2droot.device. No clue for the reason though.

Here is the rest of it, in case you want to compare

 5.059s plymouth-quit-wait.service
 2.566s systemd-udev-settle.service
 2.064s dev-mapper-fedora\x2droot.device
 1.773s dev-sdc1.device
 1.008s plymouth-start.service
 975ms firewalld.service
 696ms libvirtd.

Maybe your hard drive is slow...?

florian gravatar imageflorian ( 2015-11-02 21:01:45 -0500 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2015-11-06 06:13:36 -0500

cicco gravatar image

Thank you all very much, I really like this collaborative spirit and I hope being able to help others in the future as you do.

@anishjp Sometimes I have to run virtual machines, but thanks anyway :D

@sideburns Exactly: it takes more than a minute to get to the login screen

@Florian Probably I will go for a SSD in the future, because is definitely my hard drive the problem.

Actually I upgraded to F23 and it works really really good. Also boot time improved in my case, I think it takes less to start networking.

Thank you all again

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-11-01 16:16:41 -0500

Seen: 2,173 times

Last updated: Nov 06 '15