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 09215D1B172 for ; Thu, 20 May 2004 01:12:45 -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 51599-10 for ; Thu, 20 May 2004 01:12:23 -0300 (ADT) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id E4FCDD1DDF3 for ; Thu, 20 May 2004 01:11:56 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i4K4B5F03803; Thu, 20 May 2004 00:11:05 -0400 (EDT) From: Bruce Momjian Message-Id: <200405200411.i4K4B5F03803@candle.pha.pa.us> Subject: Re: Wierd context-switching issue on Xeon In-Reply-To: <25437.1085025536@sss.pgh.pa.us> To: Tom Lane Date: Thu, 20 May 2004 00:11:05 -0400 (EDT) Cc: pg@fastcrypt.com, Robert Creager , Josh Berkus , =?ISO-8859-1?Q?Dirk=5FLutzeb=E4ck?= , ohp@pyrenet.fr, Joe Conway , "scott.marlowe" , pgsql-performance@postgresql.org, Neil Conway 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: 200405/166 X-Sequence-Number: 6997 OK, added to TODO: * Investigate SMP context switching issues --------------------------------------------------------------------------- Tom Lane wrote: > Bruce Momjian writes: > > Tom Lane wrote: > >> ... The SMP issue seems to be not with whether there is > >> instantaneous contention for the locked datastructure, but with the cost > >> of making it possible for processor B to acquire a lock recently held by > >> processor A. > > > I see. I don't even see a TODO in there. :-( > > Nothing more specific than "investigate SMP context switching issues", > anyway. We are definitely in a research mode here, rather than an > engineering mode. > > ObQuote: "Research is what I am doing when I don't know what I am > doing." - attributed to Werner von Braun, but has anyone got a > definitive reference? > > regards, tom lane > -- 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