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 427F132A2AE for ; Wed, 20 Oct 2004 15:07:06 +0100 (BST) 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 28376-04 for ; Wed, 20 Oct 2004 14:06:59 +0000 (GMT) Received: from bayswater1.ymogen.net (host-154-240-27-217.pobox.net.uk [217.27.240.154]) by svr1.postgresql.org (Postfix) with ESMTP id 429F932A298 for ; Wed, 20 Oct 2004 15:07:01 +0100 (BST) Received: from [82.68.132.233] (82-68-132-233.dsl.in-addr.zen.co.uk [82.68.132.233]) by bayswater1.ymogen.net (Postfix) with ESMTP id 453E4A338F; Wed, 20 Oct 2004 15:07:01 +0100 (BST) Message-ID: <41767104.10702@ymogen.net> Date: Wed, 20 Oct 2004 15:07:00 +0100 From: Matt Clark User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Josh Close Cc: POSTGRES-PERFORMANCE Subject: Re: how much mem to give postgres? References: <4a0cafe2041019153133f854e9@mail.gmail.com> <200410192223.24285.josh@agliodbs.com> <4a0cafe204102006391f726a4f@mail.gmail.com> In-Reply-To: <4a0cafe204102006391f726a4f@mail.gmail.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.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/317 X-Sequence-Number: 8793 >How would I turn that off? In the kernel config? Not too familiar with >that. I have a 2 proc xeon with 4 gigs of mem on the way for postgres, >so I hope HT isn't a problem. If HT is turned off, does it just not >use the other "half" of the processor? Or does the processor just work >as one unit? > > You turn it off in the BIOS. There is no 'other half', the processor is just pretending to have two cores by shuffling registers around, which gives maybe a 5-10% performance gain in certain multithreaded situations. A hack to overcome marchitactural limitations due to the overly long pipeline in the Prescott core.. Really of most use for desktop interactivity rather than actual throughput. M