pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pg@fastcrypt.com, 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: Wed, 21 Apr 2004 10:29:43 -0700
Message-ID: <200404211029.43675.josh@agliodbs.com> (raw)
In-Reply-To: <1082559931.1557.235.camel@localhost.localdomain>
References: <Pine.LNX.4.33.0404191410550.17372-100000@css120.ihs.com>
	<408664CF.9040507@aeccom.com>
	<1082559931.1557.235.camel@localhost.localdomain>

Dave,

> After some testing if you use the current head code for s_lock.c which
> has some mods in it to alleviate this situation, and change
> SPINS_PER_DELAY to 10 you can drastically reduce the cs with tom's test.
> I am seeing a slight degradation in throughput using pgbench -c 10 -t
> 1000 but it might be liveable, considering the alternative is unbearable
> in some situations.
>
> Can anyone else replicate my results?

Can you produce a patch against 7.4.1?   I'd like to test your fix against a 
real-world database.


-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (77+ messages)  latest in thread

Message-ID: <200404211029.43675.josh@agliodbs.com>
Permalink:  ../200404211029.43675.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200404211029.43675.josh@agliodbs.com

 · 

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: 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: <200404211029.43675.josh@agliodbs.com>

* 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