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

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 23 17:37:47 UTC 2014


#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):

 Replying to [comment:17 robgjansen]:
 > I suggest we keep things simple for now (which is certainly OK for
 Shadow), but try to monitor how much overhead the extra calls consume and
 do something like I outlined above if necessary. I do worry, though, that
 this may end up adding more overhead to the main process instead of the
 helper thread, which is probably not what we want.

 Sounds good!

 Let me know when you want to start testing, I can help here with kernel
 tracing and analyze the experiments (with and without KIST) by looking at
 the syscall overhead between the two run, the amount of failed
 (EWOULDBLOCK) write in both cases and the average of data written per call
 which can help us I think tune stuff and measure regression.

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


More information about the tor-bugs mailing list