This server has dual intel xeon 5430 cpu, 8GB ram and 2x15k rpm sa-scsi hard drives on raid1. It is a web server and thus apache and mysql run on the same machine for now. We have innodb databases which are several gigabytes big (mediawiki with 12000 articles and some vbulletin forums).
__ Key ____________________________________________________________ _____
Buffer used 96.63M of 128.00M %Used: 75.50
Current 114.92M %Usage: 89.78
Write hit 54.80%
Read hit 99.87%
__ InnoDB Lock _________________________________________________________
Waits 29 0.0/s
Current 0
Time acquiring
Total 52818 ms
Average 1821 ms
Max 51005 ms
Any assistance or advice would be greatly appreciated, thanks.
Well,… its not easy to answer such an unspecific question… Do you have actual performance problems, or do you just want to increase general page load time?
That is not to much… a good ratio would be n:1 where n is much bigger than 1… In your case only 42% of the cached statements are reused… Try increasing the cache size,…
[B]Quote:[/B]
__ Threads ____________________________________________________________ _
Running 3 of 7
Cached 121 of 128 %Hit: 99.98
Created 405 0.0/s
Slow 11 0.0/s
That is a big cache… I don’t know your Data Access pattern… but the cache is used to buffer the recreation of new threads…
If your typical client access pattern is not to create dozens of new connections, without releasing some in the meantime, you can decrease this cache… But this would be very uncommon for a web application… A “normal” pattern would me more like: 3 new, 1 release, 2 new, 2 release, 2 new, 1 release, 1 new, 2 release…
So you need only your cache to smooth your fluctuations… About 8 threads… or maybe up to 16…
[B]Quote:[/B]
innodb_buffer_pool_size = 1024M
For a machine with 8GB RAM, this is not to much... and since you have more Data than that (Pool 100% used) you could try to increase your buffer_pool to gain some performance...
If you find your system is getting slow, have you tried running PHP with APC compiled in? It’ll make a massive difference, if you configure things properly.