[tor-bugs] #14128 [Tor]: GETINFO bw-samples to give recent BW events

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 7 17:14:20 UTC 2015


#14128: GETINFO bw-samples to give recent BW events
-----------------------------+-----------------------------------
     Reporter:  nickm        |      Owner:
         Type:  enhancement  |     Status:  needs_review
     Priority:  normal       |  Milestone:  Tor: 0.2.6.x-final
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  tor-client controller
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+-----------------------------------

Comment (by atagar):

 Damn that was quick - thanks!

 > A space-separated summary of recent BW events in chronological order.

 Please specify newest-to-oldest or oldest-to-newest.

 > Each event is represented by a comma-separated tuple of "MS,R,W", where
 MS is the number of milliseconds elapsed since the previous entry

 That seems like an odd return value. I was thinking something like 'up to
 300 R,W tuples where each represents a second worth of data'. No big whoop
 though. If this is what tor has handy then controllers can convert it into
 what they need.

 > Entries where R==W==0 are omitted.

 Is that ok? An entry of...

 '532,143,498 390,601,4331'

 ... says between 390-532 ms ago we wrote 143 bytes and wrote 498. This is
 different from...

 '532,143,498 4189,0,0 390,601,4331'

 ... where that happened 4579-5111 ms ago.

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


More information about the tor-bugs mailing list