On Tue, Nov 7, 2017 at 4:31 AM, Haribabu Kommi <kommi.haribabu@gmail.com> wrote: >> Updated patch attached. > Patch rebased.
I think the earlier concerns about the performance impact of this are probably very valid concerns, and I don't see how the new version of the patch gets us much closer to solving them.
I will check the performance with the changes of removing the stats collector
usage and provide the details.
I ran the pgbench performance after removing stats collector usage and moving
the stats into shared memory. I find it that this stats addition doesn't have any
overhead while collecting the stats. I ran these tests on a small machine, these may
need to be retested on an high end machine to confirm that there is no impact.
ThreadsClientsHEADPATCHDiff
1188.7298153388.527789-0.23%
2288.17999 88.8238420.73%
44169.430813167.897937-0.90%
88311.790313315.66591171.24%
1616558.6014777562.58835830.71%
3232874.0996587899.8556342.95%
Attached is the updated patch accordingly to use the shared memory stats.