[Re] Need help with postgresql/apache/php optimisation

From: "Froggy / Froggy Corp(dot)" <froggy(at)froggycorp(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: [Re] Need help with postgresql/apache/php optimisation
Date: 2004-02-18 21:34:39
Message-ID: 4033DA6F.594D9ACC@froggycorp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

First thx for your quick answer :)

iostat dont return bad load average. I never grow up to 1Mb/s and the
IDE drive can go faster.

I really can't change the server, its a locative server which i own
(only me on the server, no cooperative, but i dont have physically
access to it). So the configuration is ... not the best :). And at this
time, i dont have money for server-hosting.

My personnal computer is better than my server, but cant do nothing :/

There is a lot of SELECT and very few UPDATE/INSERT, so fsync will not
really increase performance (or im in wrong about fsync).

Regards,

"scott.marlowe" wrote:
>
> On Wed, 18 Feb 2004, Froggy / Froggy Corp. wrote:
>
> > The problem is that on "fire time", the load go to > 1 and stay long
> > time. But with top (i use top -d 1 to have "real" load average) i can
> > see that the CPU is more than 50% idling.
> >
> > For exemple, i have this kind of stat :
> >
> > 0s - load 1.5 - cpu idling 0%
> > 5s - load 1.6 - cpu ilding 50%
> > 6s -> 60s - load around 1.2 - cpu idling around 50%-100%
>
> sounds to me like you're starving for bandwidth on your I/O subsystem.
> any chance you can get a faster set of drives under it or go with a SCSI
> RAID controller with battery backed cache?
>
> also, turning off fsync may increase speed at the cost of data security in
> the event of a kernel crash or power failure.
>
> Are you doing a lot of writing or mostly just reading? If mostly reading,
> then you might do well with more memory in the machine. 256 meg is kinda
> puny. You'd do better with my old PIII750 machine that had 1.5 gig in it
> than a celeron with only 256 meg, no matter how fast the celeron.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Froggy / Froggy Corp. 2004-02-18 21:35:09 [Re] Need help with postgresql/apache/php optimisation
Previous Message Henrik Farre 2004-02-18 21:17:06 pg_dumpall dies