Fedora Linux Support Community & Resources Center
  #16  
Old 15th September 2012, 09:14 PM
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 7,320
linuxfirefox
Re: increasing boot speed

Good point, marko.

The way that systemd starts multiple services at one time now, you might disable a unneeded service but not shave a bit of time off of the total boot time simply because another service is taking longer than it should to start.
Reply With Quote
  #17  
Old 17th September 2012, 02:01 AM
JamesNZ Offline
Registered User
 
Join Date: Aug 2010
Location: Wellington, New Zealand
Age: 17
Posts: 907
linuxchrome
Re: increasing boot speed

Quote:
Originally Posted by DBelton View Post
Good point, marko.

The way that systemd starts multiple services at one time now, you might disable a unneeded service but not shave a bit of time off of the total boot time simply because another service is taking longer than it should to start.
Could you explain that a bit further? I ask because I've disabled at least 3 services but my boot time has stayed solidly around 32 secs, even though by my calculations Fedora should be booting about 3-5 secs faster
__________________
"For what is a man profited if he gains the whole world, but loses his own soul?"

- Jesus
Reply With Quote
  #18  
Old 17th September 2012, 02:29 AM
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 7,320
linuxfirefox
Re: increasing boot speed

Say for example, systemd starts 3 services at one time.

A takes 45 seconds, B takes 30 seconds, C takes 15 seconds.

All three services being started takes 45 seconds.

Now, if you disable C, the total time is still 45 seconds, since A is still taking 45 seconds to finish, even though you disabled C which took only 15 seconds.
Reply With Quote
  #19  
Old 17th September 2012, 03:10 AM
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,831
linuxfirefox
Re: increasing boot speed

This command

systemd-analyze plot >/tmp/sysplot.xml ; firefox /tmp/sysplot.xml

will bring up a bar graph of the startup. The portions in red represent processes that are
holding up others from proceeding. Some can be eliminated, some can be made faster,
some cant be improved.

So for example you may be able to drop the fedora-wait-storage.service, but you likely don't
get rid of NetworkManager.

NB the graph seems to be imperfect.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #20  
Old 17th September 2012, 10:44 AM
brandondstaffor Offline
Registered User
 
Join Date: Sep 2012
Location: San Mateo, California
Posts: 1
windows_7chrome
Re: increasing boot speed

You can increase the boot speed for Fedora by following these steps. Firstly while booting check which service takes a lot of time to start, you may disable it if not required. Check what timeout value you have in /etc/grub.conf, you may reduce a couple of seconds there. Install and launch system-config-services , stop and disable all the unwanted services. That should certainly help your boot time. You will feel the difference.
Reply With Quote
  #21  
Old 17th September 2012, 09:38 PM
qkurdej Offline
Registered User
 
Join Date: Sep 2012
Location: Poland
Posts: 6
linuxopera
Re: increasing boot speed

Code:
 5406ms udev-settle.service
  3137ms fedora-storage-init.service
  1603ms fedora-readonly.service
  1581ms boot.mount
  1563ms NetworkManager.service
  1321ms systemd-vconsole-setup.service
  1089ms ip6tables.service
  1031ms systemd-remount-fs.service
  1008ms iptables.service
   812ms avahi-daemon.service
   792ms systemd-logind.service
   732ms udev-trigger.service
   699ms udev.service
   695ms chronyd.service
   593ms media.mount
   587ms dev-mqueue.mount
   583ms dev-hugepages.mount
   547ms livesys.service
   538ms fedora-storage-init-late.service
   529ms sys-kernel-debug.mount
What I don't like is fact, that it takes almost 1 minute for initramfs to start..
Here's my systemd-analyze output:
Code:
Startup finished in 880ms (kernel) + 58178ms (initramfs) + 13562ms (userspace) = 72621ms
I'd attach my svg plot from systemd-analyze, but it's too large.
Best regards!

Last edited by qkurdej; 17th September 2012 at 09:41 PM.
Reply With Quote
  #22  
Old 19th September 2012, 01:16 AM
JamesNZ Offline
Registered User
 
Join Date: Aug 2010
Location: Wellington, New Zealand
Age: 17
Posts: 907
linuxchrome
Re: increasing boot speed

Quote:
Originally Posted by DBelton View Post
Say for example, systemd starts 3 services at one time.

A takes 45 seconds, B takes 30 seconds, C takes 15 seconds.

All three services being started takes 45 seconds.

Now, if you disable C, the total time is still 45 seconds, since A is still taking 45 seconds to finish, even though you disabled C which took only 15 seconds.
Oh, I see ....
__________________
"For what is a man profited if he gains the whole world, but loses his own soul?"

- Jesus
Reply With Quote
Reply

Tags
boot, increasing, speed

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
speed up device discovery on boot mertens Using Fedora 0 13th March 2010 09:53 PM
Speed up boot... icanfly0307 Using Fedora 17 24th January 2009 01:51 PM
Speed up your boot time! Firewing1 Guides & Solutions (No Questions) 19 26th January 2007 05:24 AM
Increasing Net Speed GrayFox^ Using Fedora 2 27th March 2005 08:46 AM


Current GMT-time: 07:40 (Thursday, 18-09-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