Weblog entry #1 for cvweiss

Faster Debian Startup
Posted by cvweiss on Sun 13 Nov 2005 at 20:21
Tags: none.

This topic with other methods has been covered previously here. However, it was considered as more of a "hack".

Here is a method that is currently supported by Debian itself, edit the /etc/init.d/rc:root:~# nano /etc/init.d/rc

Scroll down a page or so and you'll see a segment of script similar to this:

# Specify method used to enable concurrent init.d scripts. Valid
# options are 'none', 'shell' and 'startpar'
CONCURRENCY=none

Examining the script further down tells me that startpar is not fully supported, so I went with shell. A restart shows me that sure enough, the init.d scripts are being run concurrently. This did make quite a difference in my boottime, knocking nearly 20 seconds off. Of course, any disk read/write bottlenecks can still happen.

Enjoy.

 

Comments on this Entry

Posted by kecsi (195.56.xx.xx) on Mon 14 Nov 2005 at 14:52
[ Send Message ]
In which version?
I dont have this line :(

[ Parent | Reply to this comment ]

Posted by Anonymous (68.248.xx.xx) on Mon 14 Nov 2005 at 16:44
My apologies, this is in testing (and assuming unstable as well.)

[ Parent | Reply to this comment ]

Posted by simonw (84.45.xx.xx) on Tue 15 Nov 2005 at 22:03
[ Send Message | View Weblogs ]
Unstable has it as well.

Although my laptop spends most of its boot time (when it isn't hanging on the ide/cdrom drivers #333831) doing hardware detection, and scripts before the /etc/rc2.d scripts, so I don't see much difference.

Guess I went overboard with discover and friends.

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search