Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 46E87632DF3 for ; Fri, 30 Apr 2010 19:21:23 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 59010-04 for ; Fri, 30 Apr 2010 22:21:15 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.int.journyx.com (mail.journyx.com [66.219.41.227]) by mail.postgresql.org (Postfix) with ESMTP id 94DF2632C95 for ; Fri, 30 Apr 2010 19:21:15 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.int.journyx.com (Postfix) with ESMTP id AF1EFC4004; Fri, 30 Apr 2010 17:21:13 -0500 (CDT) X-Virus-Scanned: amavisd-new at zimbra.int.journyx.com Received: from mail.int.journyx.com ([127.0.0.1]) by localhost (mail.int.journyx.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TkY1FhTIVMql; Fri, 30 Apr 2010 17:21:02 -0500 (CDT) Received: from mail.int.journyx.com (mail.int.journyx.com [192.168.100.5]) by mail.int.journyx.com (Postfix) with ESMTP id CDFE7C4002; Fri, 30 Apr 2010 17:21:02 -0500 (CDT) Date: Fri, 30 Apr 2010 17:21:02 -0500 (CDT) From: Scott Whitney Reply-To: Scott Whitney To: Greg Smith Cc: Scott Marlowe , pgsql-admin@postgresql.org, Anj Adu , john@journyx.com, Scott Whitney Message-ID: <28767388.332501272666062593.JavaMail.root@zimbra.int.journyx.com> In-Reply-To: <4BDB5597.3040306@2ndquadrant.com> Subject: Re: more 10K disks or less 15K disks MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_16626_4102431.1272666062589" X-Originating-IP: [192.168.100.188] X-Mailer: Zimbra 5.0.18_GA_3012.RHEL4 (ZimbraWebClient - FF3.0 (Win)/5.0.18_GA_3012.RHEL4) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=AWL=-0.001, BAYES_00=-1.9, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201004/377 X-Sequence-Number: 34471 ------=_Part_16626_4102431.1272666062589 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit A _very_ valid point which I omitted simply because it once again points to 24 spindles equating to a faster array than 12. The problem, as you so easily summarize, is the fact that once you put any decent RAID controller into this, you've essentially added a magic black box that does "better" things for the underlying storage which you simply cannot compute with these sorts of numbers. ASSUMING that your raid controller is a good one (and Perc is), you should end up with a scenario that simply boils down to "more spindles will be faster." In theory. In practice, I find that theory holds up only erratically. ----- "Greg Smith" wrote: > Scott Whitney wrote: > > On the 10k vs 15k rpm disks, there's a _lot_ to be said about that. I don't want to start a flame war here, > > but 15k versus 10k rpm hard drives does NOT equivocate to a 50% increase in read/write times, to say > > the VERY least. > > > > Your characterization is correct were there only the drives involved > here, so no flames on your raw data. > > Once you've introduced a battery-backed write cache into the mix, this > whole area becomes impossible to compute that way though, and it was > that context I was commenting from at least. Those are good at turning > random I/O into something more like sequential, as well as reducing the > number of times you pay for rotational latency in several common > database operations. The effective impact is to significantly narrow > the difference between drives where the seek and rotation time are the > main differences in a database context--even though the worst-case IOPS > doesn't really change. IOPS is an interesting number to compute, but > real-world database performance isn't linearly correlated with it. > Maybe if your workload consists mainly of random, uncached index scans > system performance will scale just like IOPS, but that's pretty uncommon. > > [Rant about making sure not to drink the storage vendor IOPS Kool-Aid > deleted] > > -- > Greg Smith 2ndQuadrant US Baltimore, MD > PostgreSQL Training, Services and Support > greg@2ndQuadrant.com www.2ndQuadrant.us > > ------=_Part_16626_4102431.1272666062589 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <= div style=3D'font-family: Times New Roman; font-size: 12pt; color: #000000'= >A _very_ valid point which I omitted simply because it once again points t= o 24 spindles
equating to a faster array than 12. The problem, as you so= easily summarize, is the fact
that once you put any decent RAID control= ler into this, you've essentially added
a magic black box that does "bet= ter" things for the underlying storage which you
simply cannot compute w= ith these sorts of numbers.

ASSUMING that your raid controller is a = good one (and Perc is), you should end
up with a scenario that simply bo= ils down to "more spindles will be faster."

In theory.

In pra= ctice, I find that theory holds up only erratically.

----- "Greg Smi= th" <greg@2ndquadrant.com> wrote:
> Scott Whitney wrote:
> > On the 10k vs 15k rpm disks, the= re's a _lot_ to be said about that. I don't want to start a flame war here,=
> > but 15k versus 10k rpm hard drives does NOT equivocate to a = 50% increase in read/write times, to say
> > the VERY least.
&= gt; >  
>
> Your characterization is correct were the= re only the drives involved
> here, so no flames on your raw data.>
> Once you've introduced a battery-backed write cache into th= e mix, this
> whole area becomes impossible to compute that way thou= gh, and it was
> that context I was commenting from at least.  = Those are good at turning
> random I/O into something more like sequ= ential, as well as reducing the
> number of times you pay for rotati= onal latency in several common
> database operations.  The effe= ctive impact is to significantly narrow
> the difference between dri= ves where the seek and rotation time are the
> main differences in a= database context--even though the worst-case IOPS
> doesn't really = change.  IOPS is an interesting number to compute, but
> real-w= orld database performance isn't linearly correlated with it.  
>= Maybe if your workload consists mainly of random, uncached index scans > system performance will scale just like IOPS, but that's pretty uncom= mon.
>
> [Rant about making sure not to drink the storage vend= or IOPS Kool-Aid
> deleted]
>
> --
> Greg Smith =  2ndQuadrant US  Baltimore, MD
> PostgreSQL Training, Servi= ces and Support
> greg@2ndQuadrant.com   www.2ndQuadrant.us
&= gt;
> ------=_Part_16626_4102431.1272666062589--