LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    
Web Server Performance Comparison: LiteSpeed 2.1 VS PDF Print E-mail
The complete benchmark specs/configuration for both hardware and software are fully disclosed below the graphs.

For past benchmarks, please visit our benchmark archive.

Small Static File (Non-Keepalive) Benchmark

Due to the SMP server hardware and SMP scalability of LiteSpeed Enterprise server, real performance is not reflected via a single test client. In response, we used 2 test clients from 2 separate machines to showcase the SMP scalability of the Enterprise edition server. Apache and non-Enterprise editions of LiteSpeed server did not show meaningful increase in the 2 client test and thus are not included in the final result.

ConcurrencyApache 1.3.33Apache 2.0.55thttpd 2.25bLighttpd 1.4.8LiteSpeed 2.1 StandardLiteSpeed 2.1 EnterpriseLiteSpeed 2.1 Enterprise (2 Clients)
1205921512296235526312620-
109731107051118511566115271587820100
1009241100641189711558131731767427312
2009581100101173011920131781675026808
500866495431154011539120321603525213
1000859092361086710570114421523224820


Small Static File (Keepalive) Benchmark



ConcurrencyApache 1.3.33Apache 2.0.52thttpd 2.25bLighttpd 1.4.8LiteSpeed 2.1 StandardLiteSpeed 2.1 EnterpriseLiteSpeed 2.1 Enterprise (2 Clients)
1367836412288399255465540-
1015782167141076015218217203776442000
10015384159261196814909216875672191352
20014825152161158014865216635841193143
50014734150941123013888215055704583010
100013478142411090614056174035213781050


Test Web Server Software

The following web servers are included in the web server performance test.

Web ServerVersionConfiguration
Apache1.3.33Link
Apache2.0.52 (prefork mpm)Link
thttpd2.25bLink
lighttpd1.4.8Link
LiteSpeed2.1 StandardDefault + Security:Per Client Throttle disabled.
LiteSpeed2.1 ProfessionalDefault + Security:Per Client Throttle disabled.
LiteSpeed2.1 EnterpriseDefault + Security:Per Client Throttle disabled.

We'd like to include Zeus and SunOne in the benchmark test as well, however, their license agreements do not allow us to publish any benchmark results, so we skipped them. You are welcome to share your test results on our forum if you have the resource to perform a benchmark test like ours. We believe a lot of people are interested.

Test Server Environment

TypeVersion
Network SwitchD-Link 8Port Gigabit Switch DGS-1008D
Server HardwareDell PowerEdge SC1425
CPU: Dual Intel Xeon 3.0GHz/800MHz FSB/2MB L2 Cache
Memory: 1024MB DDR2 400MHz(2X512MB) ECC DIMM
Hard Drive: 80GB 7200RPM SATA drive
NIC: on board Intel PRO/1000 Gigabit Adapter
Server OSCentOS 4.1/Kernel 2.6.9-22.0.1.ELsmp

Note: Since the new I/O event dispatcher sys_epoll() in 2.6 kernel scales better in production mode, so in this test we configured both LiteSpeed and Lighttpd with epoll, even though, the benchmark results may looks a little better for both servers with standard event dispatcher poll().

Test Client Environment

TypeVersion
Client SoftwareApacheBench (ab) 1.3.33
Client HardwareCustom Built
Motherboard: MSI K7D
CPU: Dual Athlon MP 2000+/266FSB/256KB L2 Cache
Memory: 1GB PC2100
Hard Drive: 36GB 1000RPM SCSI drive
NIC: Intel PRO/1000 Gigabit
Client OSRedHat 8.0/Kernel 2.4.22smp

Test Result Procedures

Each test case was run three times, and the best result is used. Server was rebooted after testing each server software.

Small static file benchmark

A small static file with 100 bytes in size is used in this test. The reasons of using a small file are: to avoid network bandwidth bottleneck, to reveal the performance of web server software instead of kernel.

BenchmarkCommand/Source
Static Non-KeepAliveab -n 100000 -c [concurrent level] http://[ip]:[port]/100.html

<html>
<head>
  <title>Test page</title>
</head>
<body>
<h1>This is a test page</h1>
</body>
</html>
Static KeepAliveab -k -n 100000 -c [concurrent level] http://[ip]:[port]/100.html

<html>
<head>
  <title>Test page</title>
</head>
<body>
<h1>This is a test page</h1>
</body>
</html>
CGIab -n 3000 -c [concurrent level] http://[ip]:[port]/cgi-bin/echo

Used the C CGI/FCGI example in fcgi 2.4 package which prints out all CGI environment variables.
Fast-CGIab -n 10000 -c [concurrent level] http://[ip]:[port]/cgi-bin/echo

A simple C++ Fast CGI script (echocpp) is used in this test, it is a modified version of the C++ FCGI example in fcgi 2.4 package. It has been modified to only generate a constant response with 162 bytes in the response body. The part that changes from request to request has been removed because ApacheBench does not like responses with variable response body size.
PHP/Helloab -n 10000 -c [concurrent level] http://[ip]:[port]/hello.php

<?
    echo "Hello, World!";
?>
PHP/Infoab -n 10000 -c [concurrent level] http://[ip]:[port]/phpinfo.php

<HTML>
<BODY>
   <? phpinfo() ?>
</BODY>
</HTML>
Perlab -n 10000 -c [concurrent level] http://[ip]:[port]/hello.pl

#!/usr/bin/perl

print <<OUT;
Content-type: text/html

<html><head></head><body>
<h1>Hello World</h1>

Hello World!

<body></html>

OUT


 

© Copyright 2003-2009 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.