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 C9937D1DF89 for ; Thu, 22 Apr 2004 15:11:24 -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 58883-07 for ; Thu, 22 Apr 2004 15:11:24 -0300 (ADT) Received: from davinci.ethosmedia.com (server228.ethosmedia.com [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id E8978D1DF87 for ; Thu, 22 Apr 2004 15:11:22 -0300 (ADT) Received: from [64.81.245.111] (HELO 192.168.1.102) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 4922814; Thu, 22 Apr 2004 11:12:48 -0700 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Tom Lane Subject: Re: Wierd context-switching issue on Xeon patch for 7.4.1 Date: Thu, 22 Apr 2004 11:11:43 -0700 User-Agent: KMail/1.5.4 Cc: Bruce Momjian , pg@fastcrypt.com, Paul Tuckfield , Anjan Dave , Neil Conway , Dirk =?iso-8859-1?q?Lutzeb=E4ck?= , pgsql-performance@postgresql.org References: <200404220456.i3M4uFv04710@candle.pha.pa.us> <200404221037.10097.josh@agliodbs.com> <8583.1082656553@sss.pgh.pa.us> In-Reply-To: <8583.1082656553@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200404221111.43151.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.3 tagged_above=0.0 required=5.0 tests=RCVD_NUMERIC_HELO X-Spam-Level: X-Archive-Number: 200404/389 X-Sequence-Number: 6689 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. -- -Josh Berkus Aglio Database Solutions San Francisco