Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. 2 core VMWare Intel(R) Xeon(R) CPU E5-2609 v3 @ 1.90GHz
  2. cpu MHz : 1897.802
  3. cache size : 15360 KB
  4. bogomips : 3795.60
  5. 1 Gbit network card
  6.  
  7. TLSv1.2,ECDHE-RSA-AES256-GCM-SHA384,2048,256
  8.  
  9. net.ipv4.ip_local_port_range=1024 65000
  10. net.ipv4.tcp_tw_reuse=1
  11. net.ipv4.tcp_fin_timeout=15
  12. net.core.netdev_max_backlog=4096
  13. net.core.rmem_max=16777216
  14. net.core.somaxconn=4096
  15. net.core.wmem_max=16777216
  16. net.ipv4.tcp_max_syn_backlog=20480
  17. net.ipv4.tcp_max_tw_buckets=400000
  18. net.ipv4.tcp_no_metrics_save=1
  19. net.ipv4.tcp_rmem=4096 87380 16777216
  20. net.ipv4.tcp_syn_retries=2
  21. net.ipv4.tcp_synack_retries=2
  22. net.ipv4.tcp_wmem=4096 65536 16777216
  23. vm.min_free_kbytes=65536
  24.  
  25. nginx soft nofile 65536
  26. nginx hard nofile 65536
  27.  
  28. server {
  29. listen 443 ssl deferred backlog=1024;
  30. listen 80 deferred backlog=1024;
  31.  
  32. server_name SERVERNAME;
  33.  
  34. client_max_body_size 10m;
  35.  
  36. ssl_stapling on;
  37. ssl_stapling_verify on;
  38. ssl_trusted_certificate path_to_/certificateAndChain.cer;
  39. ssl_certificate path_to_/certificateAndChain.cer;
  40. ssl_certificate_key path_to_/private.key;
  41. ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  42. ssl_ciphers "EECDH+AES:EECDH+AESGCM:EDH+AESGCM:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES128-GCM-SHA256:AES128+EECDH:D$
  43. ssl_prefer_server_ciphers on;
  44. ssl_session_cache shared:SSL:32m;
  45. ssl_session_timeout 1m;
  46.  
  47. #resolver 8.8.8.8 8.8.8.4 valid=1m;
  48. #resolver_timeout 5s;
  49.  
  50. location / {
  51. proxy_pass_header Server;
  52. proxy_set_header Host $http_host;
  53. proxy_set_header X-Real-IP $remote_addr;
  54. proxy_set_header X-Forwarded-For $remote_addr;
  55. proxy_set_header X-Scheme $scheme;
  56. proxy_connect_timeout 43200000;
  57. proxy_read_timeout 43200000;
  58. proxy_send_timeout 43200000;
  59. proxy_buffering off;
  60. proxy_http_version 1.1;
  61. proxy_set_header Connection "";
  62.  
  63. proxy_pass http://IPADDRESS/;
  64.  
  65. }
  66.  
  67. location /localtest {
  68. root /var/www/localtest;
  69. index index.html;
  70. }
  71. }
  72.  
  73. ab -c200 -n20000 http://SERVERNAME/localtest/index.html
  74. Requests per second: 12751.64 [#/sec] (mean)
  75. Connection Times (ms)
  76. min mean[+/-sd] median max
  77. Connect: 0 4 2.3 4 11
  78. Processing: 2 12 7.3 9 96
  79. Waiting: 1 10 7.7 7 96
  80. Total: 2 16 6.6 14 100
  81.  
  82. Requests per second: 252.28 [#/sec] (mean)
  83. Connection Times (ms)
  84. min mean[+/-sd] median max
  85. Connect: 12 651 288.1 694 1470
  86. Processing: 0 141 134.4 101 1090
  87. Waiting: 0 101 124.3 65 1089
  88. Total: 15 792 276.7 809 1641
  89.  
  90. Requests per second: 1584.88 [#/sec] (mean)
  91. Connection Times (ms)
  92. min mean[+/-sd] median max
  93. Connect: 0 2 2.3 1 8
  94. Processing: 4 141 309.6 30 1244
  95. Waiting: 4 141 309.7 29 1244
  96. Total: 10 143 310.3 31 1248
  97.  
  98. Requests per second: 215.99 [#/sec] (mean)
  99. Connection Times (ms)
  100. min mean[+/-sd] median max
  101. Connect: 14 1131 622.3 1137 2030
  102. Processing: 4 474 413.2 313 1814
  103. Waiting: 1 399 405.6 257 1679
  104. Total: 26 1605 769.6 1699 3306
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement