Re: pgbench cpu overhead (was Re: lazy vxid locks, v1) - Mailing list pgsql-hackers

From Itagaki Takahiro
Subject Re: pgbench cpu overhead (was Re: lazy vxid locks, v1)
Date
Msg-id BANLkTikQMQ3Lf0SdmWP=ywKqRi_eszZMAQ@mail.gmail.com
Whole thread Raw
In response to Re: pgbench cpu overhead (was Re: lazy vxid locks, v1)  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
On Tue, Jun 14, 2011 at 13:09, Alvaro Herrera
<alvherre@commandprompt.com> wrote:
> I noticed that pgbench's doCustom (the function highest in the profile
> posted) returns doing nothing if the connection is supposed to be
> "sleeping"; seems an open door for busy waiting.

pgbench uses select() with/without timeout in the cases, no?

-- 
Itagaki Takahiro


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pgbench cpu overhead (was Re: lazy vxid locks, v1)
Next
From: Noah Misch
Date:
Subject: Re: On-the-fly index tuple deletion vs. hot_standby