On Tue, 20 Nov 2001, David S. Miller wrote:
> From: Rik van Riel <riel@conectiva.com.br>
> Date: Tue, 20 Nov 2001 20:05:05 -0200 (BRST)
>
> Consider this a VM bug, mmap() really should be more efficient.
>
> read() is always going to be faster until mmap() can
> use large page mappings for the user. This is why
> mmap() is slower.
Uhhhh, read his original mail. When using mmap() he had
problems with the VM doing bad page replacement, while
read() was smooth.
Rik
-- Shortwave goes a long way: irc.starchat.net #swlhttp://www.surriel.com/ http://distro.conectiva.com/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:25 EST