X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id ADF17D1CCAD for ; Thu, 22 Apr 2004 15:31:56 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 70736-02 for ; Thu, 22 Apr 2004 15:31:54 -0300 (ADT) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 3C84AD1CCA8 for ; Thu, 22 Apr 2004 15:31:52 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i3MIVMl22821; Thu, 22 Apr 2004 14:31:22 -0400 (EDT) From: Bruce Momjian Message-Id: <200404221831.i3MIVMl22821@candle.pha.pa.us> Subject: Re: Wierd context-switching issue on Xeon patch for 7.4.1 In-Reply-To: <200404221111.43151.josh@agliodbs.com> To: josh@agliodbs.com Date: Thu, 22 Apr 2004 14:31:22 -0400 (EDT) Cc: Tom Lane , pg@fastcrypt.com, Paul Tuckfield , Anjan Dave , Neil Conway , =?ISO-8859-1?Q?Dirk_Lutzeb=E4ck?= , pgsql-performance@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200404/387 X-Sequence-Number: 6687 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