X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.192]) by svr1.postgresql.org (Postfix) with ESMTP id 45D11D1C4E3 for ; Mon, 21 Jul 2003 19:07:55 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr4.postgresql.org [64.117.224.192]) (amavisd-new, port 10024) with ESMTP id 46109-02 for ; Mon, 21 Jul 2003 19:07:54 +0000 (GMT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 35E8ED1C4C8 for ; Mon, 21 Jul 2003 16:07:52 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id h6LJ7YV03382; Mon, 21 Jul 2003 15:07:34 -0400 (EDT) From: Bruce Momjian Message-Id: <200307211907.h6LJ7YV03382@candle.pha.pa.us> Subject: Re: Dual Xeon + HW RAID question In-Reply-To: <00b901c34f49$1ed04b40$0403a8c0@fejleszt4> To: =?ISO-8859-1?Q?SZUCS_G=E1bor?= Date: Mon, 21 Jul 2003 15:07:32 -0400 (EDT) Cc: pgsql-performance@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UNKNOWN-8BIT X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/338 X-Sequence-Number: 2631 SZUCS Gábor wrote: > Alexandre, > > I missed your orig. post, but AFAIK multiprocessing kernels will handle HT > CPUs as 2 CPUs each. Thus, our dual Xeon 2.4 is recognized as 4 Xeon 2.4 > CPUs. > > This way, I don't think HT would improve any single query (afaik no postgres > process uses more than one cpu), but overall multi-query performance has to > improve. When you use hyperthreading, each virtual cpu runs at 70% of a full CPU, so hyperthreading could be slower than non-hyperthreading. On a fully loaded dual cpu system, you are looking at 2.8 cpu's (0.70 * 4), while if it isn't loaded, you are looking at slowing down if you are only using 1 or 2 cpu's. -- 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