From owner-freebsd-current Fri Apr 14 19:14:41 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA22163 for current-outgoing; Fri, 14 Apr 1995 19:14:41 -0700 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id TAA22155 for ; Fri, 14 Apr 1995 19:14:32 -0700 Received: from corbin.Root.COM (corbin.Root.COM [198.145.90.18]) by Root.COM (8.6.8/8.6.5) with ESMTP id TAA18299; Fri, 14 Apr 1995 19:14:28 -0700 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.11/8.6.5) with SMTP id TAA00613; Fri, 14 Apr 1995 19:14:27 -0700 Message-Id: <199504150214.TAA00613@corbin.Root.COM> To: Joe Greco cc: hsu@cs.hut.fi, freebsd-current@FreeBSD.org Subject: Re: mmap bugs gone yet? In-reply-to: Your message of "Fri, 14 Apr 95 17:36:32 CDT." <9504142236.AA02076@brasil.moneng.mei.com> From: David Greenman Reply-To: davidg@Root.COM Date: Fri, 14 Apr 1995 19:14:17 -0700 Sender: current-owner@FreeBSD.org Precedence: bulk >> 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