debs, diffs, .dsc, debdiffs, etc. are at:
http://ola-os.com/inne/soc2007/prefetch-boot-1/kernel/
I have not included original linux source, it is large and can be
downloaded from
http://packages.ubuntu.com/gutsy/base/linux-image-2.6.22-8-generic
I have not put this stuff on Google project page as they are just for
testing, they are big and would eat significant amount of project quota.
Debs are for K/Ubuntu Gutsy, I don't know if they will work for other
versions of Ubuntu, YMMV :)
To try it out:
- Download and install
http://ola-os.com/inne/soc2007/prefetch-boot-1/kernel/linux-image-2.6.22-8-generic_2.6.22-8.18_i386.deb
- Download and install
http://ola-os.com/inne/soc2007/prefetch-boot-1/readahead/readahead_0.20050517.0220-1ubuntu1prefetch_i386.deb
- Reboot :)
Upon first boot, file /.prefetch-boot.trace should be created. Upon next
boot it should be used to prefetch files.
You can see messages from prefetch in kernel log, using "dmesg".
Known issues:
- Prefetching works (and this case was only tested) when system is
installed on single partition. If some files are on other partition, it
should just skip them, but it was not tested.
Standard disclaimer: these debs are experimental stuff, so they can eat
your system for breakfast. Use only on testing systems which can be scraped.
Krzysztof Lichota
Forgot to mention. The patch with prefetch code for kernel 2.6.22 is at
http://prefetch.googlecode.com/svn/trunk/kernel-patches/2.6.22/prefetch-boot-2.6.22.diff
if someone prefers to apply it and compile kernel on their own.
Krzysztof Lichota