Apache https is slsow
Posted
by raucous12
on Server Fault
See other posts from Server Fault
or by raucous12
Published on 2010-04-30T01:14:06Z
Indexed on
2010/04/30
1:18 UTC
Read the original article
Hit count: 264
Hey,
I've set apache up to use SSL with a self signed certificate.
With http (KeepAlive off), I can get over 5000 requests per second. However, with https, I can only get 13 requests per second.
I know there is supposed to be a bit of an overhead, but this seems abnormal. Can anyone suggest how I might go about debugging this.
Here is the ab log for https:
Server Software: Apache/2.2.3
Server Hostname: 127.0.0.1
Server Port: 443
SSL/TLS Protocol: TLSv1/SSLv3,DHE-RSA-AES256-SHA,4096,256
Document Path: /hello.html
Document Length: 29 bytes
Concurrency Level: 5
Time taken for tests: 30.49425 seconds
Complete requests: 411
Failed requests: 0
Write errors: 0
Total transferred: 119601 bytes
HTML transferred: 11919 bytes
Requests per second: 13.68 [#/sec] (mean)
Time per request: 365.565 [ms] (mean)
Time per request: 73.113 [ms] (mean, across all concurrent requests)
Transfer rate: 3.86 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 190 347 74.3 333 716
Processing: 0 14 24.0 1 166
Waiting: 0 11 21.6 0 165
Total: 191 361 80.8 345 716
Percentage of the requests served within a certain time (ms)
50% 345
66% 377
75% 408
80% 421
90% 468
95% 521
98% 578
99% 596
100% 716 (longest request)
© Server Fault or respective owner