LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   About the license and CPUs (http://www.litespeedtech.com/support/forum/showthread.php?t=1660)

Brainlag 01-10-2008 06:39 AM

About the license and CPUs
 
Hello,

I am a little bit confused about the license system and processors/cores.

Currently the configuration of the box I intend to install LiteSpeed is:

[root@server2 ~]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.20GHz
stepping : 10
cpu MHz : 3192.595
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl cid xtpr
bogomips : 6387.71

processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.20GHz
stepping : 10
cpu MHz : 3192.595
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl cid xtpr
bogomips : 6383.98

processor : 2
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.20GHz
stepping : 10
cpu MHz : 3192.595
cache size : 2048 KB
physical id : 3
siblings : 2
core id : 3
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl cid xtpr
bogomips : 6384.08

processor : 3
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.20GHz
stepping : 10
cpu MHz : 3192.595
cache size : 2048 KB
physical id : 3
siblings : 2
core id : 3
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl cid xtpr
bogomips : 6384.18

What license (1-2or4 CPU ) should I apply ?

Thank you in advance for your reply.

ffeingol 01-10-2008 06:45 AM

Brainlag,

Don't think in terms of how many CPU's/cores you have (they are the same to LSWS as far as I know) think about how many you want LSWS to "use". If, for example, you are running a heavy PHP/MySQL application you may only want a 2-CPU license. That then "logically" leaves 1/2 your CPU's/cores to run the PHP process and MySQL.

I hope that helps,

Frank

mistwang 01-10-2008 10:27 AM

What Frank said is true, another thing to consider is the I/O wait, like all other light weight web servers, blocking disk I/O will block lshttpd process, so if your server has high I/O wait, you should consider license for higher CPU count in order to compensate and bring the best out.

azn_romeo_4u 01-14-2008 10:48 AM

I'm on a total newbie at servers. Someone has recommended me litespeed.

I have a Intel Core 2 Quad, so that means 4 cores right? So according to what ffiengol said, you don't have to actually purchase the 4 core package. Instead you can just purchase for php/mysql application? And all this can be set up easily by yourself?

Also is http stuff considered for 1 core?

mistwang 01-14-2008 11:07 AM

You are free to use 1-CPU, 2-CPU or 4-CPU license on your server.

azn_romeo_4u 01-14-2008 12:14 PM

Cool.

So for example. I have two websites. One is a pretty large and active forum, and another website that allows hotlinking of small 1kb-15kb files. Mainly in those range. Some files go over 100kb but rarely.

Would two core setup be good or should I just try the 4core?

Also on the trial version do you get to test the full version?

mistwang 01-14-2008 12:18 PM

You can choose between 2-CPU or 4-CPU license, if you I/O wait is higher than 10%, go with the 4-CPU license. You can upgrade to 4-CPU license later if need.
The trial license is a full 2-CPU license for 15 days.

vivek 02-13-2008 07:44 PM

I have a Dual core Xeon server,using 1 core cpu license of litespeed, holding 1350 low traffic domains. It work great with 1 cpu license.

The server load is always under 1 around all the day.

Thanks to litespeed.
Vivek

anewday 03-21-2008 05:48 PM

I am still on my trial, is there any way I can use a 1-CPU license instead of 2 for the trial? The reason is because I can only afford the 1-CPU license and want to know how it performs on my server.

mistwang 03-22-2008 02:08 PM

You can create a listener for the IP that your main site associated with. set "Binding" to one process only.


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