Re: [RFC PATCH V5] mm readahead: Fix readahead fail for no localmemory and limit readahead pages
From: Raghavendra K T
Date: Mon Feb 03 2014 - 03:24:37 EST
On 01/22/2014 04:23 PM, Raghavendra K T wrote:
max_sane_readahead returns zero on the cpu having no local memory
node. Fix that by returning a sanitized number of pages viz.,
minimum of (requested pages, 4k)
Result:
fadvise experiment with FADV_WILLNEED on a x240 machine with 1GB testfile
32GB* 4G RAM numa machine ( 12 iterations) yielded
Kernel Avg Stddev
base 7.2963 1.10 %
patched 7.2972 1.18 %
Reviewed-by: Jan Kara <jack@xxxxxxx>
Signed-off-by: Raghavendra K T <raghavendra.kt@xxxxxxxxxxxxxxxxxx>
---
Could you please let me know what do you feel about the patch ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/