pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pg@fastcrypt.com, Josh Berkus <josh@agliodbs.com>
Cc: Paul Tuckfield <paul@tuckfield.com>
Cc: Anjan Dave <adave@vantage.com>
Cc: Neil Conway <neilc@samurai.com>
Cc: Dirk Lutzebäck <lutzeb@aeccom.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Wierd context-switching issue on Xeon patch for 7.4.1
Date: Thu, 22 Apr 2004 12:44:07 +0800
Message-ID: <40874D97.5030401@familyhealth.com.au> (raw)
In-Reply-To: <19596.1082607804@sss.pgh.pa.us>
References: <4BAFBB6B9CC46F41B2AD7D9F4BBAF78509814A@vt-pe2550-001.vantage.vantage.com>
	<1082580588.13371.260.camel@localhost.localdomain>
	<18322.1082601330@sss.pgh.pa.us>
	<200404211953.24898.josh@agliodbs.com>
	<1082603927.1558.279.camel@localhost.localdomain>
	<19596.1082607804@sss.pgh.pa.us>

> 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




view thread (22+ messages)  latest in thread

Message-ID: <40874D97.5030401@familyhealth.com.au>
Permalink:  ../40874D97.5030401@familyhealth.com.au/
Also on:    postgresql.org/message-id/40874D97.5030401@familyhealth.com.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: chriskl@familyhealth.com.au, tgl@sss.pgh.pa.us, josh@agliodbs.com, paul@tuckfield.com, adave@vantage.com, neilc@samurai.com, lutzeb@aeccom.com
  Subject: Re: Wierd context-switching issue on Xeon patch for 7.4.1
  In-Reply-To: <40874D97.5030401@familyhealth.com.au>
  References: <4BAFBB6B9CC46F41B2AD7D9F4BBAF78509814A@vt-pe2550-001.vantage.vantage.com> <1082580588.13371.260.camel@localhost.localdomain> <18322.1082601330@sss.pgh.pa.us> <200404211953.24898.josh@agliodbs.com> <1082603927.1558.279.camel@localhost.localdomain> <19596.1082607804@sss.pgh.pa.us> <40874D97.5030401@familyhealth.com.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox