[tor-bugs] #4454 [Tor Relay]: Make relay-side crypto benchmarks enabled and more useful

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Nov 11 18:18:59 UTC 2011


#4454: Make relay-side crypto benchmarks enabled and more useful
-------------------------+--------------------------------------------------
 Reporter:  nickm        |          Owner:                    
     Type:  enhancement  |         Status:  needs_review      
 Priority:  normal       |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Relay    |        Version:                    
 Keywords:               |         Parent:                    
   Points:               |   Actualpoints:                    
-------------------------+--------------------------------------------------
Changes (by nickm):

  * status:  new => needs_review


Comment:

 See branch "benchmark" in my public repository.

 Preliminary results for me on openssl 1.0.0e as patched by Fedora 15,
 running on a Core2 Quad Q8200 suggest:

  * Running openssl 1.0.0's AES_ operations manually seems to be about 5%
 faster than running them via EVP_. Oops!
  * For the kind of cell crypto we seem to do, Openssl 1.0.0's AES_ctr128
 implementation seems about 5% better than the counter implementation we've
 got now.  Oops!

 Sidenotes:
  * It sure might have been a good to use the 'recognized' field to avoid
 doing SHA1; it makes our middleman cell crypto performance about as fast
 as our AES performance.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4454#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list