Re: Test request for Stats collector performance improvement

From: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Test request for Stats collector performance improvement
Date: 2006-06-15 20:29:36
Message-ID: 4491C330.5020104@kaltenbrunner.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches pgsql-performance

Bruce Momjian wrote:
> Would some people please run the attached test procedure and report back
> the results? I basically need to know the patch is an improvement on
> more platforms than just my own. Thanks

Debian Sarge/AMD64 Kernel 2.6.16.16 (all tests done multiple times with
variation of less then 10%):

-HEAD:

real 0m0.486s
user 0m0.064s
sys 0m0.048s

-HEAD with 100000 "SELECT 1;" queries:

real 0m4.763s
user 0m0.896s
sys 0m1.232s

-HEAD + stats:

real 0m0.720s
user 0m0.128s
sys 0m0.096s

-HEAD + stats (100k):

real 0m7.204s
user 0m1.504s
sys 0m1.028s

-HEAD + stats + patch:

there is something weird going on here - I get either runtimes like:

real 0m0.729s
user 0m0.092s
sys 0m0.100s

and occasionally:

real 0m3.926s
user 0m0.144s
sys 0m0.140s

(always ~0,7 vs ~4 seconds - same variation as Qingqing Zhou seems to see)

-HEAD + stats + patch(100k):

similiar variation with:

real 0m7.955s
user 0m1.124s
sys 0m1.164s

and

real 0m11.836s
user 0m1.368s
sys 0m1.156s

(ie 7-8 seconds vs 11-12 seconds)

looks like this patch is actually a loss on that box.

Stefan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2006-06-15 21:38:01 Re: Test request for Stats collector performance improvement
Previous Message Tom Lane 2006-06-15 20:29:06 ident auth vs. encrypting ident daemons

Browse pgsql-patches by date

  From Date Subject
Next Message Josh Berkus 2006-06-15 21:38:01 Re: Test request for Stats collector performance improvement
Previous Message Stefan Kaltenbrunner 2006-06-15 19:58:27 Re: Test request for Stats collector performance improvement

Browse pgsql-performance by date

  From Date Subject
Next Message Josh Berkus 2006-06-15 21:38:01 Re: Test request for Stats collector performance improvement
Previous Message Stefan Kaltenbrunner 2006-06-15 19:58:27 Re: Test request for Stats collector performance improvement