Advertisement

06.23.2008 at 04:25PM PDT, ID: 23509450
[x]
Attachment Details

Apache 2.2 > ApacheBench > Optimization > Data transfer rate?

Asked by t1shopper in Apache Web Server, Red Hat Linux

Tags:

Experts,

I recently bench marked a client's RedHat Apache 2.2.3 web server from a remote server (see Test #1 below) and on the web server itself (see Test #2 below).

The results from the remote host are weird because the "Transfer rate" is only 616.36 [Kbytes/sec] - which is about 5 Mbps.  However when I do an FTP speed test from the server, I can move a 38 MB file in 25 seconds which is about 250 Mbps.  So yes, we have a fast Internet connection.

Is the "Transfer rate" really an issue?  And what do I need to do to get my server to respond faster?Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
### Test #1 (From Remote Host) ####
 
windows> ab -kc 100 -t 60 http://www.myclient.com/
 
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 www.myclient.com (be patient)
Finished 739 requests
 
 
Server Software:        Apache/2.2.3
Server Hostname:        www.myclient.com
Server Port:            80
 
Document Path:          /
Document Length:        55094 bytes
 
Concurrency Level:      100
Time taken for tests:   65.437500 seconds
Complete requests:      739
Failed requests:        0
Write errors:           0
Keep-Alive requests:    0
Total transferred:      41301913 bytes
HTML transferred:       41087878 bytes
Requests per second:    11.29 [#/sec] (mean)
Time per request:       8854.871 [ms] (mean)
Time per request:       88.549 [ms] (mean, across all concurrent requests)
Transfer rate:          616.36 [Kbytes/sec] received
 
Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       15   76  48.0     78     515
Processing:  3515 7864 1609.6   7484   17110
Waiting:       78 3545 2419.5   3406   11078
Total:       3578 7941 1610.1   7562   17125
 
Percentage of the requests served within a certain time (ms)
  50%   7562
  66%   7687
  75%   8109
  80%   8265
  90%  10093
  95%  11531
  98%  11937
  99%  12046
 100%  17125 (longest request)
 
 
### Test #2 (On localhost) ###
[linux /]# ab -kc 100 -t 60 http://www.myclient.com/
 
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 www.myclient.com (be patient)
Completed 5000 requests
Completed 10000 requests
Completed 15000 requests
Completed 20000 requests
Completed 25000 requests
Completed 30000 requests
Completed 35000 requests
Completed 40000 requests
Completed 45000 requests
Finished 50000 requests
 
 
Server Software:        Apache/2.2.3
Server Hostname:        www.myclient.com
Server Port:            80
 
Document Path:          /
Document Length:        55094 bytes
 
Concurrency Level:      100
Time taken for tests:   50.354540 seconds
Complete requests:      50000
Failed requests:        0
Write errors:           0
Keep-Alive requests:    0
Total transferred:      2769060758 bytes
HTML transferred:       2754810188 bytes
Requests per second:    992.96 [#/sec] (mean)
Time per request:       100.709 [ms] (mean)
Time per request:       1.007 [ms] (mean, across all concurrent requests)
Transfer rate:          53702.41 [Kbytes/sec] received
 
Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    4   6.9      1     100
Processing:    17   95  21.3     95     249
Waiting:        1   55  36.6     52     244
Total:         19   99  21.9     98     249
 
Percentage of the requests served within a certain time (ms)
  50%     98
  66%    104
  75%    108
  80%    111
  90%    123
  95%    138
  98%    154
  99%    173
 100%    249 (longest request)
 
### Prefork Config ###
<IfModule prefork.c>
StartServers       8
MinSpareServers    5
MaxSpareServers   15
ServerLimit      150
MaxClients       150
MaxRequestsPerChild  2000
SendBufferSize 16384
</IfModule>
[+][-]06.24.2008 at 05:12PM PDT, ID: 21861685

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.27.2008 at 12:58PM PDT, ID: 21887102

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.27.2008 at 01:55PM PDT, ID: 21887555

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.27.2008 at 03:18PM PDT, ID: 21888111

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.27.2008 at 04:30PM PDT, ID: 21888386

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.27.2008 at 06:03PM PDT, ID: 21888627

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Apache Web Server, Red Hat Linux
Tags: Apache 2.2
Sign Up Now!
Solution Provided By: giltjr
Participating Experts: 1
Solution Grade: A
 
 
[+][-]06.27.2008 at 07:11PM PDT, ID: 21888877

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.28.2008 at 08:21AM PDT, ID: 21891154

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.28.2008 at 10:04AM PDT, ID: 21891411

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.28.2008 at 10:37AM PDT, ID: 21891513

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.28.2008 at 02:38PM PDT, ID: 21892105

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 11:30AM PDT, ID: 21919230

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 02:04PM PDT, ID: 21920743

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 05:33PM PDT, ID: 21921933

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 06:23PM PDT, ID: 21922082

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628