Re: Dual Xeon + HW RAID question - Mailing list pgsql-performance

From Bruce Momjian
Subject Re: Dual Xeon + HW RAID question
Date
Msg-id 200307221738.h6MHcBF03404@candle.pha.pa.us
Whole thread Raw
In response to Re: Dual Xeon + HW RAID question  (SZUCS Gábor <surrano@mailbox.hu>)
List pgsql-performance
SZUCS G�bor wrote:
> "by default" -- do you mean there is a way to tell Linux to favor the second
> real cpu over the HT one? how?

Right now there is no way the kernel can tell which virtual cpu's are on
each physical cpu's, and that is the problem.  Once there is a way,
hyperthreading will be more useful, but even then, it doesn't double
your CPU throughput, just increases by 40%.


> > Right, I simplified it.  The big deal is whether the OS favors the
> > second real CPU over one of the virtual CPU's on the same die --- by
> > default, it doesn't.  Ever if it did work perfectly, you are talking
> > about going from 1 to 1.4 or 2 to 2.8, which doesn't seem like much.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>

--
  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

pgsql-performance by date:

Previous
From: Jord Tanner
Date:
Subject: Re: Dual Xeon + HW RAID question
Next
From: Bruce Momjian
Date:
Subject: Re: Dual Xeon + HW RAID question