[tor-bugs] #7134 [Tor]: Add statistics on time spent on crypto operations

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Oct 17 17:31:00 UTC 2012


#7134: Add statistics on time spent on crypto operations
----------------------+-----------------------------------------------------
 Reporter:  karsten   |          Owner:                  
     Type:  project   |         Status:  new             
 Priority:  normal    |      Milestone:  Tor: unspecified
Component:  Tor       |        Version:                  
 Keywords:  SponsorZ  |         Parent:                  
   Points:            |   Actualpoints:                  
----------------------+-----------------------------------------------------
 We'd like to find out how much of Tor's time is spent on which crypto
 operations, and we'd want to answer this question over time.

 These statistics would help us understand the implications of other design
 shifts -- like directory guards, where one of the desired side effects is
 a reduced number of TLS handshakes for relays because clients handshake
 with fewer relays.  Another benefit could be that we'd have better data on
 hardware requirements for the Torouter and similar projects, in particular
 crypto operations performed by an average relay or bridge.

 Probably the easiest way to achieve the "answer over time" part would be
 to have relays/bridges add a new line to their extra-info descriptors, and
 later look at metrics archives to see how things changed over time.  There
 should not be too big privacy implications if we make the granularity
 sufficiently big.

 We might want to make this feature optional, since it takes time to check
 the time.  (Gotta find out how many nanoseconds for a hi-resolution timers
 vs how many nanoseconds for encrypting a cell.  That would be part of the
 design.)

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


More information about the tor-bugs mailing list