Thread (4 messages) 4 messages, 2 authors, 2021-10-25

Re: Turn off readahead completely

From: Matthew Wilcox <willy@infradead.org>
Date: 2021-10-21 13:29:39

On Thu, Oct 21, 2021 at 01:16:46PM +0000, Azat.Nurgaliev@dlr.de wrote:
Hello everyone,

I need to turn readahead off completely in order to do my experiments. 
Is there any way to turn it off completely?

Setting /sys/block/<dev>/queue/read_ahead_kb to 0 causes readahead to become 4kb.
That's entirely intentional.  What experiment are you actually trying to
perform?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help