Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 0D2EA2E0041 for ; Tue, 6 May 2008 17:44:00 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 88165-08 for ; Tue, 6 May 2008 17:43:54 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from relay-2.mail.nethere.net (relay-2.mail.nethere.net [66.63.128.162]) by developer.postgresql.org (Postfix) with ESMTP id 562B02E005D for ; Tue, 6 May 2008 17:43:57 -0300 (ADT) Received: from scan-2.mail.nethere.net (scan-2.mail.nethere.net [66.63.128.133]) by relay-2.mail.nethere.net (Postfix) with ESMTP id 7B7C112C0FF; Tue, 6 May 2008 13:43:55 -0700 (PDT) Received: from mta-1.mail.nethere.net by scan-2.mail.nethere.net with LMTP id K--fHzWRXXQt; Tue, 6 May 2008 13:43:55 -0700 (PDT) Received: from lisa-james-computer.local (wsip-68-224-174-233.sd.sd.cox.net [68.224.174.233]) by mta-1.mail.nethere.net (Postfix) with ESMTP id 3058BF1821; Tue, 6 May 2008 13:43:55 -0700 (PDT) Message-ID: <4820C30A.8010709@emolecules.com> Date: Tue, 06 May 2008 13:43:54 -0700 From: Craig James User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Greg Smith CC: pgsql-performance@postgresql.org Subject: Re: RAID 10 Benchmark with different I/O schedulers References: <47FFA7FF.10801@postnewspapers.com.au> <544D07A2-EB3F-4D91-A749-0C4D5D38AB80@gmail.com> <481F992D.7070509@emolecules.com> <4820A3C2.4000307@emolecules.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/108 X-Sequence-Number: 30076 Greg Smith wrote: > On Tue, 6 May 2008, Craig James wrote: > >> I only did two runs of each, which took about 24 minutes. Like the >> first round of tests, the "noise" in the measurements (about 10%) >> exceeds the difference between scheduler-algorithm performance, except >> that "anticipatory" seems to be measurably slower. > > Those are much better results. Any test that says anticipatory is > anything other than useless for database system use with a good > controller I presume is broken, so that's how I know you're in the right > ballpark now but weren't before. > > In order to actually get some useful data out of the noise that is > pgbench, you need a lot more measurements of longer runs. As > perspective, the last time I did something in this area, in order to get > enough data to get a clear picture I ran tests for 12 hours. I'm hoping > to repeat that soon with some more common hardware that gives useful > results I can give out. This data is good enough for what I'm doing. There were reports from non-RAID users that the I/O scheduling could make as much as a 4x difference in performance (which makes sense for non-RAID), but these tests show me that three of the four I/O schedulers are within 10% of each other. Since this matches my intuition of how battery-backed RAID will work, I'm satisfied. If our servers get overloaded to the point where 10% matters, then I need a much more dramatic solution, like faster machines or more machines. Craig