Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to improve HD boot times, a couple things I did- share your ideas< Next Oldest | Next Newest >
irun5k Offline





Group: Members
Posts: 24
Joined: July 2004
Posted: Aug. 03 2004,15:27 QUOTE

I am using DSL as pretty much an "embedded" type OS installed on a laptop HD with an EPIA 5000 Micro ITX project.

I am currently trying to tweak the OS to boot as fast as possible with a couple of considerations- my hardware and configuration will never change and the OS only does one thing- run a slideshow app (feh) at startup.

The autoconfigure startup script does a few things that are very time consuming.  First, it rebuilds an ld.so.cache?  I'm not sure what this is, but I'm pretty sure there is no need to rebuild it each time since this is a static, "embedded" project.  So, I removed this stuff from the autoconfig script.  

Second thing, I turned off the USB/hardware probe stuff in the autoconfig script.  I don't have any USB devices and the project only uses an LCD and no peripherals.  This step was taking a while and no use to have it if I don't need it.

With just these changes I got my boot time down to 30 seconds from BIOS splash screen to application startup- and this is on older VIA hardware!  Don't try this at home with any other OS!

Now I'm wondering how much of the autoconfig script is really needed at all for an environment like mine.  I tried removing it altogether but then the HD partitions aren't set up correctly: they are mounted read only and there are other issues.

Please share your ideas on a special use/single purpose DSL HD installation.
Back to top
Profile PM 
TyphoonMentat Offline





Group: Members
Posts: 183
Joined: Oct. 2003
Posted: Aug. 03 2004,15:47 QUOTE

ld.so.cache only needs to be rebuilt if you've installed libraries, and even so the installation of those libraries should cause it to be rebuilt anyway. Did you remove the bit about regenerating modules.dep?
Back to top
Profile PM 
DonttPanic Offline





Group: Members
Posts: 95
Joined: July 2004
Posted: Sep. 17 2004,23:05 QUOTE

What directory is the autoconfig script in?
Back to top
Profile PM 
irun5k Offline





Group: Members
Posts: 24
Joined: July 2004
Posted: Oct. 12 2004,20:40 QUOTE

The knoppix autoconfig stuff, I believe, was in /etc/rc0.d
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Oct. 12 2004,22:36 QUOTE

Some of it is inside /etc/init.d/
Back to top
Profile PM 
4 replies since Aug. 03 2004,15:27 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: How to improve HD boot times

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code