[tor-bugs] #3630 [Tor Relay]: Reduce token bucket refill interval
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Fri Jul 22 18:35: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 nickm):
Replying to [comment:3 Bjoern]:
> Thanks for the comments.
>
> Replying to [comment:2 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?
>
> 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?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3630#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list