On Thu, 2008-07-17 at 10:07 +0100, Charles Forsyth wrote:
> > I could imagine that databases use mmap() havily
> 
> it's a little mystery for me why they would do that since it's slower (or 
> ought to be),

slower compared to what? I'd expect the biggest slowdown for
read()/write() be not the price of a syscall, but what you
pay for copying data in/out of the kernel. With mmap() there's
no copying.

Thanks,
Roman.


Reply via email to