[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101117074850.GA29191@proxy>
Date: Wed, 17 Nov 2010 10:48:54 +0300
From: "Alexander V. Lukyanov" <lav@...is.ru>
To: linux-ext4@...r.kernel.org
Subject: Re: PATCH: allow inode_readahead_blks=0
On Tue, Nov 16, 2010 at 11:05:46AM +0300, Alexander V. Lukyanov wrote:
> Currently the value 0 is disallowed, as it is not a power of 2.
BTW, the default value inode_readahead_blks=32 gives me troubles: it raises
load average and increases request latency on a busy squid server. I
explain it by random access to large number of files which are present in
the squid cache.
BTW2: the value of 0 should be allowed, it is explicitly used by the code:
/*
* If we need to do any I/O, try to pre-readahead extra
* blocks from the inode table.
*/
if (EXT4_SB(sb)->s_inode_readahead_blks) {
...
}
--
Alexander.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists