From owner-freebsd-current Fri Sep 17 7: 3: 4 1999 Delivered-To: freebsd-current@freebsd.org Received: from gatekeeper.tsc.tdk.com (gatekeeper.tsc.tdk.com [207.113.159.21]) by hub.freebsd.org (Postfix) with ESMTP id B6E7C154C9 for ; Fri, 17 Sep 1999 07:03:01 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from sunrise.gv.tsc.tdk.com (root@sunrise.gv.tsc.tdk.com [192.168.241.191]) by gatekeeper.tsc.tdk.com (8.8.8/8.8.8) with ESMTP id HAA10217; Fri, 17 Sep 1999 07:02:54 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from salsa.gv.tsc.tdk.com (salsa.gv.tsc.tdk.com [192.168.241.194]) by sunrise.gv.tsc.tdk.com (8.8.5/8.8.5) with ESMTP id HAA11568; Fri, 17 Sep 1999 07:02:52 -0700 (PDT) Received: (from gdonl@localhost) by salsa.gv.tsc.tdk.com (8.8.5/8.8.5) id HAA23902; Fri, 17 Sep 1999 07:02:52 -0700 (PDT) From: Don Lewis Message-Id: <199909171402.HAA23902@salsa.gv.tsc.tdk.com> Date: Fri, 17 Sep 1999 07:02:52 -0700 In-Reply-To: Brad Knowles "Re: More benchmarking stuff..." (Sep 17, 2:03pm) X-Mailer: Mail User's Shell (7.2.6 alpha(3) 7/19/95) To: Brad Knowles , freebsd-current@FreeBSD.ORG Subject: Re: More benchmarking stuff... Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sep 17, 2:03pm, Brad Knowles wrote: } Subject: Re: More benchmarking stuff... } } Sadly, when I go to the second set of tests (20,000 files and } 50,000 transactions), my performance goes into the crapper. I know } that softupdates trades memory for speed, and I guess this PPro 200 } w/ 128MB RAM just doesn't have enough memory to keep up. } } For this stage, I now get: } } Transactions per second: 33 } KBytes Read per second: 79.66 } KBytes Written per second: 144.31 I'd expect a NetApp to do a lot better than UFS on FreeBSD if there are large directories. Directory lookups in UFS require a sequential scan whereas the NetApp filesystem uses some sort of hashing scheme. Also FreeBSD only caches a limited number of directory blocks. This was discussed on -hackers in April. Search for the subject "Directories not VMIO cached at all!". Matt Dillon posted a patch to to better cache directories (at the possible expense of wasted RAM and which breaks NFS) in Message-ID <199904171844.LAA75452@apollo.backplane.com>. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message