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 13792D1DF8B for ; Thu, 22 Apr 2004 14:37:47 -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 45280-07 for ; Thu, 22 Apr 2004 14:37:46 -0300 (ADT) Received: from davinci.ethosmedia.com (server228.ethosmedia.com [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id 002A7D1E0F2 for ; Thu, 22 Apr 2004 14:37:44 -0300 (ADT) Received: from [63.195.55.98] (HELO spooky) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 4922627; Thu, 22 Apr 2004 10:39:10 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Organization: Aglio Database Solutions To: Tom Lane , Bruce Momjian Subject: Re: Wierd context-switching issue on Xeon patch for 7.4.1 Date: Thu, 22 Apr 2004 10:37:10 -0700 User-Agent: KMail/1.4.3 Cc: 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> <20171.1082610827@sss.pgh.pa.us> In-Reply-To: <20171.1082610827@sss.pgh.pa.us> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200404221037.10097.josh@agliodbs.com> 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/384 X-Sequence-Number: 6684 Tom, > The tricky > part is that a slow adaptation rate means we can't have every backend > figuring this out for itself --- the right value would have to be > maintained globally, and I'm not sure how to do that without adding a > lot of overhead. This may be a moot point, since you've stated that changing the loop timing won't solve the problem, but what about making the test part of make? I don't think too many systems are going to change processor architectures once in production, and those that do can be told to re-compile. -- Josh Berkus Aglio Database Solutions San Francisco