From: | mark(at)mark(dot)mielke(dot)cc |
---|---|
To: | Alexander Kirpa <postgres(at)bilteks(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: PostgreSQL on 64 bit Linux |
Date: | 2006-08-21 14:48:47 |
Message-ID: | 20060821144847.GB16719@mark.mielke.cc |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Aug 21, 2006 at 12:00:58PM +0300, Alexander Kirpa wrote:
> > WRT 64-bit and Postgres, it depends on the CPU as to whether you
> > see a simple performance benefit. On the Opteron you will see a
> > benefit when doing CPU bound work. When doing the CPU portion, the
> > additional registers of the Opteron running in 64-bit mode are used
> > by the compiler to produce a 20-30% boost in performance. On the
> > Xeon in 64-bit mode, the same regions of execution will slow down
> > by about 5%.
>
> > Postgres benefits automatically from the larger memory addressing
> > of the 64-bit kernel by using the larger I/O cache of Linux.
>
> Main benefit Postgres in 64-bit mode possible only in case dedicated
> DB server on system with RAM > 3GB and use most part of RAM for
> shared buffers and avoid persistent moving buffers between OS cache
> and shared memory. On system with RAM below 2-3GB to difficult found
> serious gain of performance.
This is the main difference between PostgreSQL today - designed for
32-bit - when recompiled with a 64-bit compiler.
The additional registers are barely enough to counter the increased
cost of processing in 64-bits.
Cheers,
mark
--
mark(at)mielke(dot)cc / markm(at)ncf(dot)ca / markm(at)nortel(dot)com __________________________
. . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder
|\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ |
| | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada
One ring to rule them all, one ring to find them, one ring to bring them all
and in the darkness bind them...
From | Date | Subject | |
---|---|---|---|
Next Message | Paul Silveira | 2006-08-21 14:54:26 | Re: snapshot replication with pg_dump |
Previous Message | mark | 2006-08-21 14:46:56 | Re: PostgreSQL on 64 bit Linux |