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
Pages: (4) </ 1 2 [3] 4 >/

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

reply to topic new topic new poll
Topic: start apps at boot?< Next Oldest | Next Newest >
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: April 22 2008,14:54 QUOTE

A bit late I s'pose, but what you want could have been readahead.
Over half of the long firefox starting time comes from reading all those files of it, totaling about 16mb plus all the other libs it uses. So if you use readahead to read commonly used files to cache during boot, they can be accessed instantly from ram, and firefox starts up in ~3 secs too.

The C code of it is in a thread titled "Speeding the DSL boot with readahead", I don't remember which section though.


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: April 22 2008,17:24 QUOTE

Doesn't readahead slow down boot noticeably?

--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: April 23 2008,14:44 QUOTE

No, it's not blocking if ran in the background, and if started when the HD is not accessed, there's no slowdown at all. Even doing it the Ubuntu style, always in the background and so slowing HD accessing processes a bit, can drop boot time to near half (when used for boot files of course).

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: April 23 2008,14:59 QUOTE

?

It's been my understanding that readahead really slows things down on lower-spec machines (such as when booting a live CD):
Quote
"Normal KNOPPIX" with less than 256MB memory was faster than "KNOPPIX + readahead".
"KNOPPIX + readahead" became faster if there was more than 384MB memory.

http://unit.aist.go.jp/itri/knoppix/readahead/index-en.html


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 23 2008,16:52 QUOTE

Caching things is always going to necessarily increase ram use, which is always going to affect performance unless you have more ram than you need to cache+run the rest of the system.  I never could understand the "feature" that some application have that keeps them open in the background to speed up their startup.  It wouldn't be bad if they were like Linux in that it releases cached memory when needed for other purposes, but apparently this is not the case. What they should focus on instead is making their applications lighter, in my opinion.

Also, backgrounding *anything* during boot sounds like a really bad idea to me. A boot failure may take down the backgrounded processes, and likely not do it safely. This is particularly troublesome if you're backgrounding other parts of the boot process, but I guess that's not the issue here.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
15 replies since April 20 2008,18:27 < Next Oldest | Next Newest >

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

Pages: (4) </ 1 2 [3] 4 >/
reply to topic new topic new poll
Quick Reply: start apps at boot?

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