From owner-freebsd-hackers Fri Apr 9 15:31:19 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id D26BE1525E for ; Fri, 9 Apr 1999 15:31:15 -0700 (PDT) (envelope-from robert@cyrus.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.8.8/8.8.8) with SMTP id SAA23283 for ; Fri, 9 Apr 1999 18:29:03 -0400 (EDT) (envelope-from robert@cyrus.watson.org) Date: Fri, 9 Apr 1999 18:29:02 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org Reply-To: Robert Watson To: freebsd-hackers@freebsd.org Subject: Reliable way to clear kernel fs caches? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm experimenting with some performance-related changes to FreeBSD 4.0-CURRENT. Is there some existing nice reliable call that flushes both the buffer cache and name cache (and any other interesting cache) so I can measure performance on initial reads from disk? Thanks in advance, Robert N Watson robert@fledge.watson.org http://www.watson.org/~robert/ PGP key fingerprint: 03 01 DD 8E 15 67 48 73 25 6D 10 FC EC 68 C1 1C Carnegie Mellon University http://www.cmu.edu/ TIS Labs at Network Associates, Inc. http://www.tis.com/ Safeport Network Services http://www.safeport.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message