| From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Jan Wieck <JanWieck(at)Yahoo(dot)com>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: usleep feature for pgbench |
| Date: | 2007-07-05 21:49:39 |
| Message-ID: | 20070705214939.GE21455@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Tom Lane wrote:
> Jan Wieck <JanWieck(at)Yahoo(dot)com> writes:
> > I think I've coded it in a way that if one doesn't use the \usleep
> > command at all, it will never even call gettimeofday() and use a NULL
> > timeout in select() as it used to.
>
> Did you check that the observed performance for non-usleep-using scripts
> didn't change? If this extra overhead causes a reduction in reported
> TPS rates it would make it hard to compare older and newer tests.
I keep wondering, why is that important? If you want to compare results
of different PG versions, surely you can run the tests with the newest
version of pgbench?
--
Alvaro Herrera http://www.flickr.com/photos/alvherre/
"Those who use electric razors are infidels destined to burn in hell while
we drink from rivers of beer, download free vids and mingle with naked
well shaved babes." (http://slashdot.org/comments.pl?sid=44793&cid=4647152)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2007-07-05 21:54:32 | Re: usleep feature for pgbench |
| Previous Message | Tom Lane | 2007-07-05 21:30:14 | Re: usleep feature for pgbench |