[tor-bugs] #3630 [Tor Relay]: Reduce token bucket refill interval

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Jul 22 05:18:22 UTC 2011


#3630: Reduce token bucket refill interval
-------------------------+--------------------------------------------------
 Reporter:  Flo          |          Owner:     
     Type:  enhancement  |         Status:  new
 Priority:  normal       |      Milestone:     
Component:  Tor Relay    |        Version:     
 Keywords:               |         Parent:     
   Points:               |   Actualpoints:     
-------------------------+--------------------------------------------------

Comment(by arma):

 Profiling fast Tor relays in the past showed that they spent 5-10% of
 their cpu time refilling buckets.

 If we refill buckets 100 times as often, will we spend 90% of our cpu time
 refilling buckets?

 Also, are we removing any realistic chance that we would flush more than
 one cell at once? If MTUs are often 1500, sending a second cell could be
 much cheaper than the earlier analysis implies.

 That's not to mean we shouldn't make a change like this. But it would be
 great to better understand what results we expect to see, so we can check
 to make sure that we actually see them.

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


More information about the tor-bugs mailing list