pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: lutzeb@aeccom.com, Josh Berkus <josh@agliodbs.com>
Cc: pgsql-performance@postgresql.org, Neil Conway <neilc@samurai.com>
Subject: Re: Wierd context-switching issue on Xeon
Date: Mon, 19 Apr 2004 08:32:33 -0400
Message-ID: <1082377953.1554.77.camel@localhost.localdomain> (raw)
In-Reply-To: <14394.1082344796@sss.pgh.pa.us>
References: <200311251419.36771.josh@agliodbs.com>
	<200404151039.17763.josh@agliodbs.com>
	<407EE93F.3090705@aeccom.com>
	<200404151335.27762.josh@agliodbs.com>
	<407EFC95.5070805@aeccom.com>
	<11437.1082324861@sss.pgh.pa.us>
	<1082331281.1557.47.camel@localhost.localdomain>
	<13960.1082341222@sss.pgh.pa.us>
	<14394.1082344796@sss.pgh.pa.us>

Here's an interesting link that suggests that hyperthreading would be
much worse.

http://groups.google.com/groups?q=hyperthreading+dual+xeon+idle&start=10&hl=en&lr=&i...

another which has some hints as to how it should be handled

http://groups.google.com/groups?q=hyperthreading+dual+xeon+idle&start=10&hl=en&lr=&i...
FWIW, I have anecdotal evidence that suggests that this is the case, on
of my clients was seeing very large context switches with HTT turned on,
and without it was much better.

Dave
On Sun, 2004-04-18 at 23:19, Tom Lane wrote:
> >> What about hypterthreading does it still happen if HTT is turned off ?
> 
> > The problem comes from keeping the caches synchronized between multiple
> > physical CPUs.  AFAICS enabling HTT wouldn't make it worse, because a
> > hyperthreaded processor still only has one cache.
> 
> Also, I forgot to say that the numbers I'm quoting *are* with HTT off.
> 
> 			regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
> 
> 
> 
> !DSPAM:40834781158911062514350!
> 
> 
-- 
Dave Cramer
519 939 0336
ICQ # 14675561




view thread (77+ messages)  latest in thread

Message-ID: <1082377953.1554.77.camel@localhost.localdomain>
Permalink:  ../1082377953.1554.77.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1082377953.1554.77.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, tgl@sss.pgh.pa.us, josh@agliodbs.com, neilc@samurai.com
  Subject: Re: Wierd context-switching issue on Xeon
  In-Reply-To: <1082377953.1554.77.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