pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shaun Thomas <sthomas@peak6.com>
To: Chris Hoover <revoohc@gmail.com>
Cc: PGSQL Performance <pgsql-performance@postgresql.org>
Subject: Re: Benchmarking a large server
Date: Mon, 9 May 2011 16:01:26 -0500
Message-ID: <4DC85626.6010400@peak6.com> (raw)
In-Reply-To: <BANLkTikONPZ_7zQNfbyyN4MGBnn5PXHrAg@mail.gmail.com>
References: <BANLkTikONPZ_7zQNfbyyN4MGBnn5PXHrAg@mail.gmail.com>

On 05/09/2011 03:32 PM, Chris Hoover wrote:

> So, does anyone have any suggestions/experiences in benchmarking storage
> when the storage is smaller then 2x memory?

We had a similar problem when benching our FusionIO setup. What I did 
was write a script that cleared out the Linux system cache before every 
iteration of our pgbench tests. You can do that easily with:

echo 3 > /proc/sys/vm/drop_caches

Executed as root.

Then we ran short (10, 20, 30, 40 clients, 10,000 transactions each) 
pgbench tests, resetting the cache and the DB after every iteration. It 
was all automated in a script, so it wasn't too much work.

We got (roughly) a 15x speed improvement over a 6x15k RPM RAID-10 setup 
on the same server, with no other changes. This was definitely 
corroborated after deployment, when our frequent periods of 100% disk IO 
utilization vanished and were replaced by occasional 20-30% spikes. Even 
that's an unfair comparison in favor of the RAID, because we added DRBD 
to the mix because you can't share a PCI card between two servers.

If you do have two 1.3TB Duo cards in a 4x640GB RAID-10, you should get 
even better read times than we did.

-- 
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604
312-676-8870
sthomas@peak6.com

______________________________________________

See  http://www.peak6.com/email_disclaimer.php
for terms and conditions related to this email



view thread (20+ messages)  latest in thread

Message-ID: <4DC85626.6010400@peak6.com>
Permalink:  ../4DC85626.6010400@peak6.com/
Also on:    postgresql.org/message-id/4DC85626.6010400@peak6.com

 · 

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: sthomas@peak6.com, revoohc@gmail.com
  Subject: Re: Benchmarking a large server
  In-Reply-To: <4DC85626.6010400@peak6.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