X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5A3C45293C for ; Fri, 29 Jul 2005 15:56:05 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 14457-05 for ; Fri, 29 Jul 2005 18:55:56 +0000 (GMT) Received: from gghcwest.com (adsl-71-128-90-172.dsl.pltn13.pacbell.net [71.128.90.172]) by svr1.postgresql.org (Postfix) with ESMTP id CC3C25281E for ; Fri, 29 Jul 2005 15:55:54 -0300 (ADT) Received: from toonses.gghcwest.com (toonses.gghcwest.com [192.168.168.115]) by gghcwest.com (8.12.10/8.12.9) with ESMTP id j6TItimd028952; Fri, 29 Jul 2005 11:55:47 -0700 Received: from jwb by toonses.gghcwest.com with local (Exim 4.50) id 1Dya1H-0001nm-2f; Fri, 29 Jul 2005 11:55:43 -0700 Subject: Re: Performance problems on 4/8way Opteron (dualcore) HP From: "Jeffrey W. Baker" To: josh@agliodbs.com Cc: pgsql-performance@postgresql.org, Dirk =?ISO-8859-1?Q?Lutzeb=E4ck?= , Sven Geisler In-Reply-To: <200507291046.10318.josh@agliodbs.com> References: <42EA5D18.9020204@aeccom.com> <200507291046.10318.josh@agliodbs.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 29 Jul 2005 11:55:42 -0700 Message-Id: <1122663342.6814.5.camel@toonses.gghcwest.com> Mime-Version: 1.0 X-Mailer: Evolution 2.3.6 X-Virus-Scanned: by amavisd-new at hub.org X-Archive-Number: 200507/481 X-Sequence-Number: 13722 On Fri, 2005-07-29 at 10:46 -0700, Josh Berkus wrote: > Dirk, > > > does anybody have expierence with this machine (4x 875 dual core Opteron > > CPUs)? I'm using dual 275s without problems. > Nope. I suspect that you may be the first person to report in on > dual-cores. There may be special compile issues with dual-cores that > we've not yet encountered. Doubtful. However you could see improvements using recent Linux kernel code. There have been some patches for optimizing scheduling and memory allocations. However, if you are running this machine in 32-bit mode, why did you bother paying $14,000 for your CPUs? You will get FAR better performance in 64-bit mode. 64-bit mode will give you 30-50% better performance on PostgreSQL loads, in my experience. Also, if I remember correctly, the 32-bit x86 kernel doesn't understand Opteron NUMA topology, so you may be seeing poor memory allocation decisions. -jwb > > We run RHEL 3.0, 32bit and under high load it is a drag. We > > mostly run memory demanding queries. Context switches are pretty much > > around 20.000 on the average, no cs spikes when we run many processes in > > parallel. Actually we only see two processes in running state! When > > there are only a few processes running context switches go much higher. > > At the moment we are much slower that with a 4way XEON box (DL580). > > Um, that was a bit incoherent. Are you seeing a CS storm or aren't you? >