Oh, one more - do not extract this tarball to your kernel directory, as you will overwrite your Makefile.
Main Topics
Browse All TopicsHere: http://lwn.net/Articles/29
Part of that is achieved using "sreadahead": http://code.google.com/p/s
I'd like to try the kernel patch, and see if I can improve start time. How?
I've downloaded the archive, made a copy of my current kernel, extracted the patch into that directory, but then I hit the first problem:
I'm not sure exactly how to apply the patch.
I have experimented with a few different ways, but when I'm done, make doesn't work, so I'm probably doing something wrong.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
As I can see, this sreadahead is standalone deamon. Don't copy it's files to your kernel sources directory.
Apply the patch in a way I wrote in previous comment. Then you should probably recompile your kernel, and after booting with patched kernel, you should try to compile sreadahead (I'm just guessing - maybe there is possibility to compile sreadahead before running patched kernel - just try, but even if it possible, kernel recompilation is needed anyway :)).
Ok, I could patch the kernel fine, and compile the programs. I made a list for sread on what files to preload, and I think I got that part working, because my latest bootchart show a great deal better disk usage, but also a lot more disc usage, so made I'm loading to much data...
Anyway, I didn't gain a single second (from 27 secs) on my boot time, which feels wierd. Logging in to KDE feels somewhat faster, but I haven't measured the time yet.
I'm attaching a bootchart. It's a bit old, but still more or less accurate. I'm wondering if at least part of my problem is that I don't start a lot of "large" programs, but instead dhcpcd is taking a significant amount of time, which sread can't do much about.
I rather use hibernate on my laptop, but it's a little buggy (or my configuration is ;)) and not always it hibernates or restores properly (more often it doesn't want to restore than hibernate). So - sometimes I have to go through whole booting process, and it's looooong :) Maybe I'll try that sreadahead also, but... too bad that it is still 0.04 version in portage, and it's still masked :/
0.04 unfortunately doesn't work with 2.6.28
see: http://code.google.com/p/s
but perhaps an 0.05 comes out and we can try it :)
Business Accounts
Answer for Membership
by: oklitPosted on 2009-01-07 at 07:34:16ID: 23315691
I don't know this sreadahead, but to patch your kernel, just enter to your kernel directory and run command: ad-patch.p atch
patch -p1 < /path/to/0001-superreadahe