I'm struggling a bit with the two config options for RelayBandwidthRate and RelayBandwidthBurst - what I currently have in my torrc config file is:
... RelayBandwidthRate 8 Mbit RelayBandwidthBurst 12 Mbit ...
My assumption was that on average the Relay would consume 8 Mbps max. but over a shorter period of time also up to 12 Mbps in case needed. What I see (historical monitor data at 10 s intervals for the past 6 months) is that the bandwidth usage never exceeds 8 Mbps. I can also see the consumption to be levelled out at 8 Mbps for minutes or hours so it looks like there would be a need for more bandwidth. My question: why can't I see the bandwidth usage going above 8 Mbps and making use of the allowed burst? Btw, I'm typically using the latest stable tor, currently the relay is on 0.4.0.5.
Any comment welcome!
Hi,
On 20 Aug 2019, at 20:23, petrarca@protonmail.ch wrote:
I'm struggling a bit with the two config options for RelayBandwidthRate and RelayBandwidthBurst - what I currently have in my torrc config file is:
... RelayBandwidthRate 8 Mbit RelayBandwidthBurst 12 Mbit ...
My assumption was that on average the Relay would consume 8 Mbps max. but over a shorter period of time also up to 12 Mbps in case needed. What I see (historical monitor data at 10 s intervals for the past 6 months) is that the bandwidth usage never exceeds 8 Mbps. I can also see the consumption to be levelled out at 8 Mbps for minutes or hours so it looks like there would be a need for more bandwidth.
Yes the Tor network does need more bandwidth, particularly for exits.
My question: why can't I see the bandwidth usage going above 8 Mbps and making use of the allowed burst? Btw, I'm typically using the latest stable tor, currently the relay is on 0.4.0.5.
The burst is over a very short period of time. I think it's about 1 second.
The rate is averaged is over a slightly longer period of time, and includes any burst bandwidth. That is, if the bandwidth burst to 12 Mbps in the last second, the bandwidth in this second will be 4 Mbps. The lower bandwidth in the next second keeps the average to 8 Mbps.
T
-- teor ----------------------------------------------------------------------
Great, and many thanks - that explains it: if the bursting-timespan is 1 sec only only I obviously can't see that bandwidth bursting with my resolution of 10 sec measurements.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Thursday, 22. August 2019 05:02, teor teor@riseup.net wrote:
Hi,
On 20 Aug 2019, at 20:23, petrarca@protonmail.ch wrote: I'm struggling a bit with the two config options for RelayBandwidthRate and RelayBandwidthBurst - what I currently have in my torrc config file is: ... RelayBandwidthRate 8 Mbit RelayBandwidthBurst 12 Mbit ... My assumption was that on average the Relay would consume 8 Mbps max. but over a shorter period of time also up to 12 Mbps in case needed. What I see (historical monitor data at 10 s intervals for the past 6 months) is that the bandwidth usage never exceeds 8 Mbps. I can also see the consumption to be levelled out at 8 Mbps for minutes or hours so it looks like there would be a need for more bandwidth.
Yes the Tor network does need more bandwidth, particularly for exits.
My question: why can't I see the bandwidth usage going above 8 Mbps and making use of the allowed burst? Btw, I'm typically using the latest stable tor, currently the relay is on 0.4.0.5.
The burst is over a very short period of time. I think it's about 1 second.
The rate is averaged is over a slightly longer period of time, and includes any burst bandwidth. That is, if the bandwidth burst to 12 Mbps in the last second, the bandwidth in this second will be 4 Mbps. The lower bandwidth in the next second keeps the average to 8 Mbps.
T
teor
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
tor-relays@lists.torproject.org