pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tv@fuzzy.cz>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: H800 + md1200 Performance problem
Date: Thu, 05 Apr 2012 22:06:49 +0200
Message-ID: <4F7DFB59.10607@fuzzy.cz> (raw)
In-Reply-To: <CAHyXU0xxuT4+qk4uDkTKpLjOTMtHnnNaaEDyUxM2PDsp_nneRQ@mail.gmail.com>
References: <CAMAsR=4acKwYjow-VWQ0xH0+WjXEtVJWxP0A0y4vx=oyr5fhpQ@mail.gmail.com>
	<920BB532-C321-45A3-851E-8B688A5963F7@yahoo.com>
	<CAMAsR=7g5PXU45+Z3aBW+ur-kPQKiW2MG=NJ3TOqNn6iqaVCVw@mail.gmail.com>
	<4F7AF966.20809@fuzzy.cz>
	<CAMAsR=637=zAtOSxGF=JH9apfOtU7FaUXR27+J2syzE_c-rdYw@mail.gmail.com>
	<4F7B3AEC.4000204@fuzzy.cz>
	<CAMAsR=7onjeWr--PtgHgfZv=yYSB8FVxf1BsYSwu2752YY0Q8w@mail.gmail.com>
	<CAHyXU0yAy6C__0xbfBH1t_UNai=VVSP9i5p-KKgDAYp3pxAM-Q@mail.gmail.com>
	<CAMAsR=7Xkzcr-G_NO-Jn2yTa+BSayuMMK7Gv7diXDNcC3WNVUw@mail.gmail.com>
	<4F7CA614.8060008@fuzzy.cz>
	<1333631401.49335.YahooMailNeo@web171401.mail.ir2.yahoo.com>
	<CAMAsR=4jszO0RT0poCbebzTod767Q3e53zBAc=08Wz-0p-yW0w@mail.gmail.com>
	<4F7DBF24.5010402@fuzzy.cz>
	<CAHyXU0xxuT4+qk4uDkTKpLjOTMtHnnNaaEDyUxM2PDsp_nneRQ@mail.gmail.com>

On 5.4.2012 20:43, Merlin Moncure wrote:
> The original problem is read based performance issue though and this
> will not have any affect on that whatsoever (although it's still
> excellent advice).  Also dd should bypass the o/s buffer cache.  I
> still pretty much convinced that there is a fundamental performance
> issue with the raid card dell needs to explain.

Well, there are two issues IMHO.

1) Read performance that's not exactly as good as one'd expect from a
   12 x 15k SAS RAID10 array. Given that the 15k Cheetah drives usually
   give like 170 MB/s for sequential reads/writes. I'd definitely
   expect more than 533 MB/s when reading the data. At least something
   near 1GB/s (equal to 6 drives).

   Hmm, the dd read performance seems to grow over time - I wonder if
   this is the issue with adaptive read policy, as mentioned in the
   xbitlabs report.

   Cesar, can you set the read policy to a 'read ahead'

     megacli -LDSetProp RA -LALL -aALL

   or maybe 'no read-ahead'

     megacli -LDSetProp NORA -LALL -aALL

   It's worth a try, maybe it somehow conflicts with the way kernel
   handles read-ahead or something. I find these adaptive heuristics
   a bit unpredictable ...

   Another thing - I see the patrol reads are enabled. Can you disable
   that and try how that affects the performance?

2) Write performance behaviour, that's much more suspicious ...

   Not sure if it's related to the read performance issues.

Tomas



view thread (36+ messages)  latest in thread

Message-ID: <4F7DFB59.10607@fuzzy.cz>
Permalink:  ../4F7DFB59.10607@fuzzy.cz/
Also on:    postgresql.org/message-id/4F7DFB59.10607@fuzzy.cz

 · 

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: tv@fuzzy.cz
  Subject: Re: H800 + md1200 Performance problem
  In-Reply-To: <4F7DFB59.10607@fuzzy.cz>

* 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