Super Read Ahead
Submitted by gnagaraj, updated on 26 Sep 2008 - 9 comments
Version:
0.02
| Attachment | Size |
|---|---|
| sreadahead-0.02.tar.gz | 10.02 KB |
- Login or register to post comments
- Printer-friendly version
Comments (9 total)
who can write a detail document to describ how to use it?
who can write a detail document to describ how to use it?
usage of sreadhahead
see: http://linux.atcrosslevel.de/#l19 for a step by step guide.
Proposed changes
I'm taking the current code as is and setting up a public repository somewhere soon. I'll be taking patches and comments on the power at bughost dot org mailinglist, which is what we use for powertop as well.
Please send patches and questions there or directly to me.
Does/Will sreadahead support squashfs + unionfs (ext3 under) ?
Hi All,
I tried sreadahead on squashfs/unionfs/ext3 configuration but not working.
generate_filelist output nearly zero record readahead.packed.
I copied another readahead generated from NB but sreadahead seems do nothing about the file.
(the readahead.packed is located correctly as coded /etc/readahead.packed)
Is there some efforts to do with sreadahead/generate_filelist to support squashfs/union/ext3 configuration ?
how about bootsplash?
I need to use bootsplash to cover up the text message during the boot process.
However, in order to use bootsplash, we need to have initrd. The alternative would be using SPLASHY. The problem is that SPLASHY cannot be start as early as bootsplash. Is there any other solution?
how to use
After a lot of trial and error, I finally got this working:
apt-get install readaheadtouch /etc/readahead/profile-oncethen rebootcd /etc ; generate_filelist /etc/readahead/boot- this will create /etc/readahead.packedClarification on Use
Would it be possible to clarify the use of generate_filelist? Whenever I call it, no matter when, it generates an empty file.
Also, http://fedora.danny.cz/sreadahead/sreadahead-0.02-make.patch has a patch to simplify the makefile.
generate_filelist requires a
generate_filelist requires a filename as its first argument. From the looks of the code, this file should contain a list of files to check to see if they are loaded into cache.
Here is the command that I used:
find / -type f \( -fstype ext3 -o -fstype rootfs \) > filesgenerate_filelist files
gnagaraj, can you provide the
gnagaraj, can you provide the .config file used to compile the kernel (git://git.kernel.org/pub/scm/linux/kernel/git/arjan/linux-2.6-fastboot.git) for the eeepc.
Thanks in advance.