pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Qingqing Zhou <zhouqq@cs.toronto.edu>
To: pgsql-hackers@postgresql.org
Subject: Re: poor performance with Context Switch Storm at TPC-W.
Date: Tue, 11 Jul 2006 21:06:13 +0800
Message-ID: <e907on$1csr$1@news.hub.org> (raw)
References: <200607112009.FED09315.TLPPUBIBOPuVLJL@oss.ntt.co.jp>


"Katsuhiko Okano" <okano.katsuhiko@oss.ntt.co.jp> wrote
>
> The problem has occurred in my customer.
> poor performance with Context Switch Storm occurred
> with the following composition.
> Usually, CS is about 5000, WIPS=360.
> when CSStorm occurrence, CS is about 100000, WIPS=60 or less.
>
> Intel Xeon 3.0GHz*4(2CPU * H/T ON)
> 4GB Memory

Do you have bgwriter on and what's the parameters? I read a theory somewhere
that bgwriter scan a large portion of memory and cause L1/L2 thrushing, so
with HT on, the other backends sharing the physical processor with it also
get thrashed ... So try to turn bgwriter off or turn HT off see what's the
difference.

Regards,
Qingqing





view thread (8+ messages)  latest in thread

Message-ID: <e907on$1csr$1@news.hub.org>
Permalink:  ../e907on$1csr$1@news.hub.org/
Also on:    postgresql.org/message-id/e907on$1csr$1@news.hub.org

 · 

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-hackers@postgresql.org
  Cc: zhouqq@cs.toronto.edu
  Subject: Re: poor performance with Context Switch Storm at TPC-W.
  In-Reply-To: <e907on$1csr$1@news.hub.org>

* 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