Skip to content

Commit 42000b0

Browse files
Migrating wiki contents from Google Code
0 parents  commit 42000b0

2 files changed

Lines changed: 739 additions & 0 deletions

File tree

BenchmarkTest.md

Lines changed: 257 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,257 @@
1+
### Using Apache AB for HTTPSQS Benchmark Test: ###
2+
3+
CPU:Intel(R) Xeon(R) CPU E5540 @ 2.53GHz
4+
5+
6+
---
7+
8+
9+
### PUT 512 bytes text message into a queue (With Keep-Alive): 23018 requests/sec ###
10+
11+
```
12+
[root@xoyo ~]# ab -k -c 10 -n 100000 "http://127.0.0.1:1218/?name=xoyo&opt=put&data=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
13+
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
14+
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
15+
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
16+
17+
Benchmarking 127.0.0.1 (be patient)
18+
Completed 10000 requests
19+
Completed 20000 requests
20+
Completed 30000 requests
21+
Completed 40000 requests
22+
Completed 50000 requests
23+
Completed 60000 requests
24+
Completed 70000 requests
25+
Completed 80000 requests
26+
Completed 90000 requests
27+
Finished 100000 requests
28+
29+
30+
Server Software:
31+
Server Hostname: 127.0.0.1
32+
Server Port: 1218
33+
34+
Document Path: /?name=xoyo&opt=put&data=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
35+
Document Length: 14 bytes
36+
37+
Concurrency Level: 10
38+
Time taken for tests: 4.344264 seconds
39+
Complete requests: 100000
40+
Failed requests: 0
41+
Write errors: 0
42+
Keep-Alive requests: 100000
43+
Total transferred: 16388896 bytes
44+
HTML transferred: 1400000 bytes
45+
Requests per second: 23018.86 [#/sec] (mean)
46+
Time per request: 0.434 [ms] (mean)
47+
Time per request: 0.043 [ms] (mean, across all concurrent requests)
48+
Transfer rate: 3683.94 [Kbytes/sec] received
49+
50+
Connection Times (ms)
51+
min mean[+/-sd] median max
52+
Connect: 0 0 0.0 0 0
53+
Processing: 0 0 1.1 0 108
54+
Waiting: 0 0 1.1 0 108
55+
Total: 0 0 1.1 0 108
56+
57+
Percentage of the requests served within a certain time (ms)
58+
50% 0
59+
66% 0
60+
75% 0
61+
80% 0
62+
90% 0
63+
95% 0
64+
98% 0
65+
99% 0
66+
100% 108 (longest request)
67+
```
68+
69+
70+
---
71+
72+
73+
### GET 512 bytes text message from a queue (With Keep-Alive): 25982 requests/sec ###
74+
75+
```
76+
[root@xoyo ~]# ab -k -c 10 -n 100000 "http://127.0.0.1:1218/?name=xoyo&opt=get"
77+
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
78+
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
79+
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
80+
81+
Benchmarking 127.0.0.1 (be patient)
82+
Completed 10000 requests
83+
Completed 20000 requests
84+
Completed 30000 requests
85+
Completed 40000 requests
86+
Completed 50000 requests
87+
Completed 60000 requests
88+
Completed 70000 requests
89+
Completed 80000 requests
90+
Completed 90000 requests
91+
Finished 100000 requests
92+
93+
94+
Server Software:
95+
Server Hostname: 127.0.0.1
96+
Server Port: 1218
97+
98+
Document Path: /?name=xoyo&opt=get
99+
Document Length: 512 bytes
100+
101+
Concurrency Level: 10
102+
Time taken for tests: 3.848696 seconds
103+
Complete requests: 100000
104+
Failed requests: 0
105+
Write errors: 0
106+
Keep-Alive requests: 100000
107+
Total transferred: 66288898 bytes
108+
HTML transferred: 51200000 bytes
109+
Requests per second: 25982.83 [#/sec] (mean)
110+
Time per request: 0.385 [ms] (mean)
111+
Time per request: 0.038 [ms] (mean, across all concurrent requests)
112+
Transfer rate: 16819.98 [Kbytes/sec] received
113+
114+
Connection Times (ms)
115+
min mean[+/-sd] median max
116+
Connect: 0 0 0.0 0 0
117+
Processing: 0 0 0.0 0 2
118+
Waiting: 0 0 0.0 0 2
119+
Total: 0 0 0.0 0 2
120+
121+
Percentage of the requests served within a certain time (ms)
122+
50% 0
123+
66% 0
124+
75% 0
125+
80% 0
126+
90% 0
127+
95% 0
128+
98% 0
129+
99% 0
130+
100% 2 (longest request)
131+
```
132+
133+
134+
---
135+
136+
137+
### PUT 512 bytes text message into a queue (Without Keep-Alive): 11840 requests/sec ###
138+
139+
```
140+
[root@xoyo ~]# ab -c 10 -n 100000 "http://127.0.0.1:1218/?name=xoyo&opt=put&data=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
141+
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
142+
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
143+
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
144+
145+
Benchmarking 127.0.0.1 (be patient)
146+
Completed 10000 requests
147+
Completed 20000 requests
148+
Completed 30000 requests
149+
Completed 40000 requests
150+
Completed 50000 requests
151+
Completed 60000 requests
152+
Completed 70000 requests
153+
Completed 80000 requests
154+
Completed 90000 requests
155+
Finished 100000 requests
156+
157+
158+
Server Software:
159+
Server Hostname: 127.0.0.1
160+
Server Port: 1218
161+
162+
Document Path: /?name=xoyo&opt=put&data=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
163+
Document Length: 14 bytes
164+
165+
Concurrency Level: 10
166+
Time taken for tests: 8.445621 seconds
167+
Complete requests: 100000
168+
Failed requests: 0
169+
Write errors: 0
170+
Total transferred: 8788895 bytes
171+
HTML transferred: 1400000 bytes
172+
Requests per second: 11840.46 [#/sec] (mean)
173+
Time per request: 0.845 [ms] (mean)
174+
Time per request: 0.084 [ms] (mean, across all concurrent requests)
175+
Transfer rate: 1016.15 [Kbytes/sec] received
176+
177+
Connection Times (ms)
178+
min mean[+/-sd] median max
179+
Connect: 0 0 0.0 0 0
180+
Processing: 0 0 0.8 0 58
181+
Waiting: 0 0 0.8 0 58
182+
Total: 0 0 0.8 0 58
183+
184+
Percentage of the requests served within a certain time (ms)
185+
50% 0
186+
66% 0
187+
75% 0
188+
80% 0
189+
90% 1
190+
95% 1
191+
98% 1
192+
99% 1
193+
100% 58 (longest request)
194+
```
195+
196+
197+
---
198+
199+
200+
### GET 512 bytes text message from a queue (Without Keep-Alive): 13294 requests/sec ###
201+
202+
```
203+
[root@xoyo ~]# ab -c 10 -n 100000 "http://127.0.0.1:1218/?name=xoyo&opt=get"
204+
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
205+
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
206+
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
207+
208+
Benchmarking 127.0.0.1 (be patient)
209+
Completed 10000 requests
210+
Completed 20000 requests
211+
Completed 30000 requests
212+
Completed 40000 requests
213+
Completed 50000 requests
214+
Completed 60000 requests
215+
Completed 70000 requests
216+
Completed 80000 requests
217+
Completed 90000 requests
218+
Finished 100000 requests
219+
220+
221+
Server Software:
222+
Server Hostname: 127.0.0.1
223+
Server Port: 1218
224+
225+
Document Path: /?name=xoyo&opt=get
226+
Document Length: 512 bytes
227+
228+
Concurrency Level: 10
229+
Time taken for tests: 7.521673 seconds
230+
Complete requests: 100000
231+
Failed requests: 0
232+
Write errors: 0
233+
Total transferred: 58700000 bytes
234+
HTML transferred: 51200000 bytes
235+
Requests per second: 13294.91 [#/sec] (mean)
236+
Time per request: 0.752 [ms] (mean)
237+
Time per request: 0.075 [ms] (mean, across all concurrent requests)
238+
Transfer rate: 7621.18 [Kbytes/sec] received
239+
240+
Connection Times (ms)
241+
min mean[+/-sd] median max
242+
Connect: 0 0 0.0 0 0
243+
Processing: 0 0 0.1 0 2
244+
Waiting: 0 0 0.1 0 2
245+
Total: 0 0 0.1 0 2
246+
247+
Percentage of the requests served within a certain time (ms)
248+
50% 0
249+
66% 0
250+
75% 0
251+
80% 0
252+
90% 0
253+
95% 0
254+
98% 0
255+
99% 1
256+
100% 2 (longest request)
257+
```

0 commit comments

Comments
 (0)