Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
  #1  
Old 16th February 2012, 05:15 PM
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 5,461
linuxfedorafirefox
How long does systemd take for you?

I was curious to see how much total time systemd takes to start all the services, since my boot times in Fedora with systemd are about 10-12 seconds longer than with the old SysV init system. So I looked at the systemd-analyze blame command and used awk to add up the times. Of course systemd starts services in parallel, so the sum of the individual times is far greater than the actual time it takes to boot (given by the systemd-analyze time command). But I thought it was interesting to see nonetheless. Here are the commands I ran:
Code:
systemd-analyze blame|awk '{print $0;sum=sum+$1} END {print NR,"services: Total =",sum/1000,"seconds"}'
systemd-analyze time
and here's the output:
Code:
$ systemd-analyze blame|awk '{print $0;sum=sum+$1} END {print NR,"services: Total =",sum/1000,"seconds"}'
 16117ms remount-rootfs.service
 12878ms systemd-vconsole-setup.service
 10940ms media.mount
 10854ms sys-kernel-debug.mount
 10815ms dev-mqueue.mount
 10023ms systemd-remount-api-vfs.service
  8669ms fedora-storage-init.service
  5769ms udev-settle.service
  4109ms udev-trigger.service
  4088ms udev.service
  2861ms network.service
  2270ms fedora-wait-storage.service
  1979ms dkms_autoinstaller.service
  1744ms systemd-sysctl.service
   915ms console-kit-log-system-start.service
   742ms gpm.service
   672ms rsyslog.service
   552ms lm_sensors.service
   535ms systemd-readahead-collect.service
   534ms systemd-readahead-replay.service
   388ms fedora-storage-init-late.service
   360ms gnustep.service
   268ms sendmail.service
   211ms fedora-readonly.service
   175ms systemd-logind.service
   160ms systemd-user-sessions.service
   140ms dbus.service
   126ms boot.mount
   108ms xfs.service
    74ms rc-local.service
    59ms sm-client.service
    46ms systemd-tmpfiles-setup.service
    26ms vsftpd.service
    18ms xinetd.service
34 services: Total = 109.225 seconds
$ systemd-analyze time
Startup finished in 1836ms (kernel) + 3633ms (initramfs) + 28530ms (userspace) = 34000ms
So it took 34 seconds to boot, despite all 34 services taking about 109 seconds.

Post your output here!
__________________
OS: Fedora 20 x86_64 | Machine: HP Pavilion a6130n | CPU: AMD 64 X2 Dual-Core 5000+ 2.6GHz | RAM: 5GB PC5300 DDR2 | Disk: 400GB SATA | Video: ATI Radeon HD 4350 512MB | Sound: Realtek ALC888S | Ethernet: Realtek RTL8201N
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS and FC16 and systemd lensman3 Servers & Networking 4 15th March 2012 01:58 AM
A Journal Comes To systemd tox Linux Chat 0 19th November 2011 03:25 AM
[SOLVED] cussing systemd - any way to get rid of it? DBelton F15 Development 36 29th March 2011 05:26 PM
tar -czf taking long long time shariqnitt EOL (End Of Life) Versions 3 31st January 2011 12:17 PM
systemd? ssidhar F14 Development 5 29th September 2010 07:11 PM


Current GMT-time: 18:51 (Wednesday, 23-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat