|
Apache 1.3.24 Benchmark
Solaris 2.6 vs 8
update 04/10/2002
By Colin A. Bitterfield EX-SUN Microsystems, Inc. Contact Me
Disclaimer: This is my work an in is not intended to make any claims regarding SUN Microsystems, Inc., SOLARIS, Apache, HTTP_LOAD, the price of tea in China. And as always actual milage may vary.
Purpose of the Experiment:
To demostrate the differences between Solaris 2.6 and Solaris 8 in a standard based test. The test is based on a default apache (shared module) configuration. This test demostrates that tuning of an Operating Environment can make dramtic difference in performance on the Solaris 8 OE.
The included tcp perfomance and security scripts should be effective on any Internet based application.
Condition:
Hardware:
SUN Ultra 1 (167MHz) 256MB RAM, Single 9GB SCSI Drive This hardware was chosen because load genetation would be easy.
Software:
Solaris 8 (02/02) w/Companion CD patched with April Recommended patches only Solaris 2.6 (5/98) w/Similiar Freeware packages patched with April Recommended patches only Apache 1.3.24 (From Apache.org) http_load (From acme software). I am including a link to my compiled SUN Package
Compile Time Options:
Http_Load was compiled with SUN Workshop Compiler Forte 6 update 2. It is provided here as a SUN Package for Solaris 8
Apache is configured as follows:
# PATH=/opt/sfw/bin:/usr/local/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/usr/ucb; export PATH # CFLAGS="-DHARD_SERVER_LIMIT=4096"; export CFLAGS #./configure --prefix=/opt/apache \ --server-uid=www \ --server-gid=www \ --enable-module=so \ --enable-module=rewrite \ --enable-module=auth_anon \ --enable-module=log_referer \ --enable-module=info \ --enable-module=usertrack \ --enable-shared=max \ -v # make; make installNo other modifications are made to apache.
Test File Creation:
The program make_test_files from /opt/http_load is used as follows:
mkdir /test_files /opt/http_load/make_test_files 1000 0 scp * root@lab1:/opt/apache/htdocs
Major Configurations to Solaris for Security and Performance.
Two scripts are used nddconfig for security and tcp-performance for "tcp performance".
nddconfig This script is part of the SUN Microsystems, Inc "Security Blueprints" tcp-performance This script is a modified tuning script that I have been working on for TCP Applications.
The /etc/system file is modified identically for both machines:
/etc/system
Test Results
No Tuning Parameters on Server
No Tuning Parameters
|
|
S56 (60)
|
S58(60)
|
S56(300)
|
S58(300)
|
S56(900)
|
S58(900)
|
S56(1800)
|
S8(1800)
|
S56(3600)
|
S58(3600)
|
|
Fetches/Second
|
240
|
234
|
157
|
155
|
140
|
142
|
141
|
141
|
139
|
143
|
|
Connect/ms
|
0.87
|
0.86
|
0.87
|
14.95
|
21.64
|
20.95
|
22.49
|
21.37
|
22.29
|
21.23
|
|
FR/ms
|
15.75
|
16.26
|
15.75
|
10.91
|
6082
|
7.18
|
5.81
|
6.96
|
6.46
|
6.65
|
|
|
|
|
|
|
|
|
|
|
|
|
|
C/Mean
|
0.87
|
0.86
|
0.87
|
14.95
|
21.64
|
20.95
|
22.49
|
21.37
|
22.29
|
21.23
|
|
C/Max
|
160.26
|
11.85
|
160.26
|
3939.6
|
3983.69
|
3905.4
|
3970.2
|
3988.7
|
3996.6
|
3995.5
|
|
C/Min
|
0.59
|
0.57
|
0.59
|
0.55
|
0.58
|
0.53
|
0.58
|
0.58
|
0.56
|
0.5
|
|
Fr/Mean
|
15.75
|
16.26
|
15.75
|
10.91
|
6082
|
7.18
|
5.81
|
6.96
|
6.46
|
6.65
|
|
Fr/Max
|
803.6
|
661.68
|
803.6
|
673.78
|
722.25
|
684.18
|
654.24
|
833.39
|
794.19
|
740.01
|
|
Fr/Min
|
1.73
|
1.88
|
1.73
|
1.8
|
1.68
|
1.82
|
1.7
|
1.82
|
1.64
|
1.822
|
Actual Logs
Perfomance Tuned on Server
Performance Tuned
|
|
S56 (60)
|
S58(60)
|
S56(300)
|
S58(300)
|
S56(900)
|
S58(900)
|
S56(1800)
|
S8(1800)
|
S56(3600)
|
S58(3600)
|
|
Fetches/Second
|
239
|
235
|
157
|
233
|
140
|
233
|
139
|
233
|
140
|
233
|
|
Connect/ms
|
0.87
|
0.89
|
13.48
|
0.9
|
20.69
|
0.89
|
22.01
|
0.89
|
22.23
|
0.9
|
|
FR/ms
|
16.82
|
16.15
|
11.95
|
16.25
|
7.95
|
16.26
|
6.83
|
16.3
|
6.34
|
16.28
|
|
|
|
|
|
|
|
|
|
|
|
|
|
C/Mean
|
0.87
|
0.89
|
13.48
|
0.9
|
20.69
|
0.89
|
22.01
|
0.89
|
22.23
|
0.9
|
|
C/Max
|
62.25
|
11.27
|
3907.5
|
85.09
|
3977.2
|
224.13
|
3965.32
|
209.84
|
3960.1
|
500.52
|
|
C/Min
|
0.58
|
0.58
|
0.59
|
0.59
|
0.56
|
0.59
|
0.55
|
0.56
|
0.53
|
0.58
|
|
Fr/Mean
|
16.82
|
16.15
|
11.95
|
16.25
|
7.95
|
16.26
|
6.83
|
16.3
|
6.34
|
16.28
|
|
Fr/Max
|
727.42
|
672.55
|
776.14
|
924.95
|
703.09
|
885.82
|
767.84
|
1011.1
|
828.59
|
1052.4
|
|
Fr/Min
|
1.78
|
1.99
|
1.71
|
1.86
|
1.7
|
1.86
|
1.66
|
1.83
|
1.62
|
1.85
|
Actual Logs
Graphical Represenation (No Tuning)
Graphical Represenation (Perfomance Tuning)
|