From owner-freebsd-bugs Sat Dec 28 09:30:23 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA18123 for bugs-outgoing; Sat, 28 Dec 1996 09:30:23 -0800 (PST) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id JAA18117 for ; Sat, 28 Dec 1996 09:30:21 -0800 (PST) Received: (from root@localhost) by dyson.iquest.net (8.8.4/8.6.9) id MAA01161; Sat, 28 Dec 1996 12:30:05 -0500 (EST) From: "John S. Dyson" Message-Id: <199612281730.MAA01161@dyson.iquest.net> Subject: Re: another POSIX access timestamp pessimization To: bde@zeta.org.au (Bruce Evans) Date: Sat, 28 Dec 1996 12:30:05 -0500 (EST) Cc: bde@zeta.org.au, dg@root.com, bugs@freebsd.org In-Reply-To: <199612281557.CAA22346@godzilla.zeta.org.au> from "Bruce Evans" at Dec 29, 96 02:57:12 am Reply-To: dyson@freebsd.org X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > crt0 and ld.so read the a.out header for some reason before mmapping the > whole file. Of course, the problem is not so large because there are > only a few library files so caching works. > > I forgot to say that the access time already gets set when scripts are > execed, since something has to read the script. > > Access times are set on exec in Linux-2.0.27. > Yeah, and the guys on the Linux team don't like the overhead either. Maybe we could make a "strict posix" mount option. Default to something sane, and if someone really needs slow operation, then they can have it :-). John