Re: RAID 10 Benchmark with different I/O schedulers (was: Performance increase with elevator=deadline)

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Craig James" <craig_james(at)emolecules(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: RAID 10 Benchmark with different I/O schedulers (was: Performance increase with elevator=deadline)
Date: 2008-05-06 03:15:44
Message-ID: dcc563d10805052015j352d71fdla2cfca22da899590@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Mon, May 5, 2008 at 5:33 PM, Craig James <craig_james(at)emolecules(dot)com> wrote:
>
> (It also reinforces what the pgbench man page says: Short runs aren't
> useful. Even these two-minute runs have a lot of variability. Before I
> turned off AutoVacuum, the variability was more like 50% between runs.)

I'd suggest a couple things for more realistic tests. Run the tests
much longer, say 30 minutes to an hour. Crank up your scaling factor
until your test db is larger than memory. Turn on autovacuum, maybe
raising the cost / delay factors so it doesn't affect performance too
negatively. And lastly tuning the bgwriter so that checkpoints are
short and don't interfere too much.

My guess is if you let it run for a while, you'll get a much more
reliable number.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Marlowe 2008-05-06 03:27:03 Re: need to speed up query
Previous Message Justin 2008-05-06 02:01:49 need to speed up query