From owner-freebsd-isp Thu May 6 6:57: 5 1999 Delivered-To: freebsd-isp@freebsd.org Received: from carme.eclipse.net.uk (carme.eclipse.net.uk [195.188.32.33]) by hub.freebsd.org (Postfix) with ESMTP id 5195614CAB for ; Thu, 6 May 1999 06:56:46 -0700 (PDT) (envelope-from stuart@eclipse.net.uk) Received: from eclipse.net.uk (elara.eclipse.net.uk [195.188.32.31]) by carme.eclipse.net.uk (8.9.3/8.9.3) with ESMTP id OAA82144; Thu, 6 May 1999 14:54:20 +0100 (BST) Message-ID: <37319FAD.F78F8766@eclipse.net.uk> Date: Thu, 06 May 1999 14:57:01 +0100 From: Stuart Henderson Organization: Eclipse Networking Ltd. X-Mailer: Mozilla 4.51 [en] (WinNT; U) X-Accept-Language: en-GB MIME-Version: 1.0 To: Andrew McNaughton Cc: Andy Angrick , Graeme Tait , freebsd-isp@FreeBSD.ORG Subject: Re: Apache Stress testing References: <199905061247.AAA04038@aniwa.sky> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > One query I have: if my file system keeps tabs on when > files were last accessed, does that mean that every file > opened requires a disk access, even if it is cached, or > does this mark the cached info as dirty so that it will > be written at a future time? Does anyone have any > experience with the effect on apache performance of > mounting the file system with the noatime flag? I haven't looked at that but this makes me think of something you might not know, I think I read it on Wired's Webmonkey section (general article about Apache 1.3 performance, there is a lot more than just this - I can't remember it all atm but it might be interesting/useful). Sorry I don't have the url handy :( From what I remember if you have "followsymlinks no" Apache has to look up all the parent directories of the document directory (/ /usr /usr/local /usr/local/www /usr/local/www/data and any others) to check they're not symlinks. Similarly if "allowoverride" is not set to anything other than "none" there is a similar lookup for .htaccess files. -hackers or maybe -questions would be a good place to ask about FS cache / noatime if nobody here knows. I reckon that unless you actually want the access time info someplace other than apache's log, you might as well save the extra fs writes ;) Stuart To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message