Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id EDC1F475C2B for ; Mon, 25 Nov 2002 21:42:56 -0500 (EST) Received: from sabre.velocet.net (sabre.velocet.net [216.138.209.205]) by postgresql.org (Postfix) with ESMTP id E8FC9474E44 for ; Mon, 25 Nov 2002 21:42:54 -0500 (EST) Received: from trooper.velocet.ca (trooper.velocet.net [216.138.242.2]) by sabre.velocet.net (Postfix) with ESMTP id D2E651380F3; Mon, 25 Nov 2002 21:42:58 -0500 (EST) Received: by trooper.velocet.ca (Postfix, from userid 66) id BEE2074BC7; Mon, 25 Nov 2002 21:42:58 -0500 (EST) Received: by canoe.velocet.net (Postfix, from userid 101) id 6345656763F; Mon, 25 Nov 2002 21:42:54 -0500 (EST) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15842.57262.323171.410126@canoe.velocet.net> Date: Mon, 25 Nov 2002 21:42:54 -0500 To: nikolaus@dilger.cc Cc: dgilbert@velocet.ca, chris@ruprecht.org, mallah@trade-india.com, pgsql-admin@postgresql.org Subject: Re: H/W RAID 5 on slower disks versus no raid on faster HDDs In-Reply-To: <20021125170817.1231.h015.c001.wm@mail.dilger.cc.criticalpath.net> References: <20021125170817.1231.h015.c001.wm@mail.dilger.cc.criticalpath.net> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/253 X-Sequence-Number: 6441 >>>>> "nikolaus" == nikolaus writes: nikolaus> Of course can software RAID be faster than hardware RAID. nikolaus> But then you are not comparing the best offerings of each nikolaus> category. Software RAID is usually cheaper than hardware. nikolaus> But again you may be able to construct a product pairing nikolaus> where it is reverse. No... I admit... if you're willing to spend huge $$'s, there exist hardware solutions that outpace software. It usually means that you have hardware that is more powerful than your main system, though. Often more costly, too. nikolaus> raw versus file system is an old battle. raw is faster nikolaus> because it does not have the filesystem overhead. However, nikolaus> raw is a little harder to administer. Question is how much nikolaus> faster raw is and if it is worth the trouble. Numbers nikolaus> usually quoted are 10-20%. And here things may be changing nikolaus> as operating systems and chaching algorithems get better to nikolaus> mask the file system overhead. As I mentioned the question nikolaus> is mute for PostgeSQL because raw is currently not nikolaus> supported. Well... I don't think your raw write performance (in, say, FreeBSD) would be any more than 5% better than filesystem writing. Old filesystem overhead consisted of the in-order writes that were required to update filesystem metadata... which (consequently) was about 20% in-order (vs. un-ordered) writes. Softupdates (FreeBSD) only requires 1%-ish (or less) in-order writes (or to put it another way: 1% of writes chosen before they would otherwise happen). DAve. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================