From owner-freebsd-isp Sun Nov 10 04:22:49 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA04811 for isp-outgoing; Sun, 10 Nov 1996 04:22:49 -0800 (PST) Received: from bbs.mpcs.com (hgoldste@bbs.mpcs.com [204.215.226.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id EAA04806 for ; Sun, 10 Nov 1996 04:22:44 -0800 (PST) Received: (from hgoldste@localhost) by bbs.mpcs.com (8.8.2/8.8.2/MPCS) id HAA19687; Sun, 10 Nov 1996 07:22:42 -0500 Date: Sun, 10 Nov 1996 07:22:42 -0500 From: Howard Goldstein Message-Id: <199611101222.HAA19687@bbs.mpcs.com> To: freebsd-isp@freebsd.org Cc: michaelv@MindBender.serv.net Subject: Re: Best mount options, tunefs for newsserver In-Reply-To: <199611100822.AAA18791@MindBender.serv.net> Reply-To: hgoldste@bbs.mpcs.com Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article <199611100822.AAA18791@MindBender.serv.net>, michaelv wrote: : : >Trying to tweak the newsserver here. I have the slices that are : >hammered all mounted async (are they really working async? is there a : >way to tell?). Any other useful mount options for a local fs? : : I think so. I run my NetBSD box this way, and it's pretty obvious : sometimes that it's async. For example, copy a big directory of lots : of files (like /usr/src/) to somewhere, sync it and let it settle, : then rm -rf it. It should finish really quickly, then a burst of disk : activity when sync time comes. Hmmm this is very interesting. I did see a delay until sync time came but what's really interesting is the huge amount of disk access that took place asynchronously. The time difference between rm -r'ing /usr/src/sys (copied somewhere else :) ) on a sync vs async mounted filesystem was not discernable. Each rm -r run took about 10 seconds; the async run included a little burst of flushing activity about 2 seconds after the shell prompt returned. I think there should be an adequate amount of cache available on a 32mb system with only myself as the user. nb., I have a half dozen xterms running rlogin open but that's about it, and I don't know how to interpret vmstat's output to see what's going on. Any suggestions on a definitive way to find out the extent of caching going on? Is the fact that the slice I tested on is marked NFS exported (but not being actively exported) a factor here? Should I be asking this on the fs mailing list? -- Howard Goldstein (please note reply-to if you reply directly lest my junk mail filter will kick in