Litespeed static file benchmarks - Part 1

eva2000

Well-Known Member
#1
My inner benchmark demon took over and got a bit side tracked from testing out Litespeed's inbuilt cache feature. LOL

I ran these static test.txt file apachebench benchmarks to rule out an a possible server config/environment issue which showed up in cache testing in cache tests part 2 - particularly was alot worse with nginx for test.php tests like apache with test.php file details.

Even with static test.txt file, repeated back to back apachebench runs resulted in lower requests per second for apache. While NginX didn't exhibit as bad a result compared to it's test.php tests (2nd run already down to 330 rps). Litespeed seemed immune to dramatic drops at least.

Note:

  1. CPU and Memory utilisation were much higher for Apache than NginX than Litespeed. For example, by 5th ran on 1000 concurrency level, Apache cpu load was hitting 2.8, NginX was around 1.2, and Litespeed around 0.6.
  2. test.txt file used contents was ascii art.
  3. NginX set to 2 workers to compare to 2 cpu Litespeed license
  4. Raw apachebench numbers available here

 
Last edited:

eva2000

Well-Known Member
#2
Curious as to performance of my virtualbox guest server, so ran Unixbench 5.1.2 as per http://www.webhostingtalk.com/showthread.php?t=924581 to see how it compares.

  • VirtualBox CentOS 5.5 64bit Guest
  • Xeon W3540 @3408Mhz (Assigned 2 cores only) - linux reports @3375Mhz
  • 64MB allocated GPU memory
  • 1GB out of 6GB DDR3-1550Mhz
  • 20GB out of 640GB Samsung SATAII

Code:
========================================================================
   BYTE UNIX Benchmarks (Version 5.1.2)

   System: localhost.localdomain: GNU/Linux
   OS: GNU/Linux -- 2.6.18-194.32.1.el5 -- #1 SMP Wed Jan 5 17:52:25 EST 2011
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU W3540 @ 2.93GHz (6750.1 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 1: Intel(R) Xeon(R) CPU W3540 @ 2.93GHz (6733.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   21:45:27 up  1:11,  2 users,  load average: 0.00, 0.01, 0.00; runlevel 5

------------------------------------------------------------------------
Benchmark Run: Sun Jan 23 2011 21:45:27 - 22:09:32
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       19101079.5 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3771.0 MWIPS (10.0 s, 7 samples)
Execl Throughput                               4394.2 lps   (30.0 s, 2 samples)
Pipe Throughput                             1457951.0 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  29373.4 lps   (10.0 s, 7 samples)
Process Creation                              13113.2 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   7997.6 lpm   (60.0 s, 2 samples)
Shell Scripts (16 concurrent)                   901.5 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1756.9 lpm   (60.0 s, 2 samples)
System Call Overhead                        1211587.2 lps   (10.0 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   19101079.5   1636.8
Double-Precision Whetstone                       55.0       3771.0    685.6
Execl Throughput                                 43.0       4394.2   1021.9
Pipe Throughput                               12440.0    1457951.0   1172.0
Pipe-based Context Switching                   4000.0      29373.4     73.4
Process Creation                                126.0      13113.2   1040.7
Shell Scripts (1 concurrent)                     42.4       7997.6   1886.2
Shell Scripts (16 concurrent)                     ---        901.5      ---
Shell Scripts (8 concurrent)                      6.0       1756.9   2928.1
System Call Overhead                          15000.0    1211587.2    807.7
                                                                   ========
System Benchmarks Index Score (Partial Only)                          916.9

------------------------------------------------------------------------
Benchmark Run: Sun Jan 23 2011 22:09:32 - 22:33:38
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       37996013.0 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     7678.6 MWIPS (9.7 s, 7 samples)
Execl Throughput                               8655.7 lps   (29.9 s, 2 samples)
Pipe Throughput                             2863704.1 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 739539.5 lps   (10.0 s, 7 samples)
Process Creation                              25690.5 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  14271.1 lpm   (60.0 s, 2 samples)
Shell Scripts (16 concurrent)                  1001.8 lpm   (60.1 s, 2 samples)
Shell Scripts (8 concurrent)                   1990.0 lpm   (60.0 s, 2 samples)
System Call Overhead                        2279039.9 lps   (10.0 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   37996013.0   3255.9
Double-Precision Whetstone                       55.0       7678.6   1396.1
Execl Throughput                                 43.0       8655.7   2012.9
Pipe Throughput                               12440.0    2863704.1   2302.0
Pipe-based Context Switching                   4000.0     739539.5   1848.8
Process Creation                                126.0      25690.5   2038.9
Shell Scripts (1 concurrent)                     42.4      14271.1   3365.8
Shell Scripts (16 concurrent)                     ---       1001.8      ---
Shell Scripts (8 concurrent)                      6.0       1990.0   3316.7
System Call Overhead                          15000.0    2279039.9   1519.4
                                                                   ========
System Benchmarks Index Score (Partial Only)                         2226.9
top stats straight after unixbench run
Code:
top - 22:34:03 up  2:00,  2 users,  load average: 6.78, 7.13, 4.75
Tasks: 124 total,   1 running, 123 sleeping,   0 stopped,   0 zombie
Cpu(s): 14.4%us, 13.9%sy,  0.0%ni, 70.8%id,  0.4%wa,  0.0%hi,  0.4%si,  0.0%st
Mem:   1026824k total,   688652k used,   338172k free,    31276k buffers
Swap:  2064376k total,        0k used,  2064376k free,   457076k cached
Code:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           W3540  @ 2.93GHz
stepping        : 5
cpu MHz         : 3375.078
cache size      : 6144 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
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 mmx fxsr sse sse2 ht syscall nx lm constant_tsc pni ssse3 lahf_lm
bogomips        : 6750.15
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           W3540  @ 2.93GHz
stepping        : 5
cpu MHz         : 3375.078
cache size      : 6144 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
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 mmx fxsr sse sse2 ht syscall nx lm constant_tsc pni ssse3 lahf_lm
bogomips        : 6733.77
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:
 
Last edited:
Top