Re: 3ware vs. MegaRAID

From: Jesper Krogh <jesper(at)krogh(dot)cc>
To: Greg Smith <greg(at)2ndquadrant(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: 3ware vs. MegaRAID
Date: 2010-04-09 19:02:54
Message-ID: 4BBF79DE.5060705@krogh.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 2010-04-09 20:22, Greg Smith wrote:
> Jesper Krogh wrote:
>> I've spent quite some hours googling today. Am I totally wrong if the:
>> HP MSA-20/30/70 and Sun Oracle J4200's:
>> https://shop.sun.com/store/product/53a01251-2fce-11dc-9482-080020a9ed93
>> are of the same type just from "major" vendors.
>
> Yes, those are the same type of implementation. Every vendor has
> their own preferred way to handle port expansion, and most are
> somewhat scared about discussing the whole thing now because EMC has a
> ridiculous patent on the whole idea[1]. They all work the same from
> the user perspective, albeit sometimes with their own particular daisy
> chaining rules.
>
>> That would enable me to reuse the existing server and moving to
>> something
>> like Intel's X25-M 160GB disks with just a higher amount (25) in a
>> MSA-70.
>
> I guess, but note that several of us here consider Intel's SSDs
> unsuitable for critical database use. There are some rare but not
> impossible to encounter problems with its write caching implementation
> that leave you exposed to database corruption if there's a nasty power
> interruption. Can't get rid of the problem without destroying both
> performance and longevity of the drive[2][3]. If you're going to
> deploy something using those drives, please make sure you're using an
> aggressive real-time backup scheme such as log shipping in order to
> minimize your chance of catastrophic data loss.
>
> [1] http://www.freepatentsonline.com/7624206.html
> [2]
> http://www.mysqlperformanceblog.com/2009/03/02/ssd-xfs-lvm-fsync-write-cache-barrier-and-lost-transactions/
>
> [3]
> http://petereisentraut.blogspot.com/2009/07/solid-state-drive-benchmarks-and-write.html
>

There are some things in my scenario... that cannot be said to be
general in all database situations.

Having to go a week back (backup) is "not really a problem", so as
long as i have a reliable backup and the problems doesnt occour except from
unexpected poweroffs then I think I can handle it.
Another thing is that the overall usage is far dominated by random-reads,
which is the performance I dont ruin by disabling write-caching.

And by adding a 512/1024MB BBWC on the controller I bet I can "re-gain"
enough write performance to easily make the system funcition. Currently
the average writeout is way less than 10MB/s but the reading processes
all spends most of their time in iowait.

Since my application is dominated by by random reads I "think" that
I still should have a huge gain over regular SAS drives on that side
of the equation, but most likely not on the write-side. But all of this is
so far only speculations, since the vendors doesnt seem eager on
lending out stuff these day, so everything is only on paper so far.

There seem to be consensus that on the write-side, SAS-disks can
fairly easy outperform SSDs. I have not seen anything showing that
they dont still have huge benefits on the read-side.

It would be nice if there was an easy way to test and confirm that it
actually was robust to power-outtake..

.. just having a disk-array with build-in-battery for the SSDs would
solve the problem.

--
Jesper

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Marlowe 2010-04-09 19:12:13 Re: 3ware vs. MegaRAID
Previous Message Greg Smith 2010-04-09 18:22:20 Re: 3ware vs. MegaRAID