[tor-bugs] #21822 [Metrics/Atlas]: atlas thinks kbytes are 1000 bytes, but relays think kbytes are 1024 bytes

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Mar 26 10:38:51 UTC 2017


#21822: atlas thinks kbytes are 1000 bytes, but relays think kbytes are 1024 bytes
-------------------------------+-----------------
     Reporter:  arma           |      Owner:  irl
         Type:  defect         |     Status:  new
     Priority:  Medium         |  Milestone:
    Component:  Metrics/Atlas  |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+-----------------
 Gurgle has this bandwidth line in its descriptor:
 {{{
 bandwidth 12582912 52428800 10079609
 }}}

 That 52428800 means that Ian wrote "50 MBytes" in his torrc file.

 But Atlas, when you hover over the advertised bandwidth, says that Ian set
 his burst to 52.43MB/s.

 It would seem that Atlas should divide by 1024*1024, rather than dividing
 by a million, when telling us the bandwidth numbers.

 (Also, technically burst is measured in MB, not in MB/s.)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21822>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list