Re: Downsides to madvise/fadvise(willneed) for application startup
From: Wu Fengguang
Date: Wed Apr 07 2010 - 04:14:06 EST
> A few month ago, I saw your patch about enhancing readahead.
> At that time, many guys tested several size of USB and SSD which are
> consist of nand device.
> The result is good if we does readahead untile some crossover point.
> So I think we need readahead about file I/O in non-rotation device, too.
> But startup latency is important than file I/O performance in some machine.
> With analysis at that time, code readahead of application affected slow startup.
> In addition, during bootup, cache hit ratio was very small.
> So I hoped we can disable readahead just only code section(ie, roughly
> exec vma's filemap fault). :)
> I don't want you to solve this problem right now.
> Just let you understand embedded system's some problem
> for enhancing readahead in future. :)
Yeah, I've never heard of such a demand, definitely good to know it!
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/