[tor-bugs] #32106 [Core Tor/Tor]: tor man page should clarify that KBytes is 1024 bytes
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Oct 16 07:55:58 UTC 2019
#32106: tor man page should clarify that KBytes is 1024 bytes
--------------------------+------------------------------------
Reporter: arma | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.4.3.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------------
Description changed by weasel:
Old description:
> We say K as if everybody knows its 2**10. But it has confused peripheral
> apps, like apparently nyx looks at "15 GBytes" in a torrc file, and
> helpfully visualized 15 billion bytes for the user, when actually Tor
> means 15 << 30 (a bit over 16 billion bytes) the whole time.
>
> This distinction doesn't matter much in the kbyte range, but in the gbyte
> range it can add up. And for folks who are trying to do bandwidth
> accounting properly, it could be a nasty surprise.
New description:
We say K as if everybody knows its 2^10^. But it has confused peripheral
apps, like apparently nyx looks at "15 GBytes" in a torrc file, and
helpfully visualized 15 billion bytes for the user, when actually Tor
means 15 << 30 (a bit over 16 billion bytes) the whole time.
This distinction doesn't matter much in the kbyte range, but in the gbyte
range it can add up. And for folks who are trying to do bandwidth
accounting properly, it could be a nasty surprise.
--
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32106#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list