From owner-freebsd-database@FreeBSD.ORG Thu Aug 28 18:22:21 2003 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCC3E16A4BF; Thu, 28 Aug 2003 18:22:21 -0700 (PDT) Received: from HAL9000.homeunix.com (12-233-57-131.client.attbi.com [12.233.57.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75FC243FE0; Thu, 28 Aug 2003 18:22:20 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.9/8.12.9) with ESMTP id h7T1MHXR047389; Thu, 28 Aug 2003 18:22:17 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.9/8.12.9/Submit) id h7T1MHTC047388; Thu, 28 Aug 2003 18:22:17 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Date: Thu, 28 Aug 2003 18:22:17 -0700 From: David Schultz To: Claus Guttesen Message-ID: <20030829012217.GA47242@HAL9000.homeunix.com> Mail-Followup-To: Claus Guttesen , Sean Chittenden , Robert Watson , Bill Moran , freebsd-database@freebsd.org, freebsd-fs@freebsd.org, freebsd-performance@freebsd.org References: <20030828171955.GE83759@perrin.nxad.com> <20030828204032.97741.qmail@web14102.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030828204032.97741.qmail@web14102.mail.yahoo.com> cc: freebsd-fs@FreeBSD.ORG cc: freebsd-database@FreeBSD.ORG cc: Robert Watson cc: Sean Chittenden cc: freebsd-performance@FreeBSD.ORG cc: Bill Moran Subject: Re: Some additional tests run on my performance testing X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2003 01:22:22 -0000 On Thu, Aug 28, 2003, Claus Guttesen wrote: > So I newfs'ed it with 8 and 16 kb blocksize did an > import of a 1.5 GB pg-dump. > > > numbers you suggest above, I loaded a DB with 8k and > > 16K blocks > > (translation: almost all write activities). > > > > them to stay about the same across the board. If > > someone wants to do > > some good read tests, I'd be interested in those > > results. > > > > The 8 kb blocksize took 60 min. to import, and the 16 > kb ditto took 45 min. So I'm settling on 16 kb blocks. Note that doing sequential reads and writes is VERY different from doing random reads and writes. In the former case, a larger filesystem block size may reduce fragmentation and help you, but in the latter case---specifically for writes---you're doing twice the I/O due to the larger filesystem blocks. Your import and Bill's tests fall into the first category. It would be interesting to see what sort of performance you get under a real workload.