paulyip34
By:
paulyip34

Is my AB test result normal?

October 13, 2016 196 views
Apache Ubuntu

I have AB test results below on a 4Core/8GB Ram server on a local ISP vs Digital Ocean(DO) 2Core/4GB/60GB Harddisk. My DO server is on Singapore data center and the client I sent the request is also another server on DO Singapore data center. It looks the performance on Digital Ocean is not good? If you check the the requests per second, it's 102 vs 29.
Do you think the result is normal?
Do you think I could get the result similiar to my ISP if I upgrade my DO server to 4Core/8GB? Thank you.

Local ISP:
Ubuntu 14.04 (Linux 3.13.0-77-generic)
Intel Xeon E312xx (Sandy Bridge)
Server Software: Apache/2.4.7
Server Hostname: isp.abc.com
Server Port: 80

Document Path: /api/v1/test/1
Document Length: 2238 bytes

Concurrency Level: 100
Time taken for tests: 97.850 seconds
Complete requests: 10000
Failed requests: 0
Total transferred: 32520952 bytes
HTML transferred: 22380000 bytes
Requests per second: 102.20 [#/sec] (mean)
Time per request: 978.497 [ms] (mean)
Time per request: 9.785 [ms] (mean, across all concurrent requests)
Transfer rate: 324.57 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 187 205 8.5 204 265
Processing: 258 770 361.0 696 6291
Waiting: 257 769 360.9 694 6291
Total: 464 975 361.5 900 6509

Percentage of the requests served within a certain time (ms)
50% 900
66% 979
75% 1045
80% 1090
90% 1238
95% 1421
98% 2170
99% 2676
100% 6509 (longest request)


DO Server:
Ubuntu 14.04 (Linux 4.4.0-38-generic)
Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz

Server Software: Apache/2.4.7
Server Hostname: do.abc.com
Server Port: 80

Document Path: /api/v1/test/1
Document Length: 2238 bytes

Concurrency Level: 100
Time taken for tests: 336.120 seconds
Complete requests: 10000
Failed requests: 0
Total transferred: 32520608 bytes
HTML transferred: 22380000 bytes
Requests per second: 29.75 [#/sec] (mean)
Time per request: 3361.202 [ms] (mean)
Time per request: 33.612 [ms] (mean, across all concurrent requests)
Transfer rate: 94.49 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 237 248 7.2 247 356
Processing: 334 3104 1288.5 2879 17722
Waiting: 334 3097 1288.1 2874 17722
Total: 574 3352 1288.7 3128 17964

Percentage of the requests served within a certain time (ms)
50% 3128
66% 3312
75% 3442
80% 3530
90% 3806
95% 4217
98% 5459
99% 10582
100% 17964 (longest request)

1 Answer

I created another DO server 16GB/8Core and the following is the results.

DO Server:
Ubuntu 14.04 (Linux 4.4.0-38-generic)
Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz

Server Software: Apache/2.4.7
Server Hostname: 16gb.abc.com
Server Port: 80

Document Path: /api/v1/test/1
Document Length: 2238 bytes

Concurrency Level: 100
Time taken for tests: 160.532 seconds
Complete requests: 10000
Failed requests: 0
Total transferred: 32520616 bytes
HTML transferred: 22380000 bytes
Requests per second: 62.29 [#/sec] (mean)
Time per request: 1605.322 [ms] (mean)
Time per request: 16.053 [ms] (mean, across all concurrent requests)
Transfer rate: 197.83 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.8 0 22
Processing: 109 1565 4415.5 919 42389
Waiting: 109 1561 4415.2 914 42388
Total: 129 1565 4415.4 919 42389

Percentage of the requests served within a certain time (ms)
50% 919
66% 1058
75% 1155
80% 1233
90% 1429
95% 1668
98% 5433
99% 33628
100% 42389 (longest request)

Have another answer? Share your knowledge.