LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-24-2002, 04:30 AM   #1
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Rep: Reputation: 38
booting up speed


Im creating this thread for two reasons.

1). Im really upset with my average loading time from cold boot.
2). Im curious to see what your machine can do.

I've timed three things that I see essential to getting into a desktop enviorment. Cold boot to Prompt, Login time and, kde loading time (via startx).

Im running a AMD K6-2 300mhz machine with 128 megs of ram with a 6 gig seagate ata33. Heres my timing.

1). Cold boot to Login prompt (via runlevel 3)

54seconds. (4-5 for bios)

2). Login delay. Typing in user name and passowrd, waiting for prompt

takes me 7 seconds. (WHY!!!???)

3). KDE3 via startx

takes me 55 seconds.


So, 54/7/55 (116 seconds total) is terrible in my opinion. Windows from cold boot takes 28 seconds to get desktop. HOW can I improve speed?

Whats your average?

Ben.
 
Old 05-24-2002, 04:43 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Well Ben I have been doing things to improve my boot time on my linux box MP3 player in my truck. I now have it down to a 15 second boot!!! That includes the 3 seconds it takes for the BIOS. I have disabled EVERYTHING at boot (cron etc) and have no getty, just boots right into my MP3 program (all thanks to everyone who has helped me on here).

On my desktop in my Computer room, I have a 90 second(or so) boot. I brought the time down on that by running an interactive boot, and disabling many of things that auto run at boot time. That along with the reconfigured kernel (made a lot of modules out of things that used to be built in) and now it's screamin!

Winbloze does still boot up faster according to your numbers, but I think of it as a nice cup of Joe... You can have a cup of coffee right now, or you can have a cup of coffee right, whichever you prefer.

Oh also, the BIOS on my Home PC runs the boot a lot faster (around 2 seconds) so that also may tweakable for you.
 
Old 05-24-2002, 04:46 AM   #3
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Original Poster
Rep: Reputation: 38
excellent. thank you for your input. I have disabled nearly everything that shows up in 'services' on the mandrake control panel, including sound and alsa. I forget where all the bootup services are defined, could you help direct me?
 
Old 05-24-2002, 04:47 AM   #4
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
I think my 486 machine boots faster then that (don't have exact timings though). I assume you've got a standard installation of mandrake running on that machine. Well one of the things that makes Mandrake so easy to use is that it is able to detect a lot of things automatically and sets up a lot for you. A lot of this detecting is done at every boot. And besides all that there are a lot of extra processes which are probably started that you might not need. One good thing is to go through all the boot scripts in /etc/rc.d and find out exactly what's happening at boot. And then turning the stuff off which you don't need. Might be confusing if you aren't all to familiar with linux though. But www.linuxdoc.org contains a howto which describes what happens from boot up to bash prompt. Maybe a good thing to read which will help you speed up a lot of things.
 
Old 05-24-2002, 04:50 AM   #5
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Original Poster
Rep: Reputation: 38
thats right, the rc.d thank you. I'll look into it. Like the coffee analogy MasterC.
 
Old 05-24-2002, 04:53 AM   #6
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Original Poster
Rep: Reputation: 38
rc.d help -----------------------

each dir under rc.d corasponds to it's runlevel correct?

rc3.d would be the dir of contents i need to modify if im booting up into prompt (3) correct?

other ------------------------------

also, what causes me to have a 7 second lag with loging in? I type user name, then password, then a 7 second stall. what gives?
 
Old 05-24-2002, 06:05 AM   #7
Brion
Member
 
Registered: May 2002
Location: Belgium
Distribution: LinuxFromScratch
Posts: 85

Rep: Reputation: 15
only start the services u really need

on my system (PIII 450 with 256MB ram, LFS, automatic login in KDE(objprelinked) with KDM) it takes 39 seconds from lilo to a fully loaded KDE3
 
Old 05-24-2002, 06:15 AM   #8
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Yes everything in the rc3.d directory would get run when entering runlevel 3. But when you startup everything in the rcS.d directory will also get run. These are usually all links to the scripts in the init.d directory though.

About your login being delayed. It's probably something like trying to log a hostname which it can't resolve. Or it's something weird in your .profile or .bashrc files which it's trying to do which could take a while.

This document should explain quite a bit:
http://tldp.org/HOWTO/From-PowerUp-T...mpt-HOWTO.html
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
PCI bus speed and video card speed juanbobo General 0 08-01-2005 01:13 PM
How do I speed up booting by stopping eth01 hanging so long? Stevetgn Linux - Newbie 4 07-27-2004 07:00 PM
cdrecord - trying to use high speed medium on low speed writer captain-cat Linux - Hardware 2 07-12-2004 06:27 PM
how to increase booting speed linuxaddict Linux - General 4 11-17-2003 12:17 PM
Is there a tool to monitor Internet connection speed and also network speed? xleft4dexy Linux - Networking 4 10-14-2003 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:29 AM.

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
Open Source Consulting | Domain Registration