By Lanny-1 on
I have installed the default content on an AIX server (which is the target server for my). This server is low traffic, performing only mail and web services.
My static web server has sub-second response time. System is connected directly to a public network. The response time to drupal based system is extremly slow to the point of being unusable. Is there anything I could tweak without loosing drupal functionality, please?
Comments
Performance
PHP should be an Apache module, not CGI. Make sure you have enough RAM that neither webserver nor database server is swapping out. Then consider performance-tuning MySQL -- make sure the buffers are big enough to hold index data so you're not hitting disk. (Plenty of mysql tuning information can be located via Google.)
You also could consider installing APC, although in my experience PHP compilation isn't on the list of primary performance suspects.
sub second responses
Our Drupal sites running on an 8yr old Pentium2 PC running Debian can still get sub second response times for most pages without any extra tuning at all.
How old is this AIX box? Does it have enough RAM?
Maybe PHP (and maybe your database as well) is just really badly optimised on AIX? On our site I'd estimate that on that machine the DB queries are about 20-30% of the page generation time, so PHP eats up a relatively large chunk of processing time.
I'd recommend installing the devel Drupal module. That will allow you to see the total script running time as well as times for all the queries - you may be able to pin down which module or slow query is the culprit.
--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ
Thank you for your great
Thank you for your great response. From what I see, the problem should not be drupal but I do have other php-mysql apps running with much "better" response time.
I will follow all the suggestions made and report any improvements for the benefit of other AIX users.