readahead default configuration hurts the system performance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
readahead (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hello,
I think the default "readahead" configuration hurts the system performance.
Just an example:
---
m@m-desktop:~$ grep modules /etc/readahead/boot | head -5
/lib/linux-
/lib/linux-
/lib/linux-
/lib/linux-
/lib/linux-
m@m-desktop:~$ grep -v "^#" /boot/grub/menu.lst |grep -i "^kernel"
kernel /vmlinuz-
kernel /vmlinuz-
kernel /vmlinuz-
kernel /vmlinuz-
kernel /vmlinuz-
kernel /vmlinuz-
kernel /memtest86+.bin
m@m-desktop:~$
---
I think:
- either "readahead" should avoid caching the version dependent files (like "2.6.24-16" kernel modules)
- or you should remove "readahead" from "ubuntu-desktop" package dependencies (and possibly replace it with "preload")
Regards.
I prune the kernel modules out of the readahead lists before I generate them, sometimes I admittedly get it wrong, but this is generally human error not a bug