View Single Post
  #5  
Old 04-18-2006, 11:29 PM
adalren adalren is offline
 
Join Date: May 2003
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We're using 64bit CentOS. The openssl benchmark says 64bit is faster. I'm not sure how it translates into real world performance. Make sure you use apc and not eaccelerator. EA segfaults on 64bit OS's.

Here are some benchmark results on Dual 3.4 Xeons with 32bit CentOS.
Code:
openssl speed rsa
                  sign    verify    sign/s verify/s
rsa  512 bits 0.000761s 0.000065s   1313.9  15294.6
rsa 1024 bits 0.003875s 0.000189s    258.0   5286.8
rsa 2048 bits 0.022906s 0.000624s     43.7   1602.1
rsa 4096 bits 0.151818s 0.002230s      6.6    448.5

openssl speed rsa -multi 2
                  sign    verify    sign/s verify/s
rsa  512 bits 0.000385s 0.000033s   2594.0  30536.1
rsa 1024 bits 0.001927s 0.000094s    518.9  10638.3
rsa 2048 bits 0.011458s 0.000312s     87.3   3200.0
rsa 4096 bits 0.075470s 0.001116s     13.3    896.3

openssl speed rsa -multi 4
                  sign    verify    sign/s verify/s
rsa  512 bits 0.000304s 0.000026s   3287.5  39120.5
rsa 1024 bits 0.001524s 0.000072s    656.2  13901.2
rsa 2048 bits 0.008759s 0.000235s    114.2   4250.8
rsa 4096 bits 0.056805s 0.000825s     17.6   1212.8
Same thing with 64bit.
Code:
openssl speed rsa
                  sign    verify    sign/s verify/s
rsa  512 bits 0.000329s 0.000027s   3035.4  36386.4
rsa 1024 bits 0.001350s 0.000069s    740.8  14437.7
rsa 2048 bits 0.007782s 0.000219s    128.5   4562.1
rsa 4096 bits 0.050812s 0.000825s     19.7   1211.7

openssl speed rsa -multi 2
                  sign    verify    sign/s verify/s
rsa  512 bits 0.000283s 0.000024s   3530.5  42109.9
rsa 1024 bits 0.001194s 0.000062s    837.3  16260.2
rsa 2048 bits 0.006929s 0.000195s    144.3   5128.2
rsa 4096 bits 0.045611s 0.000683s     21.9   1464.1

openssl speed rsa -multi 4
                  sign    verify    sign/s verify/s
rsa  512 bits 0.000141s 0.000012s   7086.0  85568.9
rsa 1024 bits 0.000594s 0.000030s   1684.6  32786.9
rsa 2048 bits 0.003454s 0.000097s    289.5  10256.4
rsa 4096 bits 0.022761s 0.000341s     43.9   2928.8
For comparison, 32bit Dual Opteron 275.
Code:
openssl speed rsa -multi 4
rsa  512 bits 0.000149s 0.000012s   6700.3  83333.3
rsa 1024 bits 0.000559s 0.000030s   1788.2  33060.1
rsa 2048 bits 0.003125s 0.000091s    320.0  11049.7
rsa 4096 bits 0.020170s 0.000308s     49.6   3241.6
64bit Dual Opteron 275
Code:
openssl speed rsa -multi 4
rsa  512 bits 0.000074s 0.000006s  13425.6 166666.7
rsa 1024 bits 0.000279s 0.000015s   3587.7  66393.4
rsa 2048 bits 0.001566s 0.000045s    638.4  22099.8
rsa 4096 bits 0.010055s 0.000153s     99.5   6525.3
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01745 seconds
  • Memory Usage 1,769KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete