Re:

From: Matthew Hixson <hixson(at)poindextrose(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re:
Date: 2001-04-25 16:40:42
Message-ID: Pine.LNX.3.96.1010425093536.3323A-100000@zoso.notwork.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 25 Apr 2001, Ashley T. Howes wrote:

> I was wondering if PostgreSQL takes advantage of multiple CPUs when
> placed in a single Linux box. Or are multiple CPUs utilised as long
> as the Linux kernel is compiled to take advantage of them?

If you compile an SMP kernel Linux will balance processes and threads
evenly across the CPUs. One client hitting the database may not see a
huge advantage of a multi-processor machine, but the Linux box is also
running other processes than the postmaster, even if its the kernel
itself. Of course, if two clients hit the box at the same time then each
postgres backend process could execute on a different CPU. For a heavily
loaded machine I think you would see a measurable difference in using an
multi-proc box.
-M@

In response to

  • at 2001-04-25 08:47:47 from Ashley T. Howes

Browse pgsql-general by date

  From Date Subject
Next Message Nils Zonneveld 2001-04-25 16:44:35 Re: Newbie struggling to set $PGDATA
Previous Message Tom Lane 2001-04-25 16:32:26 Re: append all columns in where-clause