LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-01-2013, 09:27 PM   #1
ktjoe
LQ Newbie
 
Registered: Jan 2013
Posts: 4

Rep: Reputation: Disabled
Question Boost boot time (RHEL6)


Hi all,

Is there a quite easy way to boost the RHEL6 boot time?

I've done to disable unnecessary services, disable some network ports (from having IP from DHCP) but still having 2-5 minutes start up.

Can anyone give some enlightment?

Thanks in advance,

Kevin
 
Old 01-02-2013, 10:29 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,711

Rep: Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279
Depends on what is slow... Network activity (especially NFS mounting) can take quite a while. And it takes a bit for DHCP to setup depending on other network activity.

2 minutes may be sendmail taking time to resolve its identity (which goes away if you have it in the /etc/hosts file and it is really a static IP number).

You should be able to get it to around 1 minute (or less) though. But that assumes you have static IP numbers, not using DHCP, and have appropriate names in the /etc/hosts file.
 
Old 01-02-2013, 12:05 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,225

Rep: Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520
what is your hardware ?

for example i have a VERY old box with a p4 ( from 2001 ) a gforce2 ( yes 2 ) nvidia card and 1 gig ram

ScientificLinux 6.3 boots up in about 1.5 min.
from push "power" to user is logged in

as "jpollard" said NFS can take time
and so can the network connection
-- How are you connecting to the network ?

install"bootchart" it should be in the RHN repo

Code:
su -
yum search bootchart
---- then if listed ----
yum install bootchart
http://www.bootchart.org/

then see what is causing the problem

Last edited by John VV; 01-02-2013 at 12:11 PM.
 
Old 01-02-2013, 12:15 PM   #4
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,676

Rep: Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485
This computer has an AMD Sempron, 1GB RAM, and no graphics card. It boots in about 40 seconds!

I think something is very wrong. Interrupt the boot, edit grub, and remove "rhgb quiet" from the kernel line. Then you can watch the boot reports and see at what stage things slow up.
 
1 members found this post helpful.
Old 01-02-2013, 05:59 PM   #5
ktjoe
LQ Newbie
 
Registered: Jan 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
To John: This machine is Intel i7 with 4 GB RAM using RHEL6.

To David: Thanks for the tips, i will try it.


Other questions:
1. How to set other service starting in the background, so the login console tty1 appears as soon as possible?
2. How to make SSH service to be highest priority (i want other users to be able to ssh in asap and leave the other services start up in the background) ?
 
Old 01-02-2013, 10:42 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I was having similar problems with my asus m4a89-gtd pro usb3 until about 5 minutes ago, although it wasn't taking upto 5mins. My problems were in the bios, I disabled Quick-boot, acpi, F1 stop to load setup. Put it on pnp to let linux control devices. If I ever boot wins7 it will probably be a BSOD.
Now it takes about 40 secs to boot which is slow for the money I spent on it a few years ago.
Just checked 1min 15secs from boot, login screen & menu- bar in gnome 3

Last edited by EDDY1; 01-02-2013 at 11:08 PM.
 
1 members found this post helpful.
Old 01-03-2013, 11:33 AM   #7
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,211

Rep: Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612
You will want this information for prioritizing startups:

http://www.tldp.org/HOWTO/HighQualit...OWTO/boot.html

Also, googling for 'init.d priorities' will lead you in the right direction, as to me, there is no simple explanation.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Time jumping ahead on RHEL6.3 MensaWater Linux - General 3 12-04-2012 03:31 PM
Dual boot Rhel6 & Ubantu Gil@LQ Linux - Desktop 1 02-15-2012 03:47 AM
[RHEL6] Can't boot X Window jcky Linux - Newbie 1 06-04-2011 11:23 PM
[SOLVED] RHEL6 boot prompt removed tuxtutorials Linux - Enterprise 2 12-08-2010 09:21 AM
Boost Speed at Boot time Carroarmato0 Linux - General 2 02-27-2005 03:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration