LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=29)
-   -   [solved] Difference between 2 cpu, 4cpu and 8cpu? (http://www.litespeedtech.com/support/forum/showthread.php?t=5076)

roycerus 06-19-2011 12:11 PM

[solved] Difference between 2 cpu, 4cpu and 8cpu?
 
Hi,
I just installed litespeed. My admin says that we need to get only a 2 core license as we are using the amazon cdn and 2 core would be enough to deliver the data - in any case the rest of the 6 cores will be used to process php.

I am unsure if that is the best option. What exactly is the difference between a 2 core, 4 core and 8 core license - I know it says that it's optimized for 8 core. But what kind of optimization and results can I see if I invest more to get the 8 core license?

We are heavy php user and my server is a dedicated http server - quad core Intel(R) Xeon(R) CPU E5320 @ 1.86GHz

Kindly clarify.

Regards,
Roycerus

NiteWave 06-19-2011 06:29 PM

please refer our wiki:
http://www.litespeedtech.com/support...ense_to_choose

if any more question, come back here.

roycerus 06-19-2011 07:01 PM

Downloads
 
My Server serves a LOT of files which are stored in an NFS. It's a vbulletin installation which serves the files through attachment.php?attachid=NUM

Does this constitute as file download or something else?

The cores which are being used by LSWS - are they also available for php processing if needed?

Will getting a 8 core license give me more FLEXIBILITY to serve files quickly and also serve php depending on user connections and current needs?

I have a dedicated mysql server - so the only processes running on the server is lsws and postfix. Given the scenario - I am thinking perhaps I should go with a 4 core / 8 core license - what do you think?

NiteWave 06-19-2011 07:28 PM

>Does this constitute as file download or something else?
should be file download

>The cores which are being used by LSWS - are they also available for php processing if needed?
yes. actually it's decided by kernel.

to enable lsws page cache for vBulletin, need 2-CPU(or above) license. between 2/4/8-CPU license, which is best for your site and traffic, depending on many other factors. you can switch between these licences, to watch the performance for a few days, to get the best answer from yourself.

for upgrade/downgrade license,please refer:
http://www.litespeedtech.com/support...ngrade_license

roycerus 06-19-2011 07:41 PM

I have 2 cpu enterprise trial installed - if I buy a 4 cpu license would I need to get it reinstalled or will just updating the serial key work?

NiteWave 06-19-2011 07:48 PM

serial.no no change. no need re-install. as stated in the wiki:
Quote:

Your license will be updated from our license server automatically once invoice is paid. Your local license key will be auto-updated within one day. If you want it to become effective immediately, Please run following commands to retrieve a new license key,

/usr/local/lsws/bin/lshttpd -r
/usr/local/lsws/bin/lswsctrl restart
assuming LSWS is installed to /usr/local/lsws.
this is all you need do when upgrade/downgrade. it's convenient.

roycerus 06-19-2011 08:16 PM

Thanks for your help Nitewave. I am running the 4 core license now. It's super!

roycerus 06-19-2011 08:43 PM

One more question - how would you measure high io? Does it show in top?

NiteWave 06-19-2011 08:46 PM

run
#iostat -x
check %iowait and %util

roycerus 06-19-2011 10:06 PM

I just ran into a "Prefetching is not allowed due to the various privacy issues that arise." on both firefox and chrome. This has never happened before. Could this be related to the Litespeed cache?


All times are GMT -7. The time now is 09:57 PM.