[Re] Need help with postgresql/apache/php optimisation
От | Froggy / Froggy Corp. |
---|---|
Тема | [Re] Need help with postgresql/apache/php optimisation |
Дата | |
Msg-id | 4033DA6F.594D9ACC@froggycorp.com обсуждение исходный текст |
Ответы |
Re: [Re] Need help with postgresql/apache/php optimisation
|
Список | 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.
В списке pgsql-general по дате отправления: