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

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Dec 17 01:32:59 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 robgjansen):

 Replying to [comment:6 dgoulet]:
 > Having congestion control in user space is '''difficult''' vis-a-vis
 performance. For once, you have to do extra syscalls for every I/O
 operation but it's also a "play the guessing max size game" which is
 tightly controlled by the kernel.

 Hmmm. Yeah.

 Relatedly, do you know if TCP auto-tuning in the kernel is disabled when
 the buffer size is explicitly set with `setsockopt`? If not, do you know a
 socket option  to disable TCP auto-tuning for a given socket?

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


More information about the tor-bugs mailing list