pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: Robert Creager <Robert_Creager@LogicalChaos.org>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: Dirk_Lutzebäck <lutzeb@aeccom.com>
Cc: ohp@pyrenet.fr, Tom Lane <tgl@sss.pgh.pa.us>
Cc: Joe Conway <mail@joeconway.com>
Cc: scott.marlowe <scott.marlowe@ihs.com>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-performance@postgresql.org, Neil Conway <neilc@samurai.com>
Subject: Re: Wierd context-switching issue on Xeon
Date: Sun, 02 May 2004 11:39:22 -0400
Message-ID: <1083512362.25096.131.camel@localhost.localdomain> (raw)
In-Reply-To: <20040502092047.029525f6@thunder.mshome.net>
References: <Pine.LNX.4.33.0404191410550.17372-100000@css120.ihs.com>
	<200404211029.43675.josh@agliodbs.com>
	<20040428185753.56614b2c@thunder.mshome.net>
	<200404291121.51247.josh@agliodbs.com>
	<20040430220306.15d95162@thunder.mshome.net>
	<1083437446.25697.109.camel@localhost.localdomain>
	<20040502092047.029525f6@thunder.mshome.net>

Robert,

The real question is does it help under real life circumstances ? 

Did you do the tests with Tom's sql code that is designed to create high
context switchs ?

Dave
On Sun, 2004-05-02 at 11:20, Robert Creager wrote:
> Found some co-workers at work yesterday to load up my library...
> 
> The sample period is 5 minutes long (vs 2 minutes previously):
> 
> Context switches -          avg    max
> 
> Default 7.4.1 code :       48784 107354
> Default patch - 10 :       20400  28160
> patch at 100       :       38574  85372
> patch at 1000      :       41188 106569
> 
> The reading at 1000 was not produced under the same circumstances as the prior
> readings as I had to replace my device under test with a simulated one.  The
> real one died.
> 
> The previous run with smaller database and 120 second averages:
> 
> Context switches -          avg    max
> 
> Default 7.4.1 code :       10665  69470
> Default patch - 10 :       17297  21929
> patch at 100       :       26825  87073
> patch at 1000      :       37580 110849
-- 
Dave Cramer
519 939 0336
ICQ # 14675561




view thread (77+ messages)  latest in thread

Message-ID: <1083512362.25096.131.camel@localhost.localdomain>
Permalink:  ../1083512362.25096.131.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1083512362.25096.131.camel@localhost.localdomain

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: pg@fastcrypt.com, Robert_Creager@LogicalChaos.org, josh@agliodbs.com, lutzeb@aeccom.com, tgl@sss.pgh.pa.us, mail@joeconway.com, scott.marlowe@ihs.com, pgman@candle.pha.pa.us, neilc@samurai.com
  Subject: Re: Wierd context-switching issue on Xeon
  In-Reply-To: <1083512362.25096.131.camel@localhost.localdomain>

* 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