[rhelv6-beta-list] Apache benchmark RHEL 5 vs. RHEL 6

Morten P.D. Stevens mstevens at imt-systems.com
Mon Nov 8 23:26:27 UTC 2010


2010/11/8 Jerry Franz <jfranz at freerun.com>:

> Try disabling atime (noatime mount option) on the partition you are using
> for the webserver so the 'last accessed' stamp doesn't have to be updated.
> If you are using your root partition for the webserver, you can disable it
> on the specific files and directories by using 'chattr':
> http://tldp.org/LDP/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/chap6sec73.html.
>
> Also, try adding 'commit=30' to the mount options for the partition.

Hi,

okay here is it with mount options noatime,commit=30

RHEL 5: Requests per second: 9426.71 (10.608151 seconds)
RHEL 6: Requests per second: 5595.64 (17.871 seconds)

Best regards,

Morten

Full benchmark: (with noatime,commit=30)

RHEL5:

[root at x86-001 ~]# ab -n 100000 -c 5 http://10.0.0.1/test.html
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking 10.0.0.1 (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Finished 100000 requests


Server Software:        Apache/2.2.3
Server Hostname:        10.0.0.1
Server Port:            80

Document Path:          /test.html
Document Length:        169 bytes

Concurrency Level:      5
Time taken for tests:   10.608151 seconds
Complete requests:      100000
Failed requests:        0
Write errors:           0
Total transferred:      43900000 bytes
HTML transferred:       16900000 bytes
Requests per second:    9426.71 [#/sec] (mean)
Time per request:       0.530 [ms] (mean)
Time per request:       0.106 [ms] (mean, across all concurrent requests)
Transfer rate:          4041.33 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0      15
Processing:     0    0   0.4      0      24
Waiting:        0    0   0.3      0      23
Total:          0    0   0.4      0      24

Percentage of the requests served within a certain time (ms)
  50%      0
  66%      0
  75%      0
  80%      0
  90%      0
  95%      0
  98%      0
  99%      0
 100%     24 (longest request)

RHEL 6:

[root at x86-002 ~]# ab -n 100000 -c 5 http://10.0.0.2/test.html
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 10.0.0.2 (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Completed 100000 requests
Finished 100000 requests


Server Software:        Apache/2.2.15
Server Hostname:        10.0.0.2
Server Port:            80

Document Path:          /test.html
Document Length:        169 bytes

Concurrency Level:      5
Time taken for tests:   17.871 seconds
Complete requests:      100000
Failed requests:        0
Write errors:           0
Total transferred:      43900000 bytes
HTML transferred:       16900000 bytes
Requests per second:    5595.64 [#/sec] (mean)
Time per request:       0.894 [ms] (mean)
Time per request:       0.179 [ms] (mean, across all concurrent requests)
Transfer rate:          2398.91 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.2      0      16
Processing:     0    1   0.9      0     277
Waiting:        0    0   0.9      0     277
Total:          0    1   1.0      1     277
WARNING: The median and mean for the processing time are not within a normal deviation
        These results are probably not that reliable.

Percentage of the requests served within a certain time (ms)
  50%      1
  66%      1
  75%      1
  80%      1
  90%      1
  95%      1
  98%      1
  99%      1
 100%    277 (longest request)




More information about the rhelv6-beta-list mailing list