Opened 3 years ago

Closed 2 years ago

#15036 closed defect (worksforme)

Arm prepopulates the wrong bandwidth stats

Reported by: hardlined Owned by: atagar
Priority: Medium Milestone:
Component: Core Tor/Nyx Version: Tor: 0.2.6.3-alpha
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

I've noticed when my average bandwidth approaches 500mbit/s ARM will change units to Gb/s. In the attached screenshot, I highly suspect my average is 430mbit/s and not the displayed 4.3 Gb/s, off by a decimal point. If I restart, the average is reset and the correct averagembit/sis show.

I've listed the Tor Version I'm running, arm is running version 1.4.5.0.

Child Tickets

Attachments (2)

15306_avg_bandwidth.PNG (6.5 KB) - added by hardlined 3 years ago.
15306_avg_bandwidth_26-02-2015.PNG (7.0 KB) - added by hardlined 3 years ago.
New screenshot

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by hardlined

Attachment: 15306_avg_bandwidth.PNG added

Changed 3 years ago by hardlined

New screenshot

comment:1 Changed 3 years ago by hardlined

I checked it this morning the average now shows 7.4 Gb/sec (attached new screenshot with todays date 26/02/2015) and it would almost certainly be impossible that the average for this relay is 740mbit/s, so this number is being generated from somewhere else and has nothing to do with misplaced decimal points.

comment:2 Changed 3 years ago by atagar

Summary: Arm when displaying averages in Gb/s is off by a decimal point.Arm prepopulates the wrong bandwidth stats

Have you been restarting arm? If so then I think I know what's up - tor recently made a change that altered the bandwidth intervals at which it takes (#13988).

You can work around this by disabling bandwidth prepopulation. Please try making a file with...

features.graph.bw.prepopulate false

... then run arm with 'arm -c /path/to/that/file'.

This will likely confuse others so updating the ticket subject and leaving it open.

comment:3 Changed 3 years ago by hardlined

I never leave arm running so yes I do restart it often, the relay itself has been up a couple days now. The above suggestion does fix the issue, the average is recalculated from scratch in real time and appears correct. Starting it without that option after reverts to previous behavior.

comment:4 Changed 2 years ago by atagar

Resolution: worksforme
Severity: Normal
Status: newclosed

Cleaning up old tickets. Nyx is undergoing a rewrite, if this is still relevant then feel free to reopen.

Note: See TracTickets for help on using tickets.