LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-06-2008, 10:19 PM   #1
hybrid-kernel
LQ Newbie
 
Registered: Sep 2008
Distribution: Sidux
Posts: 6

Rep: Reputation: 0
speed up debian boot?


Is there a way to speed up my boot to about 15-20 sec? This is my current boot. I already enabled concurrency in /etc/init.d/rc and disabled some useless daemons. Would compiling a custom kernel shave off a lot? I also read somewhere a while back that compiling drivers directly into the kernel speeds things up. I have no idea how that would work, especially with nvidia's driver.

Any tips appreciated
 
Old 09-07-2008, 12:13 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
there are a great many things in the boot scripts that have timeouts, like "sleep 5s". if you spend a lot of time going through the scripts, and finding the minimum amount of time your machine needs for things, you can shave many seconds off of your boot time.
 
Old 09-07-2008, 03:05 AM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Best way to speed it up is compile a custom kernel and make sure that you rip out all that is not strictly needed. As for the benefit of compiling everything into the kernel, I don't know. Modules load and unload so fast that it won't make much of a difference IMHO. Of course, some HAVE to be compiled in but only because your system won't boot properly if you don't.
That being said, I recently compiled a custom kernel on my Ubuntu system. It took nearly two hours to go over all the options and to do the compilation. The net result is that my system now boots ten seconds faster. Two hours - ten seconds. You tell me how many times I'll need to boot my system to compensate for the two hours I invested. By the time I reach a break-even, I'll have moved to a different kernel if not a new system. Still, compiling a kernel is an experience in its own right that can be quite interesting so I'm obviously not telling you that it's not a good idea.

Last edited by jay73; 09-07-2008 at 03:06 AM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Speed up Debian boot (safely)? jmite Linux - Newbie 1 08-09-2008 11:29 AM
Debian: Low LAN speed and slightly confused server jo4 Debian 4 04-17-2008 12:00 PM
Speed: Basic Debian + fluxbox, or Arch? s26c.sayan Linux - Distributions 4 03-01-2007 01:20 AM
Speed Touch 330 Thomson, How to install it in Debian? gmario Debian 5 01-07-2005 08:04 AM
Debian - Slackware (in speed) sridharinfinity Debian 1 11-11-2003 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:32 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
Open Source Consulting | Domain Registration