From owner-freebsd-questions Thu May 9 05:25:51 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA29111 for questions-outgoing; Thu, 9 May 1996 05:25:51 -0700 (PDT) Received: from sundial.sundial.net (root@sundial.sundial.net [204.181.150.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id FAA29106 for ; Thu, 9 May 1996 05:25:49 -0700 (PDT) Received: from pm1-26.sundial.net (pm1-26.sundial.net [204.181.150.246]) by sundial.sundial.net (8.6.12/8.6.5) with SMTP id IAA13368; Thu, 9 May 1996 08:25:35 -0400 Message-Id: <199605091225.IAA13368@sundial.sundial.net> Comments: Authenticated sender is From: "Bryan J. Smith, E.I." Organization: IEEE, Inc. To: David Greenman , questions@FreeBSD.ORG Date: Wed, 8 May 1996 07:30:37 +0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Disk cache? Reply-to: b.j.smith@ieee.org Priority: normal X-mailer: Pegasus Mail for Windows (v2.32) Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk This is true of nearly any UNIX implementation. Disk caching is not an "add-on" to FreeBSD like MS-DOS, it's right there in the kernel. Always has been, always will be ... hence why you have to "shutdown" or "reboot" ... to write portions of the filesystem in memory to disk ... -- BITMAN EI > To: HMG coA reductase > Cc: questions@freebsd.org > Subject: Re: Disk cache? > From: David Greenman > Reply-to: davidg@Root.COM > Date: Wed, 08 May 1996 21:09:13 -0700 > >g'day all, > >i am wondering if FreeBSD implements something analogous to MS-DOS' > >SmartDrive, viz a disk cache to speed up access. > > > >i noticed that if i do say a "man ifconfig" (or man whatever) consecutively, > >even with no other users around, it takes almost the same amount of time > >to bring the screen up. > > "man" decompresses the manual page each time, so it's a bad test example. > All file accesses in FreeBSD are cached and the dynamic cache can grow as > large as the amount of RAM in your machine. > > -DG > > David Greenman > Core-team/Principal Architect, The FreeBSD Project > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ "I am Pentium of Borg. Precision is futile, you will be approximated." -- Stan "The Man" Buchanan, Jr. ========================================================== BRYAN J. SMITH, E.I. b.j.smith@ieee.org Systems Engineer http://www.sundial.net/~bjsmith/ ---------------------------------------------------------- - NSPE/FLBPR Certified Engineering Intern (E.I.) - IEEE Central FL Branch Secretary ---------------------------------------------------------- 1006 Teague Court Home: (407) 366-4620 Oviedo, FL 32765-7002 or: (407) 365-4693 ==========================================================