Низкая производительность обработки http запросов, Linux и Windows
Добрый день
Провожу тесты обработки http запроса средствами apache ab. Тестовые ОС с Linux Centos 7 и Windows Server 2012r2 находятся в одной сети 192.168.2.0/24. Запросы отправляются на вэб сервер в другой сети 192.168.0.116.
Сети 192.168.2.0/24 и 192.168.0.116 географически в разных странах соединены VPN IPSEC каналом.
Тест с Linux Centos 7
[root@exfe ~]# ab -c 200 -n 1000 "http://192.168.0.116:443/admin/1c/getvar/index.php?event=Ping" This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 192.168.0.116 (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software: nginx/1.15.7
Server Hostname: 192.168.0.116
Server Port: 443
Document Path: /admin/1c/getvar/index.php?event=Ping
Document Length: 5 bytes
Concurrency Level: 200
Time taken for tests: 1.341 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 147000 bytes
HTML transferred: 5000 bytes
Requests per second: 745.46 [#/sec] (mean)
Time per request: 268.291 [ms] (mean)
Time per request: 1.341 [ms] (mean, across all concurrent requests)
Transfer rate: 107.01 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 91 95 5.2 93 109
Processing: 91 121 116.7 92 699
Waiting: 91 116 96.8 92 596
Total: 183 216 119.6 185 807
Percentage of the requests served within a certain time (ms)
50% 185
66% 187
75% 190
80% 196
90% 215
95% 523
98% 790
99% 791
100% 807 (longest request)
[root@exfe ~]#
C:\scripts\apache\httpd-2.4.39-o102s-x64-vc14\Apache24\bin>ab -c 200 -n 1000 "
ttp://192.168.0.116:443/admin/1c/getvar/index.php?event=Ping"
This is ApacheBench, Version 2.3 <$Revision: 1843412 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 192.168.0.116 (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software: nginx/1.15.7
Server Hostname: 192.168.0.116
Server Port: 443
Document Path: /admin/1c/getvar/index.php?event=Ping
Document Length: 5 bytes
Concurrency Level: 200
Time taken for tests: 111.161 seconds
Complete requests: 1000
Failed requests: 0
Total transferred: 147000 bytes
HTML transferred: 5000 bytes
Requests per second: 9.00 [#/sec] (mean)
Time per request: 22232.275 [ms] (mean)
Time per request: 111.161 [ms] (mean, across all concurrent requests)
Transfer rate: 1.29 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 62 111 232.5 92 3132
Processing: 92 19325 5598.5 21364 24773
Waiting: 92 10374 6750.2 9364 24681
Total: 184 19436 5598.1 21456 24864
Percentage of the requests served within a certain time (ms)
50% 21456
66% 21482
75% 21613
80% 22708
90% 24601
95% 24723
98% 24773
99% 24775
100% 24864 (longest request)
C:\scripts\apache\httpd-2.4.39-o102s-x64-vc14\Apache24\bin>