Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id 8E01C2E0044 for ; Sun, 30 Mar 2008 01:45:55 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 36681-03 for ; Sun, 30 Mar 2008 01:45:53 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from westnet.com (westnet.com [216.187.52.2]) by developer.postgresql.org (Postfix) with ESMTP id 70CB92E004B for ; Sun, 30 Mar 2008 01:45:52 -0300 (ADT) Received: from westnet.com (localhost [127.0.0.1]) by westnet.com (8.14.0/8.14.0) with ESMTP id m2U4jb1s007233; Sun, 30 Mar 2008 00:45:37 -0400 (EDT) Received: from localhost (gsmith@localhost) by westnet.com (8.14.0/8.13.2/Submit) with ESMTP id m2U4ja2e007229; Sun, 30 Mar 2008 00:45:36 -0400 (EDT) X-Authentication-Warning: westnet.com: gsmith owned process doing -bs Date: Sun, 30 Mar 2008 00:45:36 -0400 (EDT) From: Greg Smith X-X-Sender: gsmith@westnet.com To: PFC cc: James Mansion , Laszlo Nagy , pgsql-performance@postgresql.org, Tony Nagy Subject: Re: Planning a new server - help needed In-Reply-To: Message-ID: References: <47ECB4F6.1040901@shopzeus.com> <47EE1B1F.20506@mansionfamily.plus.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Archive-Number: 200803/523 X-Sequence-Number: 29477 On Sat, 29 Mar 2008, PFC wrote: >> Why do you claim that 'More platters also means slower seeks >> and generally slower performance.'? > More platters -> more heads -> heavier head assembly -> slower seek > time I recall seeing many designs with more platters that have slower seek times in benchmarks, and I always presumed this was the reason. That's the basis for that comment. I'll disclaim that section a bit. > Actually, now that 8.3 can sync to disk every second instead of at every > commit, I wonder, did someone do some enlightening benchmarks ? I've seen some really heavy workloads where using async commit helped group commits in a larger batches usefully, but I personally haven't found it to be all that useful if you're already got a caching controller to accelerate writes on the kinds of hardware most people have. It's a great solution for situations without a usable write cache though. > Also, there is a thing called write barriers, which supposedly could be > used to implement fsync-like behaviour without the penalty, if the disk, > the OS, the controller, and the filesystem support it (that's a lot of > ifs)... The database can't use fsync-like behavior for the things it calls fsync for; it needs the full semantics. You're either doing the full operation, or you're cheating and it doesn't do what it's supposed to. Write barriers aren't any improvement over a good direct I/O sync write setup for the WAL. There may be some limited value to that approach for the database writes at checkpoint time, but again there's a real fsync coming at the end of that and it's not satisfied until everything is on disk (or in a good disk controller cache). > Gigabyte should revamp their i-RAM to use ECC RAM of a larger > capacity... and longer lasting battery backup... I saw a rumor somewhere that they were close to having a new version of that using DDR2 ready, which would make it pretty easy to have 8GB on there. > I wonder, how many write cycles those Flash drives can take before > reliability becomes a problem... The newer SSD drives with good write leveling should last at least as long as you'd expect a mechanical drive to, even in a WAL application. Lesser grades of flash used as disk could be a problem though. -- * Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD