Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 1995 19:14:17 -0700
From:      David Greenman <davidg@Root.COM>
To:        Joe Greco <jgreco@brasil.moneng.mei.com>
Cc:        hsu@cs.hut.fi, freebsd-current@FreeBSD.org
Subject:   Re: mmap bugs gone yet? 
Message-ID:  <199504150214.TAA00613@corbin.Root.COM>
In-Reply-To: Your message of "Fri, 14 Apr 95 17:36:32 CDT." <9504142236.AA02076@brasil.moneng.mei.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>> With the merged VM/buffer cache, i doubt it will buy too much to mmap
>> the files at all.
>
>This was not true on my Sun 3/60.  I never investigated to find out why,
>however.

   mmap should be faster at accessing files randomly and will eliminate an
extra copy compared with doing read() system calls. It might be slower when
modifying large amounts of large files. I think overall mmap would be faster,
but YYMV.

-DG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504150214.TAA00613>