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 90554D1B48A for ; Sun, 25 Apr 2004 04:13:42 -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 58789-05 for ; Sun, 25 Apr 2004 04:13:42 -0300 (ADT) Received: from lamb.mcmillan.net.nz (218-101-45-219.paradise.net.nz [218.101.45.219]) by svr1.postgresql.org (Postfix) with ESMTP id DA14ED1B4AE for ; Sun, 25 Apr 2004 04:13:39 -0300 (ADT) Received: from lamb.mcmillan.net.nz (lamb.mcmillan.net.nz [127.0.0.1]) by lamb.mcmillan.net.nz (Postfix) with ESMTP id 2025FAD985AC; Sun, 25 Apr 2004 19:13:36 +1200 (NZST) Subject: Re: Wierd context-switching issue on Xeon patch for 7.4.1 From: Andrew McMillan To: Josh Berkus Cc: Tom Lane , Bruce Momjian , pg@fastcrypt.com, Paul Tuckfield , Anjan Dave , Neil Conway , Dirk =?ISO-8859-1?Q?Lutzeb=E4ck?= , pgsql-performance@postgresql.org In-Reply-To: <200404221037.10097.josh@agliodbs.com> References: <200404220456.i3M4uFv04710@candle.pha.pa.us> <20171.1082610827@sss.pgh.pa.us> <200404221037.10097.josh@agliodbs.com> Content-Type: text/plain Message-Id: <1082877215.8041.20.camel@lamb.mcmillan.net.nz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.7 Date: Sun, 25 Apr 2004 19:13:35 +1200 Content-Transfer-Encoding: 7bit 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/433 X-Sequence-Number: 6733 On Thu, 2004-04-22 at 10:37 -0700, Josh Berkus wrote: > 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. Sure they do - PostgreSQL is regularly provided as a pre-compiled distribution. I haven't compiled PostgreSQL for years, and we have it running on dozens of machines, some SMP, some not, but most running Debian Linux. Even having a compiler _installed_ on one of our client's database servers would usually be considered against security procedures, and would get a black mark when the auditors came through. Regards, Andrew McMillan ------------------------------------------------------------------------- Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/ PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201 MOB: +64(21)635-694 OFFICE: +64(4)499-2267 Planning an election? Call us! -------------------------------------------------------------------------