X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B0F293ABB0B for ; Tue, 21 Dec 2004 14:23:41 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 11746-06 for ; Tue, 21 Dec 2004 14:23:27 +0000 (GMT) Received: from gp.word-to-the-wise.com (gp.word-to-the-wise.com [64.71.176.18]) by svr1.postgresql.org (Postfix) with ESMTP id 043B33A70DA for ; Tue, 21 Dec 2004 14:23:30 +0000 (GMT) Received: by gp.word-to-the-wise.com (Postfix, from userid 500) id 59DB990005A; Tue, 21 Dec 2004 06:28:18 -0800 (PST) Date: Tue, 21 Dec 2004 06:28:18 -0800 From: Steve Atkins To: pgsql-performance@postgresql.org Subject: Re: Tips for a system with _extremely_ slow IO? Message-ID: <20041221142818.GC28270@gp.word-to-the-wise.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200412/264 X-Sequence-Number: 9639 On Fri, Dec 17, 2004 at 11:51:12PM -0800, Ron Mayer wrote: > Any advice for settings for extremely IO constrained systems? > > A demo I've set up for sales seems to be spending much of it's time in > disk wait states. > > > The particular system I'm working with is: > Ext3 on Debian inside Microsoft VirtualPC on NTFS > on WindowsXP on laptops of our sales team. > Somewhat surprisingly, CPU performance is close to native; but disk IO > is much worse - probably orders of magnitude worse - since there are > so many layers of filesystems involved. Unfortunately, no, I don't > think the sales guys will upgrade to BSD. :) > > The database is too large to fit entirely in memory (3GB of spatial data > using PostGIS); and has relative large updates (people can add "layers" > consisting of perhaps 10000 points, lines, and polygons out of a million > or so possibilities - they do this by doing 10K inserts into tables with > postgis geometry columns). I've found VirtualPC to be somewhat slower than VMWare for some things (and faster for others) and less friendly to a Linux guest OS. Try an identical build running inside VMWare. Can you run the VM using a native disk partition, rather than one emulated by a big NTFS file? Even if your application needs to run under Linux, can you run the database directly on XP (8.0RC2 hot off the presses...) and connect to it from the Linux VM? Cheers, Steve