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 07-12-2003, 11:34 AM   #1
eric_hcr80
LQ Newbie
 
Registered: Jul 2003
Location: Great White North
Distribution: Mandrake
Posts: 3

Rep: Reputation: 0
Reducing Startup Time w/Mandrake 9.1


I recently install Mandrake 9.1 on an older machine with a light installation (no KDE/GNOME/extra apps) and do not plan to use X11. However, the machine still takes about 4.5 minutes to boot up and I'd like to cut down on this if possible. There are 3 points at which the machine spends considerable time while booting:
  • Finding module dependencies: (1 min 30 secs)

    Is it necessary to run depmod on every boot? If so, is there a way to cut down on the amount of time it takes to run (by removing modules or caching the results somehow).
  • Checking for new hardware (50 secs)

    Not installing any new hardware.. My guess is this is harddrake running, can/should I disable it?
  • Doing alsactl to restore mixer settings... (1 min)
I definitely want to keep the sound system running, but this seems like an awful long time to "restore mixer settings". Is there a way to turn this off or defer restoring whatever this is until later?

Besides these things performance has been very good for a K6-2 150, and the machine will happily play mp3s, serve web pages, and do file storage. Any help I can get with these issues or general pointers for reducing startup time would be appreciated. Thanks.
 
Old 07-12-2003, 01:03 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Although I have not used Mandrake in quite some time, it is similar to RedHat, thus the following should work.

You can use chkconfig and service to manage your Linux services.

"Checking for new hardware" is a service called kudzu.
"Finding module dependencies" is needed (unless someone tells me otherwise)
"Doing alsactl to restore mixer settings" is sound (I don't know why it takes so long, I'm not an expert in sound)

If you want to see a complete list of all services that are execute at startup for each runlevel, do
chkconfig --list
 
Old 07-12-2003, 03:06 PM   #3
eric_hcr80
LQ Newbie
 
Registered: Jul 2003
Location: Great White North
Distribution: Mandrake
Posts: 3

Original Poster
Rep: Reputation: 0
I can't locate kudzu anywhere in the installation. I was under the impression mandrake used harddrake as a replacement. Also, I can see the services through chkconfig and webmin and have turned off all the ones that I believe I can. That doesn't seem to address the 3 slowdowns I described above.
 
Old 07-12-2003, 05:10 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Mandrake uses harddrake. You may post he list of runing services, so others can tell you which ones you can turn off.
 
Old 07-12-2003, 06:50 PM   #5
eric_hcr80
LQ Newbie
 
Registered: Jul 2003
Location: Great White North
Distribution: Mandrake
Posts: 3

Original Poster
Rep: Reputation: 0
Since there weren't any obvious answers forthcoming I just went ahead and commented out the lines in the startup scripts that call these 3 programs. Everything still works and now the computer starts up in about a minute and a half.

I'll let you guys know if the thing crashes and burns...
 
Old 07-13-2003, 04:18 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Just uncoment the lines before you insert something new in your machine... (it should work if you don't plan such things).
 
  


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
How to schedule startup time wolfipa Linux - General 4 09-01-2006 11:55 PM
reducing hardware acceleration in Mandrake Linux 9.1??. devilsaint1 Linux - Hardware 2 08-22-2005 11:53 AM
TV Time Startup Config scoobs Linux - Software 2 06-23-2004 09:44 AM
System time changes at every startup mad4linux Linux - General 3 01-01-2004 10:37 AM
Startup Time mobile target Linux - General 4 08-18-2002 01:20 AM


All times are GMT -5. The time now is 08:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration