From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Jord Tanner <jord@indygecko.com>
Cc: SZUCS Gábor <surrano@mailbox.hu>
Cc: pgsql-performance@postgresql.org
Subject: Re: Dual Xeon + HW RAID question
Date: Tue, 22 Jul 2003 14:50:37 -0400 (EDT)
Message-ID: <200307221850.h6MIocK10571@candle.pha.pa.us> (raw)
In-Reply-To: <1058896464.4339.46.camel@gecko>
Jord Tanner wrote:
> On Tue, 2003-07-22 at 10:39, Bruce Momjian wrote:
> > But CPU affinity isn't realated to hyperthreading, as far as I know.
> > CPU affinity tries to keep processes on the same cpu in case there is
> > still valuable info in the cpu cache.
> >
>
> It is true that CPU affinity is designed to prevent the dump of valuable
> CPU cache. My thought is that if you are trying to prevent CPU
> contention, you could use CPU affinity to prevent 2 postmaster processes
> from running simultaneously on the same die. Am I out to lunch here?
> I've not worked with CPU affinity before, so I'm not familiar with the
> intimate details.
I guess you could but it is the backends that use the cpu. I don't
think manually specifying affinity will work for most applications.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
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: pgman@candle.pha.pa.us, jord@indygecko.com, surrano@mailbox.hu
Subject: Re: Dual Xeon + HW RAID question
In-Reply-To: <200307221850.h6MIocK10571@candle.pha.pa.us>
References: <1058896464.4339.46.camel@gecko> <200307221850.h6MIocK10571@candle.pha.pa.us>
* 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