Unix Technical Forum

pgbench: Support Multiple Simultaneous Runs (with Mean and Std. Dev.)

This is a discussion on pgbench: Support Multiple Simultaneous Runs (with Mean and Std. Dev.) within the Pgsql Patches forums, part of the PostgreSQL category; --> I created a version of this a while back for a comparison of 7.4.x to 8.0.x. Now that 8.1.x ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Patches

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 01:16 AM
Thomas F. O'Connell
 
Posts: n/a
Default pgbench: Support Multiple Simultaneous Runs (with Mean and Std. Dev.)

I created a version of this a while back for a comparison of 7.4.x to
8.0.x. Now that 8.1.x has come out, I've decided to go ahead and put
it in patch form for potential inclusion in contrib.

The main addition is the addition of a -x option that allows
specification of a number of successive runs of pgbench for use in
sanity-checking basic benchmark results to reduce the potential for
noise in a single run.

At the end of a series of runs, the mean tps and standard deviations
are reported.

I only patched the English README.

I didn't test compatibility with the new file code, but a cursory
glance at the code makes me think it would work.

The following patch is against a fresh pull from anonymous CVS.



Similar versions of pgbench.c for 7.4.7 and 8.0.2 are available at
the following URL, although the argument was -m originally. I changed
it to -x to follow bonnie++, which I frequently use in conjunction
with pgbench for benchmarking.

http://www.sitening.com/tools/postgresql-benchmark/

--
Thomas F. O'Connell
Database Architecture and Programming
Co-Founder
Sitening, LLC

http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-260-0005 (cell)
615-469-5150 (office)
615-469-5151 (fax)



---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-18-2008, 01:16 AM
Tom Lane
 
Posts: n/a
Default Re: pgbench: Support Multiple Simultaneous Runs (with Mean and Std. Dev.)

"Thomas F. O'Connell" <tfo@sitening.com> writes:
> The main addition is the addition of a -x option that allows
> specification of a number of successive runs of pgbench for use in
> sanity-checking basic benchmark results to reduce the potential for
> noise in a single run.


What exactly does this do that increasing the number of transactions
doesn't do?

Not to say that I'm not all for making pgbench results more trustworthy.
But adding still another parameter that people don't know what to do
with isn't going to create any progress in that direction.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:17 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com