Re: something is wonky with pgbench pipelining

2021-07-26 Thread Michael Paquier
On Sat, Jul 24, 2021 at 04:08:33PM -0700, Andres Freund wrote: > On 2021-07-21 16:55:08 -0700, Andres Freund wrote: >> I'm inclined to push it to 14 and master, but ... > > RMT: ^ If it were me, I think that I would have back-patched this change even if found after the GA release of 14 as there i

Re: something is wonky with pgbench pipelining

2021-07-24 Thread Andres Freund
Hi, Adding RMT. On 2021-07-21 16:55:08 -0700, Andres Freund wrote: > On 2021-07-20 14:57:15 -0400, Alvaro Herrera wrote: > > On 2021-Jul-20, Andres Freund wrote: > > > > > I think what's happening is that the first recvfrom() actually gets all 7 > > > connection results. The server doesn't have

Re: something is wonky with pgbench pipelining

2021-07-21 Thread Andres Freund
Hi, On 2021-07-20 14:57:15 -0400, Alvaro Herrera wrote: > On 2021-Jul-20, Andres Freund wrote: > > > I think what's happening is that the first recvfrom() actually gets all 7 > > connection results. The server doesn't have any queries to process at that > > point. But we ask the kernel whether th

Re: something is wonky with pgbench pipelining

2021-07-20 Thread Alvaro Herrera
On 2021-Jul-20, Andres Freund wrote: > I think what's happening is that the first recvfrom() actually gets all 7 > connection results. The server doesn't have any queries to process at that > point. But we ask the kernel whether there is new network input over and over > again, despite having resu