dave_biscuits Posted April 21, 2008 Share Posted April 21, 2008 I just built a new dual quad-core server for our apache / php html intranet applications Only problem is everytime you run an heavy-duty page on the html application, httpd chugs away for about 20 seconds or so using one core only until its finished. Is there any possible way to tweak apache / php to use the power of all 8 cores to speed this up?? (Otherwise i would have built a overclocked 4GHz dual core instead of spending big on an slow 2.5GHz 8 core xeon!!) Running FreeBSD 7.0 64bit, Apache22, PHP4.4.8 ... Thanks in advance, Dave. ??? Quote Link to comment https://forums.phpfreaks.com/topic/102097-apachephp-multicore-performance/ Share on other sites More sharing options...
djazz Posted August 24, 2008 Share Posted August 24, 2008 I have the same issue with a dual core AMD ... apache/php seems to be using only one CPU per task. And none seems to know the answer ... perhaps giving up php and starting with another more serious language that can do it ... Quote Link to comment https://forums.phpfreaks.com/topic/102097-apachephp-multicore-performance/#findComment-624213 Share on other sites More sharing options...
corbin Posted August 25, 2008 Share Posted August 25, 2008 I might be wrong, but I'm fairly sure that an Apache thread cannot use more than 1 core. Instead, I think that the threads are spawned under different cores each time. Quote Link to comment https://forums.phpfreaks.com/topic/102097-apachephp-multicore-performance/#findComment-624607 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.