X-Original-To: pgsql-hackers@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 8CC1C4763B6 for ; Thu, 8 May 2003 12:51:17 -0400 (EDT) Received: from mobile.hub.org (unknown [206.128.61.21]) by postgresql.org (Postfix) with ESMTP id 98F70476164 for ; Thu, 8 May 2003 12:51:12 -0400 (EDT) Received: by mobile.hub.org (Postfix, from userid 1001) id C2A56EF9; Thu, 8 May 2003 13:51:17 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by mobile.hub.org (Postfix) with ESMTP id BDDD4D75; Thu, 8 May 2003 13:51:17 -0300 (ADT) Date: Thu, 8 May 2003 13:51:17 -0300 (ADT) From: The Hermit Hacker X-X-Sender: scrappy@hub.org To: lista@profit-ti.com.br Cc: pgsql-hackers@postgresql.org Subject: Re: Hyper-Threading In-Reply-To: <3EBA568C.1229.FAB97D5@localhost> Message-ID: <20030508134817.Y728@hub.org> References: <3EBA568C.1229.FAB97D5@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN X-Spam-Status: No, hits=-32.5 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/199 X-Sequence-Number: 38706 I've heard conflicting reports about HyperThreading in general ... by default, FreeBSD doesn't enable it (it originally did), as ppl were reporting performance degradation ... I'm using it on our servers, and haven't noticed any problems ... As far as PostgreSQL is concerned, how well it takes advantage of it is alot more dependent, I think, on the OS itself then on the application ... PostgreSQL is multi-process, but its the OS itself that handles the schedualing between CPUs, and how those resources are allocated ... My understanding of HyperThreading is that on a DualCPU box, you end up with 4 CPUs running at ~67% each, instead of 2 CPUs running at 100% each ... or ~1.5x faster, depending on how well the OS itself handles it ... On Thu, 8 May 2003 lista@profit-ti.com.br wrote: > Hi People!  > As a project manager I decided to migrate the full project from Oracle > to PostgreSQL. >  > We bought a new Intel box to host the database, it is a dual Xeon 2.2 > and I intend to use it with a FreeBSD 4.8 wich support Intel Hyper- > Threading. >  > I Woul like to know if the PostgreSQL 7.3.2 will take advantage from > Hyper-Threading? > Best Regards, > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > > Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org