After reading a number of questions and resources on bandwidth measurements and life cycle of tor relays:

can anyone tell me about the bandwidth weights?

Can anybody explain the Advertised bandwidth, MaxAdvertisedBandwidth, Measured bandwidth, Bandwidth burst, RelayBandwidth rate?




and the bandwidth weight specification:


I am still not sure how bandwidth measurement is performed (from an implementation standpoint) by the bandwidth authorities. I have also found a library, stem, that queries authorities and retrieves their measurement results.

Where should I look in the sources to find the code responsible for bandwidth measurement?

I am using version (git-d015c70a118e4357). Grepping around the code for strings such as bandwidth, measurement, bw does not seem very lucrative(all results rely on handling consenus information).



Your Answer

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

Browse other questions tagged or ask your own question.