Re: Downsides to madvise/fadvise(willneed) for application startup

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Minchan Kim
Date: Wednesday, April 7, 2010 - 1:06 am

On Wed, Apr 7, 2010 at 4:47 PM, Wu Fengguang <fengguang.wu@intel.com> wrote:

Indeed.


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.  :)




-- 
Kind regards,
Minchan Kim
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Downsides to madvise/fadvise(willneed) for application ..., Minchan Kim, (Wed Apr 7, 1:06 am)