pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marinos Yannikos <mjy@geizhals.at>
To: pgsql-performance@postgresql.org
Subject: Re: postgresql random io test with 2 SSD Kingston V+100 500GB in (software) Raid1
Date: Fri, 22 Apr 2011 23:43:58 +0200
Message-ID: <4DB1F69E.1000305@geizhals.at> (raw)
In-Reply-To: <BANLkTim0YuRG=6=SqYjutsKHJ5JSx+dg1Q@mail.gmail.com>
References: <BANLkTim0YuRG=6=SqYjutsKHJ5JSx+dg1Q@mail.gmail.com>

Am 19.04.2011 11:15, schrieb Laurent Laborde:
> Soft RAID1 (md)
> ext3

We have experimented a bit with Postgres and ext3 (with and without Linux 
software RAID1) and have found that since somewhere after 2.6.18, it has been 
prohibitively slow and causing high latencies during buffer flushes. You will 
probably see a significant improvement with ext4 (mkfs.ext4, not just remount as 
ext4, which is also possible).

Also, you need to make sure that your blocks are properly aligned with SSDs, 
that might explain low random I/O performance. See 
http://www.nuclex.org/blog/personal/80-aligning-an-ssd-on-linux and 
http://www.ocztechnologyforum.com/forum/showthread.php?54379-Linux-Tips-tweaks-and-alignment&p=3... 
for example.

Regards,
  Marinos



view thread (12+ messages)

Message-ID: <4DB1F69E.1000305@geizhals.at>
Permalink:  ../4DB1F69E.1000305@geizhals.at/
Also on:    postgresql.org/message-id/4DB1F69E.1000305@geizhals.at

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: mjy@geizhals.at
  Subject: Re: postgresql random io test with 2 SSD Kingston V+100 500GB in (software) Raid1
  In-Reply-To: <4DB1F69E.1000305@geizhals.at>

* 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