Re: Wierd context-switching issue on Xeon patch for 7.4.1 - Mailing list pgsql-performance

From Christopher Kings-Lynne
Subject Re: Wierd context-switching issue on Xeon patch for 7.4.1
Date
Msg-id 40874D97.5030401@familyhealth.com.au
Whole thread Raw
In response to Re: Wierd context-switching issue on Xeon patch for 7.4.1  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
> Yeah.  I don't know a reasonable way to tune this number automatically
> for particular systems ... but at the very least we'd need to find a way
> to distinguish uniprocessor from multiprocessor, because on a
> uniprocessor the optimal value is surely 1.

 From TODO:

* Add code to detect an SMP machine and handle spinlocks accordingly
from distributted.net, http://www1.distributed.net/source, in
client/common/cpucheck.cpp

Chris


pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Wierd context-switching issue on Xeon patch for 7.4.1
Next
From: Bruce Momjian
Date:
Subject: Re: Wierd context-switching issue on Xeon patch for 7.4.1