Re: Intel SSDs that may not suck

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 3/29/11 7:32 AM, "Jeff" <threshar@xxxxxxxxxxxxx> wrote:

>
>On Mar 29, 2011, at 10:16 AM, Jeff wrote:
>
>> Now that all sounds awful and horrible until you get to overall
>> performance, especially with reads - you are looking at 20k random
>> reads per second with a few disks.  Adding in writes does kick it
>> down a noch, but you're still looking at 10k+ iops. That is the
>> current trade off.
>>
>
>We've been doing a burn in for about 4 days now on an array of 8
>x25m's behind a p812 controller: here's a sample of what it is
>currently doing (I have 10 threads randomly seeking, reading, and 10%
>of the time writing (then fsync'ing) out, using my pgiosim tool which
>I need to update on pgfoundry)

Your RAID card is probably disabling the write cache on those.  If not, it
isn't power failure safe.

When the write cache is disabled, the negative effects of random writes on
longevity and performance are significantly amplified.

For the G3 drives, you can force the write caches on and remain power
failure safe.  This will significantly decrease the effects of the below.
You can also use a newer linux version with a file system that supports
TRIM/DISCARD which will help as long as your raid controller passes that
through.  It might end up that for many workloads with these drives, it is
faster to use software raid than hardware raid + raid controller.


>
>that was from a simple dd, not random writes. (since it is in
>production, I can't really do the random write test as easily)
>
>theoretically, a nice rotation of disks would remove that problem.
>annoying, but it is the price you need to pay
>
>--
>Jeff Trout <jeff@xxxxxxxxxxxxx>
>http://www.stuarthamm.net/
>http://www.dellsmartexitin.com/
>
>
>
>
>-- 
>Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
>To make changes to your subscription:
>http://www.postgresql.org/mailpref/pgsql-performance


-- 
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux