10

I am confused about a few terms: AdvertisedBandwidth, MaxAdvertisedBandwidth, MeasuredBandwidth, RelayBandwidthBurst, RelayBandwidthRate, BandwidthBurst, and BandwidthRate. Can anyone please explain these terms?

4

I'll give it a try:

  • BandwidthBurst: The maximum bandwidth of short spikes in network traffic. While Tor tries to use BandwidthRate on average, it may use this value for short bursts. It was advised that this value should be four times the BandwidthRate.
  • BandwidthRate: The average bandwidth Tor should use.
  • RelayBandwidthBurst and RelayBandwidthRate: Both values deal with relayed traffic and have the same meaning as the ones above.
  • AdvertisedBandwidth: I'm not aware of such a name. If you have a look at Atlas, you'll find a value there for advertised bandwidth (see politkovskaja as an example). This is the value which the directory authority measures.
  • MaxAdvertisedBandwidth: This is the maximum bandwidth your server claims to have. If you run a relay and don't set any limits, Tor will try to use all available bandwidth. Sometimes the bandwidth is so high that the CPU can't handle it anymore. You'll see warnings in the Tor logfile. In the case it is wise to set MaxAdvertisedBandwidth, because it tells the outside world that your bandwidth is smaller and so attracts less clients. Someone suggested that this should be 30% more than BandwidthRate.
  • MeasuredBandwidth: There is no configuration option with this name. However directory authorities measuring the traffic and might use such a name.

Within the comments you mentioned a bandwidth from the microdesc-consensus. An entry looks like:

r TorNinurtaName AA8YrCza5McQugiY3J4h5y4BF9g 2014-06-23 08:06:30 151.236.6.198 9001 9030
m sB1HNyL+qngrnX8/DhRPZNfX/SbL+jvs3CE7k3v0kMg
s Fast Guard HSDir Named Running Stable V2Dir Valid
v Tor 0.2.4.22
w Bandwidth=2470

The last line is an estimated bandwidth. You can find some details in the specification.

  • So lets take a following example from the current consensus: [...] r TorNinurtaName AA8YrCza5McQugiY3J4h5y4BF9g TsD6f/8KF1h7Npm/w2vgkzDumjY 2014-05-08 23:15:06 151.236.6.198 9001 9030 s Fast Guard HSDir Named Running Stable V2Dir Valid v Tor 0.2.3.25 w Bandwidth=238 p reject 1-65535 [...] bandwidth-weights Wbd=849 Wbe=0 Wbg=4145 Wbm=10000 Wdb=10000 Web=10000 Wed=8301 Wee=10000 Weg=8301 Wem=10000 Wgb=10000 Wgd=849 Wgg=5855 Wgm=5855 Wmb=10000 Wmd=849 Wme=0 Wmg=4145 Wmm=10000 [...] Can you please tell me "w Bandwidth=238" is which bandwidth? – saurav Jun 20 '14 at 0:49
  • I added an explanation in my original answer. – Jens Kubieziel Jun 23 '14 at 15:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.