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 C44C952835 for ; Sun, 31 Jul 2005 07:11:22 -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 09876-01 for ; Sun, 31 Jul 2005 10:11:17 +0000 (GMT) Received: from mail2.aeccom.com (port-212-202-101-158.static.qsc.de [212.202.101.158]) by svr1.postgresql.org (Postfix) with ESMTP id F04B95280C for ; Sun, 31 Jul 2005 07:11:15 -0300 (ADT) Received: from [192.168.2.132] (openvpn02.core.aeccom.com [192.168.2.132]) by mail2.aeccom.com (Postfix) with ESMTP id C4EF8EC; Sun, 31 Jul 2005 12:11:15 +0200 (CEST) Message-ID: <42ECA3B6.3000607@aeccom.com> Date: Sun, 31 Jul 2005 12:11:02 +0200 From: =?ISO-8859-1?Q?Dirk_Lutzeb=E4ck?= Reply-To: lutzeb@aeccom.com User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Jeffrey W. Baker" Cc: josh@agliodbs.com, pgsql-performance@postgresql.org, Sven Geisler Subject: Re: Performance problems on 4/8way Opteron (dualcore) HP References: <42EA5D18.9020204@aeccom.com> <200507291046.10318.josh@agliodbs.com> <1122663342.6814.5.camel@toonses.gghcwest.com> In-Reply-To: <1122663342.6814.5.camel@toonses.gghcwest.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200507/499 X-Sequence-Number: 13740 Hi Jeff, which box are you running precisely and which OS/kernel? We need to run 32bit because we need failover to 32 bit XEON system (DL580). If this does not work out we probably need to switch to 64 bit (dump/restore) and run a nother 64bit failover box too. Regards, Dirk Jeffrey W. Baker wrote: > 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? >>