From owner-freebsd-database@FreeBSD.ORG Thu Jan 19 01:15:51 2006 Return-Path: X-Original-To: freebsd-database@freebsd.org 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 DCDB116A420; Thu, 19 Jan 2006 01:15:51 +0000 (GMT) (envelope-from decibel@decibel.org) Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31A4F43D46; Thu, 19 Jan 2006 01:15:51 +0000 (GMT) (envelope-from decibel@decibel.org) Received: by noel.decibel.org (Postfix, from userid 1001) id 8DB1C39834; Wed, 18 Jan 2006 19:15:50 -0600 (CST) Date: Wed, 18 Jan 2006 19:15:50 -0600 From: "Jim C. Nasby" To: Brooks Davis Message-ID: <20060119011550.GN17896@decibel.org> References: <787bbe1c0601140457y6de99891n86b49a728eedac94@mail.gmail.com> <20060114144202.6199.qmail@web30315.mail.mud.yahoo.com> <20060119005847.GK17896@decibel.org> <20060119011115.GA18415@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060119011115.GA18415@odin.ac.hmc.edu> X-Operating-System: FreeBSD 6.0-RELEASE amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 Cc: freebsd-database@freebsd.org, freebsd-performance@freebsd.org, Arne Woerner Subject: Re: Horrible PostgreSQL performance with NFS X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2006 01:15:52 -0000 On Wed, Jan 18, 2006 at 05:11:15PM -0800, Brooks Davis wrote: > On Wed, Jan 18, 2006 at 06:58:47PM -0600, Jim C. Nasby wrote: > > On Sat, Jan 14, 2006 at 06:42:02AM -0800, Arne Woerner wrote: > > > Did you do those "dd" tests with small block sizes (like 1byte: > > > bs=1), like somebody on one of those lists suggests, too? Then we > > > could see, if there is a high latency that ruins everything... > > > > FYI, PostgreSQL does 8kB I/O by default. This can only be changed by > > modifying a header file. > > That's definitely small in my book (certainly compared to the 1MB block > size the first responder suggested), knowing that, you should > definitely do dd tests with 8k blocks since that's the best performance you > are likely to get. Agreed, it is small from a OS/filesystem viewpoint, but it's also nowhere near 1 byte which is the test that had been suggested. :) -- Jim C. Nasby, Database Architect decibel@decibel.org Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?"