From: CSS <css@morefoo.com>
To: Steve Crawford <scrawford@pinpointresearch.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: New server setup
Date: Wed, 13 Mar 2013 15:47:14 -0400
Message-ID: <D8844BE2-2C60-477F-8668-1E9E1F083276@morefoo.com> (raw)
In-Reply-To: <5140D226.4060609@pinpointresearch.com>
References: <4D6D1410-2208-4DAA-BD64-69BE1FD94E55@autouncle.com>
<513CADB7.4030803@2ndQuadrant.com>
<CAJY59_jNGwrPceXg8k04=1VWTTZTFTPTh+jGHopx92c+17Cj1w@mail.gmail.com>
<51409C51.1070601@kickstone.com>
<38D48FB0-92A8-433B-8D34-4C63738B45BA@gmail.com>
<5140A623.20005@kickstone.com>
<5140D226.4060609@pinpointresearch.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
On Mar 13, 2013, at 3:23 PM, Steve Crawford wrote:
> On 03/13/2013 09:15 AM, John Lister wrote:
>> On 13/03/2013 15:50, Greg Jaskiewicz wrote:
>>> SSDs have much shorter life then spinning drives, so what do you do when one inevitably fails in your system ?
>> Define much shorter? I accept they have a limited no of writes, but that depends on load. You can actively monitor the drives "health" level...
>
> What concerns me more than wear is this:
>
> InfoWorld Article:
> http://www.infoworld.com/t/solid-state-drives/test-your-ssds-or-risk-massive-data-loss-researchers-w...
>
> Referenced research paper:
> https://www.usenix.org/conference/fast13/understanding-robustness-ssds-under-power-fault
>
> Kind of messes with the "D" in ACID.
Have a look at this:
http://blog.2ndquadrant.com/intel_ssd_now_off_the_sherr_sh/
I'm not sure what other ssds offer this, but Intel's newest entry will, and it's attractively priced.
Another way we leverage SSDs that can be more reliable in the face of total SSD meltdown is to use them as ZFS Intent Log caches. All the sync writes get handled on the SSDs. We deploy them as mirrored vdevs, so if one fails, we're OK. If both fail, we're really slow until someone can replace them. On modest hardware, I was able to get about 20K TPS out of pgbench with the SSDs configured as ZIL and 4 10K raptors as the spinny disks.
In either case, the amount of money you'd have to spend on the two-dozen or so SAS drives (and the controllers, enclosure, etc.) that would equal a few pairs of SSDs in random IO performance is non-trivial, even if you plan on proactively retiring your SSDs every year.
Just another take on the issue..
Charles
>
> Cheers,
> Steve
>
>
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: css@morefoo.com, scrawford@pinpointresearch.com
Subject: Re: New server setup
In-Reply-To: <D8844BE2-2C60-477F-8668-1E9E1F083276@morefoo.com>
References: <4D6D1410-2208-4DAA-BD64-69BE1FD94E55@autouncle.com> <513CADB7.4030803@2ndQuadrant.com> <CAJY59_jNGwrPceXg8k04=1VWTTZTFTPTh+jGHopx92c+17Cj1w@mail.gmail.com> <51409C51.1070601@kickstone.com> <38D48FB0-92A8-433B-8D34-4C63738B45BA@gmail.com> <5140A623.20005@kickstone.com> <5140D226.4060609@pinpointresearch.com> <D8844BE2-2C60-477F-8668-1E9E1F083276@morefoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox