Re: profiling connection overhead
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>, pgsql-hackers@postgresql.org, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Date: 2010-11-24T22:15:13Z
Lists: pgsql-hackers
On Wednesday 24 November 2010 23:03:48 Tom Lane wrote: > Robert Haas <robertmhaas@gmail.com> writes: > > On Wed, Nov 24, 2010 at 4:05 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > >> (You might be able to confirm or disprove this theory if you ask > >> oprofile to count memory access stalls instead of CPU clock cycles...) > > > > I don't see an event for that. > > You probably want something involving cache misses. The event names > vary depending on just which CPU you've got. Or some BUS OUTSTANDING event. Andres