Re: turning off readahead

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Zou Min (zoum@comp.nus.edu.sg) wrote:
> Actually, I am interested in disabling kernel readahead in order to do
> some experiment.

Depending on your kernel version:

echo 0 > /proc/sys/vm/max-readahead

or recompile with #define MAX_READAHEAD 0

cheers,
-chris
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux