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

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Jul 23 07:29:53 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 Flo):

 Replying to [comment:6 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?

 We did measurments on our onion router which was configured with 1MBit.
 For refill intervals of 100ms, 10ms and 1ms, we observed that Tor's
 process takes about 5-6% of cpu, independent from the configured refill
 interval.

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


More information about the tor-bugs mailing list