You are not logged in.

#1 2012-11-10 14:36:05

kev717
Member
Registered: 2011-06-08
Posts: 67
Website

My laptop boot speed is comparatively slow. How can I speed it up?

My main computer should be relatively slow compared to my laptop (based on specs), but for some reason my laptop takes almost twice as long to boot as my main computer.  Both are using HDDs.  Getting to a usable desktop on login takes about 80 seconds from the time the bootloader boots the system on my laptop, but only 43 seconds on my big computer.  This is what I get from systemd-analyze blame on my laptop:

systemd-analyze blame
  9349ms NetworkManager.service
  3790ms gdm.service
  3702ms systemd-logind.service
  1406ms systemd-modules-load.service
  1334ms polkit.service
  1323ms systemd-udevd.service
  1318ms systemd-udev-trigger.service
  1179ms systemd-remount-fs.service
  1096ms dev-mqueue.mount
  1071ms sys-kernel-debug.mount
  1061ms dev-hugepages.mount
   602ms rtkit-daemon.service
   399ms systemd-tmpfiles-setup.service
   383ms systemd-vconsole-setup.service
   282ms systemd-sysctl.service
   269ms systemd-user-sessions.service
   244ms wpa_supplicant.service
   226ms colord.service
   199ms console-kit-log-system-start.service
   162ms accounts-daemon.service
   145ms console-kit-daemon.service
   122ms udisks2.service
    90ms upower.service
    36ms boot.mount
    21ms tmp.mount
     2ms sys-fs-fuse-connections.mount

The output from systemd-analyze plot is here: http://i.imgur.com/BPvHj.png
Is there any way to speed up the systemd boot process?  It used to be significantly quicker but slowed down after upgrading to systemd.
Sorry if this is posted in the wrong place...  I am not very familiar with the forum...

Laptop specs:
1.66 GHz processor (dual core - Intel Atom N450)
1 GB RAM
160 GB 5400 RPM hard drive

--
kev717.


If I code something, it's probably at https://github.com/kellcodes

Do **NOT** expect a response from me.

Offline

#2 2012-11-10 14:44:41

kaszak696
Member
Registered: 2009-05-26
Posts: 543

Re: My laptop boot speed is comparatively slow. How can I speed it up?

Laptop HDDs are slower than regular 3'5. Besides, the graph you posted shows that your system boot took only 20 seconds. The other 60 is most likely gnome's fault. If you are running newest GNOME 3.6, consider uninstalling consolekit, it's no longer in repositories, and might cause problems.


'What can be asserted without evidence can also be dismissed without evidence.' - Christopher Hitchens
'There's no such thing as addiction, there's only things that you enjoy doing more than life.' - Doug Stanhope
GitHub Junkyard

Offline

#3 2012-11-10 14:50:13

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: My laptop boot speed is comparatively slow. How can I speed it up?

according to the plot your system is booted up after about 20 seconds, with GDM already being up at around 15 seconds. So as far as I can see, what is slowing down your boot is actually the login which systemd isn't directly involved in. What DE are you using? Maybe you have something in your DE autostart that causes this delay.

There are however small optimizations you can do with systemd. For one, remove ConsoleKit, you don't need it anymore. Also systemd-modules-load.service takes a long time. You may want to check if you actually have to manually load whatever modules you are loading via /etc/modules-load.d/. For example loading cpufreq or kvm drivers isn't necessary anymore.

Offline

Board footer

Powered by FluxBB