Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 98098634979 for ; Sun, 14 Feb 2010 15:07:50 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 15039-05 for ; Sun, 14 Feb 2010 19:07:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.dunaweb.hu (mail.dunaweb.hu [81.17.184.3]) by mail.postgresql.org (Postfix) with ESMTP id B70D86335C9 for ; Sun, 14 Feb 2010 15:05:38 -0400 (AST) Received: from localhost (amavis.net-belso [10.0.0.238]) by mail.dunaweb.hu (Postfix) with ESMTP id 7FA6F37C308; Sun, 14 Feb 2010 20:05:18 +0100 (CET) X-Virus-Scanned: amavisd-new at dunaweb.hu Received: from mail.dunaweb.hu ([10.0.0.94]) by localhost (amavis.net-belso.local [10.0.0.238]) (amavisd-new, port 10024) with ESMTP id XuQ0jFqjJNV3; Sun, 14 Feb 2010 20:05:33 +0100 (CET) Received: from [91.82.32.60] (91.82.32.60.pool.invitel.hu [91.82.32.60]) by mail.dunaweb.hu (Postfix) with ESMTP id EFD7E37C3AE; Sun, 14 Feb 2010 20:05:13 +0100 (CET) Message-ID: <4B78497A.7070606@cybertec.at> Date: Sun, 14 Feb 2010 20:05:30 +0100 From: Boszormenyi Zoltan User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Reydan Cankur Cc: Scott Marlowe , pgsql-performance@postgresql.org Subject: Re: PostgreSQL on SMP Architectures References: <4DA8D3EC-9868-4A6D-8806-F0534C55D2C6@gmail.com> <64CB629A-24B4-47D3-9E2C-72CE297B9FC8@gmail.com> In-Reply-To: <64CB629A-24B4-47D3-9E2C-72CE297B9FC8@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.185 tagged_above=-10 required=5 tests=BAYES_40=-0.185 X-Spam-Level: X-Archive-Number: 201002/230 X-Sequence-Number: 37651 Reydan Cankur írta: > I want to do the second. I want to spread out the workload on all > cores. But also I want to set the core number; for example first I > want to spread out the workload to 32 cores then 64 cores and see the > scalability. You can use taskset(1) or schedtool(8) to set the CPU affinity of the postmaster. New backends inherit the setting. > On Feb 14, 2010, at 8:25 PM, Scott Marlowe wrote: > >> With all that info, your question is still kind of vague. Do you want >> to be able to run a single query across all 64 cores? Or do you have >> 1,000 users and you want them to be spread out on all cores. >> PostgreSQL can do the second but has no native features to do the >> first. > > -- Bible has answers for everything. Proof: "But let your communication be, Yea, yea; Nay, nay: for whatsoever is more than these cometh of evil." (Matthew 5:37) - basics of digital technology. "May your kingdom come" - superficial description of plate tectonics ---------------------------------- Zoltán Böszörményi Cybertec Schönig & Schönig GmbH http://www.postgresql.at/