Tom Lane wrote:
> Having malloc/free use
> an internal mutex is necessary in multi-threaded programs, but the
> backend isn't multi-threaded.
Hmm...confused. I'm not following why then there is contention for the
Surely this has to be some other mutex that is in contention, not a heap
It'd be handy to see the call stack for the wait state -- if the thing
a significant proportion of its time in contention it should be easy to
get that with
a simple tool such as pstack or a debugger.
In response to
pgsql-performance by date
|Next:||From: Tom Lane||Date: 2007-07-21 04:26:10|
|Subject: Re: User concurrency thresholding: where do I look? |
|Previous:||From: Gavin M. Roy||Date: 2007-07-21 00:18:53|
|Subject: Re: Postgres configuration for 64 CPUs, 128 GB RAM...|