HTTPS performance slow on the newest releases.

michaelvv nginx-forum at nginx.us
Fri Aug 7 23:24:42 MSD 2009


Hi Igor.

I found the solution....

First the benchmark compiled against openssl-0.9.8k

__________________________________________________________________________________
Server Software:        nginx/0.6.38
Server Hostname:        192.168.1.97
Server Port:            443         
SSL/TLS Protocol:       TLSv1/SSLv3,AES256-SHA,1024,256

Document Path:          /index.php
Document Length:        4 bytes   

Concurrency Level:      50
Time taken for tests:   3.881 seconds
Complete requests:      5000         
Failed requests:        0            
Write errors:           0
Total transferred:      1105000 bytes
HTML transferred:       20000 bytes
Requests per second:    1288.48 [#/sec] (mean)
Time per request:       38.806  (mean)
Time per request:       0.776  (mean, across all concurrent requests)
Transfer rate:          278.08  received
__________________________________________________________________________________
Server Software:        nginx/0.7.61
Server Hostname:        192.168.1.97
Server Port:            443         
SSL/TLS Protocol:       TLSv1/SSLv3,DHE-RSA-AES256-SHA,1024,256

Document Path:          /index.php
Document Length:        4 bytes   

Concurrency Level:      50
Time taken for tests:   28.557 seconds
Complete requests:      5000          
Failed requests:        0             
Write errors:           0
Total transferred:      1106326 bytes
HTML transferred:       20024 bytes
Requests per second:    175.09 [#/sec] (mean)
Time per request:       285.575  (mean)
Time per request:       5.711  (mean, across all concurrent requests)
Transfer rate:          37.83  received
__________________________________________________________________________________

when i configure the stable version 0.7.61 with 

ssl_ciphers  AES256-SHA:1024:256:!ADH;

i got almost the same performance...

Server Software:        nginx/0.7.61
Server Hostname:        192.168.1.97
Server Port:            443         
SSL/TLS Protocol:       TLSv1/SSLv3,AES256-SHA,1024,256

Document Path:          /index.php
Document Length:        4 bytes   

Concurrency Level:      50
Time taken for tests:   3.892 seconds
Complete requests:      5000         
Failed requests:        0            
Write errors:           0
Total transferred:      1105000 bytes
HTML transferred:       20000 bytes
Requests per second:    1284.75 [#/sec] (mean)
Time per request:       38.918  (mean)
Time per request:       0.778  (mean, across all concurrent requests)
Transfer rate:          277.27  received

PS! i got at least 60% more performance from openssl-0.9.8b to openssl-0.9.8k worth to mention...

Thx for a great product....

/Michael

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,4783,4794#msg-4794






More information about the nginx mailing list