Re: pgbench cpu overhead (was Re: lazy vxid locks, v1)
Jeff Janes <jeff.janes@gmail.com>
From: Jeff Janes <jeff.janes@gmail.com>
To: Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
Cc: pgsql-hackers@postgresql.org, Robert Haas <robertmhaas@gmail.com>
Date: 2011-06-14T00:27:15Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Avoid extra system calls to block SIGPIPE if the platform provides either
- cea80e726edd 9.0.0 cited
On Mon, Jun 13, 2011 at 7:03 AM, Stefan Kaltenbrunner <stefan@kaltenbrunner.cc> wrote: ... > > > so it seems that sysbench is actually significantly less overhead than > pgbench and the lower throughput at the higher conncurency seems to be > cause by sysbench being able to stress the backend even more than > pgbench can. Hi Stefan, pgbench sends each query (per connection) and waits for the reply before sending another. Do we know whether sysbench does that, or if it just stuffs the kernel's IPC buffer full of queries without synchronously waiting for individual replies? I can't get sysbench to "make" for me, or I'd strace in single client mode and see what kind of messages are going back and forth. Cheers, Jeff