Fedora Linux Support Community & Resources Center
  #1  
Old 1st June 2012, 01:26 PM
mmix Offline
Registered User
 
Join Date: Aug 2009
Posts: 742
linuxfirefox
Booting Fedora 17 In Less Than Three Seconds

http://www.phoronix.com/scan.php?pag...tem&px=MTExMDc

http://www.harald-hoyer.de/personal/...5-to-3-seconds

Quote:
It's possible to optimize the Fedora 17 boot process to boot the system in less than three seconds. One developer went from a boot time of 15 seconds down to just 2.5 seconds.
Reply With Quote
  #2  
Old 1st June 2012, 02:17 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,612
linuxfirefox
Re: Booting Fedora 17 In Less Than Three Seconds

yes, he possibly did speed up his boot time, but he now has a wide open system that could be compromised that really does nothing except start a desktop, and screw up the IRQ balancing on a SMP system.

Quote:
I will now turn off all services except NetworkManager. The result will be a Linux system without mail, firewall, printing, the abrt tools, avahi, some mountpoints, rsyslog, irqbalance, and selinux security.
Reply With Quote
  #3  
Old 1st June 2012, 02:27 PM
SlowJet Offline
Registered User
 
Join Date: Jan 2005
Posts: 5,002
linuxfirefox
Re: Booting Fedora 17 In Less Than Three Seconds

Hurd about 10 years ago.

I think I read somewhere that some Hurd parts was going to be used in some new feature.

Away, he has a nice thin cloud client.
He just can't access the cloud.

SJ
__________________
Do the Math
Reply With Quote
  #4  
Old 1st June 2012, 02:45 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,612
linuxfirefox
Re: Booting Fedora 17 In Less Than Three Seconds

He also missed a big pig. He kept Network Manager instead of disabling it and using network.
Reply With Quote
  #5  
Old 1st June 2012, 05:00 PM
nonamedotc's Avatar
nonamedotc Offline
Formerly known as"professorrmd"
 
Join Date: Mar 2011
Posts: 2,613
linuxfirefox
Re: Booting Fedora 17 In Less Than Three Seconds

And this also requires that you do not use encrypted partitions (freedesktop systemd page mentioned encrypted /home is O.K) ....

Sendmail service takes too long to start anyway! Better disabled but I don't know why one would remove IRQ balance! Anyway, without being so vigorous, it is still possible to get reasonably fast boot-times I guess.
Reply With Quote
  #6  
Old 1st June 2012, 09:54 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,612
linuxfirefox
Re: Booting Fedora 17 In Less Than Three Seconds

I do agree there.

There are numerous services one can disable to get a faster boot time that are enabled by default but all systems don't need. But to go in and disable some of the things he did in the article was just plain crazy

And yep, sendmail is one of the first things I disable on my system after an install.
Reply With Quote
  #7  
Old 1st June 2012, 11:18 PM
mmix Offline
Registered User
 
Join Date: Aug 2009
Posts: 742
linuxfirefox
Re: Booting Fedora 17 In Less Than Three Seconds

http://freedesktop.org/wiki/Software.../Optimizations
Reply With Quote
  #8  
Old 5th June 2012, 01:22 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Can I disable the storage services?

Hi, just to clarify.
I'm not using LVM nor RAID. Does that mean that I could disable the fedora-storage services?
Code:
$ systemctl list-units
(snip)
fedora-storage-init-late.service                           loaded active exited        Initialize storage subsystems (RAID, LVM, etc.)
fedora-storage-init.service                                loaded active exited        Initialize storage subsystems (RAID, LVM, etc.)
fedora-wait-storage.service                                loaded active exited        Wait for storage scan
(snip)
Reply With Quote
  #9  
Old 5th June 2012, 01:27 PM
sea's Avatar
sea Online
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,602
linuxfedorafirefox
Re: Booting Fedora 17 In Less Than Three Seconds

If you can... yes you can disable them.
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
Reply With Quote
  #10  
Old 5th June 2012, 08:19 PM
Mariusz W Offline
Registered User
 
Join Date: Nov 2007
Location: Berkeley, California
Posts: 690
linuxfirefox
Re: Booting Fedora 17 In Less Than Three Seconds

What I find really impressive is that shutdown now takes something like 3 seconds (!)
Reply With Quote
  #11  
Old 9th June 2012, 01:52 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: Booting Fedora 17 In Less Than Three Seconds

Quote:
Originally Posted by sea View Post
If you can... yes you can disable them.
Thanks, but I think I can't. Although I don't use LVM and RAID, I have encrypted swap and /home and I think those services are needed for that.
Reply With Quote
  #12  
Old 9th June 2012, 05:46 PM
sea's Avatar
sea Online
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,602
linuxchrome
Re: Booting Fedora 17 In Less Than Three Seconds

Quote:
Originally Posted by secipolla View Post
Thanks, but I think I can't. Although I don't use LVM and RAID, I have encrypted swap and /home and I think those services are needed for that.
If there was an answer in my post, we would know.
On my netbook i have encryption too (/home, swap), and i ran my script to disable these services (scsi, lvm, mdm,etc), but they just come back, if not on first reboot then on 2nd.
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
Reply With Quote
Reply

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
Fedora 15 Boot Optimization (from 45 to 26 seconds) mightymouse2045 Guides & Solutions (No Questions) 0 2nd July 2011 03:41 PM
Asus Eee booting Fedora in 5 seconds Rokurosv Fedora Focus 4 7th October 2008 11:10 PM
Booting Other in 2 seconds.. RafaelGCPP Using Fedora 2 2nd October 2007 12:41 PM
How I Modified Fedora To Boot In Under 25 Seconds ghenry News 49 3rd August 2006 07:10 PM


Current GMT-time: 14:57 (Tuesday, 21-05-2013)

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