pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Browne <cbbrowne@libertyrms.info>
To: pgsql-admin@postgresql.org
Subject: Re: 2CPU 4GBRAM
Date: Tue, 09 Dec 2003 17:20:21 -0500
Message-ID: <60zne18wgq.fsf@dev6.int.libertyrms.info> (raw)
References: <033b01c3bc5c$282d81f0$5a0c0c38@progs01>

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];;
<http://dev6.int.libertyrms.com/;
Christopher Browne
(416) 646 3304 x124 (land)



view thread (5+ messages)  latest in thread

Message-ID: <60zne18wgq.fsf@dev6.int.libertyrms.info>
Permalink:  ../60zne18wgq.fsf@dev6.int.libertyrms.info/
Also on:    postgresql.org/message-id/60zne18wgq.fsf@dev6.int.libertyrms.info

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: cbbrowne@libertyrms.info
  Subject: Re: 2CPU 4GBRAM
  In-Reply-To: <60zne18wgq.fsf@dev6.int.libertyrms.info>
  References: <033b01c3bc5c$282d81f0$5a0c0c38@progs01> <60zne18wgq.fsf@dev6.int.libertyrms.info>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox