LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Feedback/Feature Requests > compile php with multiple cpus

Reply
 
Thread Tools Display Modes
  #1  
Old 05-21-2011, 07:53 AM
anything anything is offline
Member
 
Join Date: Jun 2010
Posts: 40
Default compile php with multiple cpus

Suggest adding an option to detect and use all cpu's when compiling php.
On an 8 core system I changed your build script from "make" to "make -j 8" and reduced my php compile time down from "this is taking too long" to less than 30 seconds.

Of course, this option should be optional. Some day I may want it to go slow so that the server is not slow for the web users.
Reply With Quote
  #2  
Old 07-20-2011, 01:02 PM
cmanns cmanns is offline
Senior Member
 
Join Date: Jun 2010
Posts: 100
Quote:
Originally Posted by anything View Post
Suggest adding an option to detect and use all cpu's when compiling php.
On an 8 core system I changed your build script from "make" to "make -j 8" and reduced my php compile time down from "this is taking too long" to less than 30 seconds.

Of course, this option should be optional. Some day I may want it to go slow so that the server is not slow for the web users.
I believe this can cause compilation anomalies.

Just like my compilation with CFLAGS='-Os -march={arch} -msse2 -msse3 -mfpmath=sse -m{arch}' \

wouldn't ever be optional :P
__________________
-William C.Manns Owner of XenServ Co
Need LiteSpeed Hosting, Server Tuning, or Other Help I'm your guy

http://xenserv.com http://evilpuma.com
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:20 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.