Re: [RFC] mmaped copy too slow?

From: KOSAKI Motohiro
Date: Tue Jan 15 2008 - 21:05:57 EST


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


--
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/