Re: Wierd context-switching issue on Xeon patch for 7.4.1 - Mailing list pgsql-performance

From Bruce Momjian
Subject Re: Wierd context-switching issue on Xeon patch for 7.4.1
Date
Msg-id 200404221831.i3MIVMl22821@candle.pha.pa.us
Whole thread Raw
List pgsql-performance
Josh Berkus wrote:
> Tom,
>
> > Having to recompile to run on single- vs dual-processor machines doesn't
> > seem like it would fly.
>
> Oh, I don't know.  Many applications require compiling for a target
> architecture; SQL Server, for example, won't use a 2nd processor without
> re-installation.   I'm not sure about Oracle.
>
> It certainly wasn't too long ago that Linux gurus were esposing re-compiling
> the kernel for the machine.
>
> And it's not like they would *have* to re-compile to use PostgreSQL after
> adding an additional processor.  Just if they wanted to maximize peformance
> benefit.
>
> Also, this is a fairly rare circumstance, I think; to judge by my clients,
> once a database server is in production nobody touches the hardware.

A much simpler solution would be for the postmaster to run a test during
startup.

--
  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

pgsql-performance by date:

Previous
From: Pailloncy Jean-Gérard
Date:
Subject: Re: 225 times slower
Next
From: Markus Bertheau
Date:
Subject: Re: [pgsql-advocacy] MySQL vs PG TPC-H benchmarks