Received: from harmony.hudes.org (IDENT:root@advsol4.dsl.concentric.net [209.220.92.60]) by hub.org (8.10.1/8.10.1) with ESMTP id e5MI2L191894 for ; Thu, 22 Jun 2000 14:02:21 -0400 (EDT) Received: from soloist (w061.z209220092.nyc-ny.dsl.cnc.net [209.220.92.61]) by harmony.hudes.org (8.9.3/8.9.3) with SMTP id OAA19680; Thu, 22 Jun 2000 14:02:17 -0400 Message-ID: <004c01bfdc74$00e9c2a0$3d5cdcd1@hudes.org> From: "Dana Hudes" To: =?iso-8859-1?Q?Lo=EFc_TREGOU=CBT?= , References: <38FD86EF.153D37A1@ext.cri74.org> <395251DA.74EB8611@ext.cri74.org> Subject: Re: smp , php and postmaster distant Date: Thu, 22 Jun 2000 14:02:17 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.org id e5MI2L191895 X-Archive-Number: 200006/129 to my knowledge PostgreSQL is not multi-threaded. PHP appliations don't support threads or multiple processes; Perl supports multiple processes and, especially in 5.6 (and some development versions before it) threads. Your gain from SMP under such situation is the application has a cpu for itself and all the system overhead processes run on the other cpu. I think PgSQL is thread-safe but someone like Bruce Momjian would know for sure. ----- Original Message ----- From: "Loïc TREGOUËT" To: Sent: Thursday, June 22, 2000 1:50 PM Subject: [ADMIN] smp , php and postmaster distant > Hie , > > > I have put a database on a 2 processors db server . (2 * PII 450 Mhz > with 512 Mo RAM) > > This server is distant from the web server . > > I've a php3 interface and , i've seen some big loose of performance > . > > The request are longer when i use the bi-processor . > > Is it due to the distant server or do i need some configurations to > postmaster to accept multi prcocessors ? > > The web server and the database server are link with a 100Mbit link > ! > > thanks for > all