Re: Hyper-Threading

From: The Hermit Hacker <scrappy(at)postgresql(dot)org>
To: lista(at)profit-ti(dot)com(dot)br
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Hyper-Threading
Date: 2003-05-08 16:51:17
Message-ID: 20030508134817.Y728@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


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(at)profit-ti(dot)com(dot)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(at)postgresql(dot)org
>
>

Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2003-05-08 17:26:01 Re: CIDR in pg_hba.conf
Previous Message Doug McNaught 2003-05-08 16:20:27 Re: Hyper-Threading