Re: understanding postgres issues/bottlenecks

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Markus Wanner" <markus(at)bluegap(dot)ch>
Cc: david(at)lang(dot)hm, "Gregory Stark" <stark(at)enterprisedb(dot)com>, Ron <rjpeace(at)earthlink(dot)net>, pgsql-performance(at)postgresql(dot)org
Subject: Re: understanding postgres issues/bottlenecks
Date: 2009-01-10 19:10:44
Message-ID: dcc563d10901101110q68df8e89gd1558c3a15ed6494@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Sat, Jan 10, 2009 at 12:00 PM, Markus Wanner <markus(at)bluegap(dot)ch> wrote:
> Hi,
>
> david(at)lang(dot)hm wrote:
>> On Sat, 10 Jan 2009, Gregory Stark wrote:
>>> I think the idea is that with SSDs or a RAID with a battery backed
>>> cache you
>>> can leave fsync on and not have any significant performance hit since
>>> the seek
>>> times are very fast for SSD. They have limited bandwidth but bandwidth
>>> to the
>>> WAL is rarely an issue -- just latency.
>
> That's also my understanding.
>
>> with SSDs having extremely good read speeds, but poor (at least by
>> comparison) write speeds I wonder if any of the RAID controllers are
>> going to get a mode where they cache writes, but don't cache reads,
>> leaving all ofyour cache to handle writes.
>
> My understanding of SSDs so far is, that they are not that bad at
> writing *on average*, but to perform wear-leveling, they sometimes have
> to shuffle around multiple blocks at once. So there are pretty awful
> spikes for writing latency (IIRC more than 100ms has been measured on
> cheaper disks).

Multiply it by 10 and apply to both reads and writes for most cheap
SSDs when doing random writes and reads mixed together. Which is why
so many discussions specificall mention the intel XM series, because
they don't suck like that. They keep good access times even under
several random read / write threads.

Some review of the others was posted here a while back and it was
astounding how slow the others became in a mixed read / write
benchmark.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message david 2009-01-10 19:48:35 Re: understanding postgres issues/bottlenecks
Previous Message Markus Wanner 2009-01-10 19:00:59 Re: understanding postgres issues/bottlenecks