X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 60229D1B554 for ; Tue, 9 Dec 2003 23:29:57 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 41828-04 for ; Tue, 9 Dec 2003 19:29:28 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 94DAED1B50A for ; Tue, 9 Dec 2003 19:29:25 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id hB9NTPbI065623 for ; Tue, 9 Dec 2003 23:29:25 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id hB9N9xWP063328 for pgsql-admin@postgresql.org; Tue, 9 Dec 2003 23:09:59 GMT From: Christopher Browne X-Newsgroups: comp.databases.postgresql.admin Subject: Re: 2CPU 4GBRAM Date: Tue, 09 Dec 2003 17:20:21 -0500 Organization: Hub.Org Networking Services Lines: 31 Message-ID: <60zne18wgq.fsf@dev6.int.libertyrms.info> References: <033b01c3bc5c$282d81f0$5a0c0c38@progs01> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@news.hub.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Reasonable Discussion, linux) Cancel-Lock: sha1:m45xTpRxLNZuYus+kyFQYbDpRH4= To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/148 X-Sequence-Number: 11656 mendoza@cln.megared.net.mx ("Jose Mendoza") writes: > How can be efectivly configured the PostgreSQL to run in a machine > with 2 CPUs Xeon 2.4 GHz and 4GB of RAM? The PostgreSQL work with > the 2 processors? > > I had run tests and the tiems is always the same that in a computer > with 1 CPU pentium 4   2.4GHz and 2GB RAM. > > I intend to use the postgreSQL in several projects that requiere to > attend about 1000 - 2500 users in a chain of retail stores. Is is > that possible? Or is beyond that the postgresql possibilities? Well, if the tests that you have done have been presented, serially, to one connection, then they were all submitted to one backend process, in order, and you couldn't expect to get any benefit from having multiple CPUs. If you want to test how things scale with 2 CPUs and a whole bunch of users, what you most importantly have to do is to simulate the "whole bunch of users" part. You should set up programs, perhaps running on 10 computers, that generate traffic to resemble the actions of 1000 users. If you build a more proper test, you should find that the extra CPU does make some difference. But if all that you do amounts to running a single serial report, you surely won't see that... -- let name="cbbrowne" and tld="libertyrms.info" in String.concat "@" [name;tld];; Christopher Browne (416) 646 3304 x124 (land)