Ansuel / tch-nginx-gui

Modified file to apply to a stock technicolor GUI
GNU General Public License v3.0
340 stars 52 forks source link

xDSL Diagnostics show weird numbers #843

Open SushiTee opened 4 years ago

SushiTee commented 4 years ago

Device Model: DGA4132 Gui Version: 9.4.94-da43de07

Description of problem: The numbers of errors for the current day are smaller than the number errors since sync. This doesn't make sense since the sync is just a few hours there. Also the total numbers don't add up.

How to reproduce: just open xDSL diagnostics

Media/Photos:

diagnostics
FrancYescO commented 4 years ago

Checked few mins after the midnight?

SushiTee commented 4 years ago

No, even if that was the case he numbers wouldn't add up. See the "Downstream LOS" for current day. This means that there were 3 lost of sync that day and still there are more FEC errors since the new sync.

To answer your question: It was around 11am when I checked. The sync was just 3h 42min.

SushiTee commented 4 years ago

Here are some more information about this

I have a new screenshot and the data I got at the same time via terminal.

Screenshot: xdsl_stats

Data from Terminal:

root@RaecknetzMain:~# xdslctl info --stats
.......
Total time = 4 hours 10 min 44 sec
FEC:            1043646         425
CRC:            7               0
ES:             18              0
SES:            15              0
UAS:            1079            1079
LOS:            3               0
LOF:            1               0
LOM:            0               0
Retr:           3
HostInitRetr:   0
FailedRetr:     3
Latest 15 minutes time = 10 min 44 sec
FEC:            45              12
CRC:            0               0
ES:             0               0
SES:            0               0
UAS:            0               0
LOS:            0               0
LOF:            0               0
LOM:            0               0
Retr:           0
HostInitRetr:   0
FailedRetr:     0
Previous 15 minutes time = 15 min 0 sec
FEC:            644             6
CRC:            0               0
ES:             7               0
SES:            7               0
UAS:            515             515
LOS:            2               0
LOF:            1               0
LOM:            0               0
Retr:           N/A
HostInitRetr:   N/A
FailedRetr:     N/A
Latest 1 day time = 4 hours 10 min 44 sec
FEC:            1043646         425
CRC:            7               0
ES:             18              0
SES:            15              0
UAS:            1079            1079
LOS:            3               0
LOF:            1               0
LOM:            0               0
Retr:           3
HostInitRetr:   0
FailedRetr:     3
Previous 1 day time = 0 sec
FEC:            0               0
CRC:            0               0
ES:             0               0
SES:            0               0
UAS:            0               0
LOS:            0               0
LOF:            0               0
LOM:            0               0
Retr:           0
HostInitRetr:   0
FailedRetr:     0
Since Link time = 13 min 51 sec
FEC:            45              18
CRC:            0               0
ES:             0               0
SES:            0               0
UAS:            0               0
LOS:            0               0
LOF:            0               0
LOM:            0               0
Retr:           0
HostInitRetr:   0
FailedRetr:     0
NTR: mipsCntAtNtr=0 ncoCntAtNtr=0

In my opinion there are some things which should be fixed:

  1. Quarter means 3 month for me but in terminal you can see that it means a quarter of an hour. So please name it like it is in terminal as it's way more understandable.
  2. Add the time for each of the categories to the category so you know how much data is available (e.g. in the terminal output you can see there is no data for the previous day). Without the information the data is just looking weird.
  3. When you compare the data you can see that the shown data is wrong except for total and since sync if I see this correctly.
  4. To make it more userfreidnly you could add some kind of legend to explain what FEC, CRC etc. mean.