[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #23856 [Core Tor/Tor]: Reduce relay bandwidth stats interval to 24 hours
#23856: Reduce relay bandwidth stats interval to 24 hours
-----------------------------------+------------------------------------
Reporter: teor | Owner: (none)
Type: defect | Status: new
Priority: High | Milestone: Tor: 0.3.2.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: guard-discovery-stats | Actual Points:
Parent ID: | Points: 1
Reviewer: | Sponsor: SponsorQ
-----------------------------------+------------------------------------
Comment (by teor):
The relevant constants in tor are:
NUM_SECS_BW_SUM_INTERVAL and maybe we will need to increase
NUM_SECS_BW_SUM_IS_VALID to remember 2-4 days of daily bandwidth, rather
than just one day:
https://gitweb.torproject.org/tor.git/tree/src/or/rephist.c#n1242
And maybe we should also change MAX_BANDWIDTH_CHANGE_FREQ, otherwise
relays will report bandwidth spikes every 20 minutes in their descriptors.
But we should be careful here, because this affects the bandwidth
authority system. But it seems that at least an hour would be reasonable:
https://gitweb.torproject.org/tor.git/tree/src/or/router.c#n2516
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23856#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs