Received: from ctron-dnm.ctron.com (ctron-dnm.enterasys.com [12.25.1.120]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g1BDcAE34600 for ; Mon, 11 Feb 2002 08:38:10 -0500 (EST) (envelope-from rhunter@enterasys.com) Received: (from uucp@localhost) by ctron-dnm.ctron.com (8.8.7/8.8.7) id IAA13511; Mon, 11 Feb 2002 08:47:38 -0500 (EST) Received: from unknown(134.141.77.96) by ctron-dnm.ctron.com via smap (4.1) id xma013487; Mon, 11 Feb 02 08:46:50 -0500 Received: by cnc-exc1.enterasys.com with Internet Mail Service (5.5.2653.19) id <1VYXNGQD>; Mon, 11 Feb 2002 08:36:28 -0500 Message-ID: <59358A738F45D51186A30008C74CE250E81372@slc-exc1.ctron.com> From: "Hunter, Ray" To: "'Zavier'" Cc: pgsql-php@postgresql.org Subject: Re: Web & DB Servers Date: Mon, 11 Feb 2002 08:36:48 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1B301.27A1F830" X-Archive-Number: 200202/28 X-Sequence-Number: 934 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1B301.27A1F830 Content-Type: text/plain It depends on what you are doing...I have a stripped down server that is apache & pgsql with nothing else. It is a 933mhz with 256M ram and I have optimized both apache and pgsql to run. I have really nothing else on the system. The only draw back I see is that if you split the two up and you have tons of network traffic; you queries might take longer over the network. You also have the question of authentication with pgsql for the connection when you have the two on different machines. If you trust you network 100% then you can have a trusted connection--else you need to set up some type of authentication which might decrease performance. I have not done any testing in this area; however, I am debting whether or not to go down the road. As for the cpu's, I have not looked into the L2 cache as of yet. Hope this helps... Ray Hunter Firmware Engineer ENTERASYS NETWORKS -----Original Message----- From: Zavier [mailto:zavier@zavier.net] Sent: Friday, February 08, 2002 7:03 PM To: pgsql-php@postgresql.org Subject: [PHP] Web & DB Servers I'm wondering what the better solution is: Apache/PHP & PgSQL on one physical server with 100% performance (ie. 1200 MHz, 2GB RAM) or have Apache & PgSQL each on a server with half the performance (600MHz/1GB RAM each). I'm especially curious in the way long running queries affect the L2 cache performance in the mixed enviroment. What if Apache & PgSQL are fighting over the L2 cache making it's large size (in case of the new .13 micron CPU's from Intel) rather useless compared to the "dedicated solution", where each CPU runs only one application and can use the cache better? Maybe I'm missing something here completely, so I would appreciate any comments/suggestions. Is there a noticable performance gain in splitting the server in two? Thanks! -Zavier ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster ------_=_NextPart_001_01C1B301.27A1F830 Content-Type: text/html Content-Transfer-Encoding: quoted-printable RE: [PHP] Web & DB Servers

It depends on what you are doing...I have a stripped down= server that is apache & pgsql with nothing else.  It is a 933mhz = with 256M ram and I have optimized both apache and pgsql to run.  I ha= ve really nothing else on the system.  The only draw back I see is tha= t if you split the two up and you have tons of network traffic; you queries= might take longer over the network.  You also have the question of au= thentication with pgsql for the connection when you have the two on differe= nt machines.  If you trust you network 100% then you can have a truste= d connection--else you need to set up some type of authentication which mig= ht decrease performance.  I have not done any testing in this area; ho= wever, I am debting whether or not to go down the road. 

As for the cpu's, I have not looked into the L2 cache as = of yet. 


Hope this helps...


Ray Hunter
Firmware Engineer

ENTERASYS NETWORKS


-----Original Message-----
From: Zavier [mailt= o:zavier@zavier.net]
Sent: Friday, February 08, 2002 7:03 PM
To: pgsql-php@postgresql.org
Subject: [PHP] Web & DB Servers


I'm wondering what the better solution is:

Apache/PHP & PgSQL on one physical server with 100% p= erformance  (ie. 1200 MHz, 2GB RAM) or have Apache & PgSQL each on= a server with half the performance (600MHz/1GB RAM each).

I'm especially curious in the way long running queries af= fect the L2 cache performance in the mixed enviroment. What if Apache &= PgSQL are fighting over the L2 cache making it's large size (in case of th= e new .13 micron CPU's from Intel) rather useless compared to the "ded= icated solution", where each CPU runs only one application and can use= the cache better? Maybe I'm missing something here completely, so I would = appreciate any comments/suggestions. Is there a noticable performance gain = in splitting the server in two?

Thanks!

-Zavier


---------------------------(end of broadcast)------------= ---------------
TIP 4: Don't 'kill -9' the postmaster

------_=_NextPart_001_01C1B301.27A1F830--