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

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Dec 21 17:57:37 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:13 nickm]:

 > > 3. It would be useful to have the global read/write limits feature
 there before starting to test. For now, this could be as simple as a
 configuration option that specifies the upstream link capacity, and then
 the logic necessary to enforce the limit.
 >
 > Don't we already have this?  I thought that BandwidthRate already
 enforced a global read/write limit.
 >

 We want to keep the non-circuit queues as small as possible. Does the
 circuit scheduler stop pulling cells from the circuit queues at the same
 time that BandwidthRate is reached? I guess we can test as-is and revisit
 this issue if it turns out to be a problem.

 Thanks for the fast branch updates!

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


More information about the tor-bugs mailing list