Received: from localhost (pluto.hub.org [200.46.204.4]) by postgresql.org (Postfix) with ESMTP id 001EA9FB32F for ; Fri, 3 Nov 2006 10:04:26 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.4]) (amavisd-new, port 10024) with ESMTP id 57526-01 for ; Fri, 3 Nov 2006 10:04:17 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by postgresql.org (Postfix) with ESMTP id E562A9FB2A6 for ; Fri, 3 Nov 2006 10:04:22 -0400 (AST) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 4127E73830; Fri, 3 Nov 2006 14:04:12 +0000 (GMT) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 8B3B215EAB; Fri, 3 Nov 2006 14:04:12 +0000 (GMT) Message-ID: <454B4CBD.7080204@archonet.com> Date: Fri, 03 Nov 2006 14:05:49 +0000 From: Richard Huxton User-Agent: Thunderbird 1.5.0.7 (X11/20060918) MIME-Version: 1.0 To: Richard Troy Cc: creimer@brturbo.com.br, pgsql-performance@postgresql.org Subject: Re: Context switch storm References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/45 X-Sequence-Number: 21815 Richard Troy wrote: > On Fri, 3 Nov 2006, Richard Huxton wrote: >> It's memory bandwidth issues on the older Xeons. If you search the >> archives you'll see a lot of discussion of this. I'd have thought 8.1 >> would be better than 7.4 though. > > Hmmm... I just checked; one of our production systems is a multi-cpu Xeon > based system of uncertain age (nobody remember 'zactly). While we haven't > seen this problem yet, it's scheduled to take over demo-duty shortly and > it would be an embarassment if we had this trouble during a demo... Is > there any easy way to tell if you're at risk? Try: - multiple clients - query doing sorts that fit into work_mem -- Richard Huxton Archonet Ltd