Re: [RFC] mmaped copy too slow?

KOSAKI Motohiro
2008-01-16T02:05:57Z

Hi Paulo

> One thing you could also try is to pass MAP_POPULATE to mmap so that the
> page tables are filled in at the time of the mmap, avoiding a lot of
> page faults later.
>
> Just my 2 cents,

OK, I will test your idea and report about tomorrow.
but I don't think page fault is major performance impact.

may be, below 2 things too big
- stupid page reclaim
- large cache pollution by memcpy.

Just my 2 cents :-p

- kosaki