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

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Jul 23 07:11:30 UTC 2011


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

Comment(by Bjoern):

 > > We implemented this, played a lot with different refill intervals, and
 explicitly assessed the CPU load on our own relay. We didn't notice any
 impact on the server load. (And after all, why should there be any?
 Refilling buckets is a trivially simple operation...)
 >
 > How much bandwidth was the relay pushing?

 The configured bandwidth limit should have been around 2 MBit at that
 time. Maybe Flo knows more?

 In any case, as I wrote before: it is worth looking into this again. But
 refilling buckets is trivial, so if it really turns out that lots of CPU
 time go into that, this can only be a problem with a non-optimal
 implementation, and not a fundamental issue.

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


More information about the tor-bugs mailing list