[tor-bugs] #12890 [Tor]: Design and implement optimizations for socket write limits

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 2 17:35:32 UTC 2015


#12890: Design and implement optimizations for socket write limits
-----------------------------+--------------------------------
     Reporter:  robgjansen   |      Owner:  robgjansen
         Type:  enhancement  |     Status:  new
     Priority:  normal       |  Milestone:  Tor: 0.2.6.x-final
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  tor-relay
Actual Points:               |  Parent ID:  #12541
       Points:               |
-----------------------------+--------------------------------

Comment (by dgoulet):

 Quick performance measurement on the latest nick's branch (kist) on the
 get/setsockopt() syscall to give us an idea of the overhead added so far.

 Measurement is basically tor bootstrapping and a torsocks + wget:

 {{{
 getsockopt() mean: 1811 ns, stdev: 1541 ns (394 times)
 setsockopt() mean: 1503 ns, stdev: 740 ns (396 times)
 }}}

 Thus, {{{0.003314 msec}}} overhead for each socket which

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


More information about the tor-bugs mailing list