Comments (10)
I'll look into this after the errors history branch is merged.
from go-dsl.
BTW, does luci-mod-dsl use your javascript library?
No, it has its own implementation (not written by me): https://github.com/openwrt/luci/blob/master/modules/luci-mod-dsl/htdocs/luci-static/resources/view/status/dsl/graph.js
I only provided some comments during development and added support for pilot tones.
from go-dsl.
Interpretation of Hlog and QLN plots mostly depends on looking at the precise curves and deviations from theoretical curve "forms". This gets easier if the plot is centered more on the actual range of the individual data compared the the current fixed? and quite generous limits (QLN: -70 to -160 dBm/Hz; Hlog: 0 to -100 dB)
This is valid suggestion, and I agree it would make irregularities in the data more obvious. On the other hand, the fixed range makes it easier to compare multiple graphs and makes the magnitude of the data clearer. I guess in the end this is also a question of what you are looking for.
from go-dsl.
Yes comparison across links gets somewhat harder, but assessing individual links gets easier.
Here is how I scaled it:
https://github.com/moeller0/lantiq_dsl_parser/wiki
Note how the autoscaled range can now be diagnostic for line quality ;).
Maybe make this scaling an option?
from go-dsl.
(This reply also takes into account the forum post at https://forum.openwrt.org/t/lantiq-vrx200-xdsl-firmware-recommendation-thread/52937/132)
To me, the current fixed scaling doesn't really seem like a problem that would justify the effort of adding an option and implementing proper auto-scaling. I think any serious faults should already be recognizable with the current fixed scaling. The example you linked also doesn't appear to have dynamic scaling (Hlog matches the valid range, and QLN exceeds it by far), and the faults are easily visible (although to be fair, the aspect ratio of those graphs helps).
For the current scaling of the QLN graphs, I think this is still a remnant from when I originally added QLN support for a Broadcom modem. I suppose I didn't actually look at the specs at the time, and just picked a range that seemed to fit available data (the Broadcom CLI reports -160 for invalid values). So at least changing the lower bound might actually be a good idea here (although for G.fast the valid range actually does extend to -160, but I'm not sure if such low values are really realistic and so far G.fast isn't supported anyway).
from go-dsl.
Well, your project your decision.
All I can say is that on my link looking at QLN plots scaled close to actual data maximum and minimum* I can see improvements from changing my wiring, which are much harder to see when scaling for the full 'permitted' range. Now, I am set with my crufty old matlab code to extract and plot this data, inelegant and slow as it is, it generates the plots I want to see scaled any way I like them.
Then again, for other users your project is so much nicer that I keep recommending to use it; and there for close inspection/diagnosis I would prefer a different scaling of hlog and qln.
However, as I said your project your decisions, so I will close this.
*) "autoscaling" really boils down to get the data minimum and maximum, and add like 5% additional range on top and bottom... not sure about go, but in matlab that is coded faster than the time already invested in this issue by the both of us...
from go-dsl.
*) "autoscaling" really boils down to get the data minimum and maximum, and add like 5% additional range on top and bottom... not sure about go, but in matlab that is coded faster than the time already invested in this issue by the both of us...
This project includes its own implementations to actually draw the graphs (Go/SVG and Javascript/Canvas). And the current code isn't even properly designed to draw graphs at arbitrary sizes (as you can see by the axis labels not really adjusting to the graph size). If you look at the errors-history branch, there are already has some graphs with dynamic value ranges. But I'd really like to get that cleaned up and make it properly adjust to the actual graph size, before I also implement something like it for the existing graphs.
I still kept your feature request around, as I might implement it at some point. But so far, it just didn't seem important enough to deal with the graph code, and decide on how to expose it as an option.
My comment in the OpenWrt forum was mainly because don't really want the discussion there to drift off too much. Discussing issues as they come up might be somewhat ok, but I think more general discussion about features should really happen here.
from go-dsl.
Sorry for my impatience, I misinterpreted your action as not being that interested in this "feature" and had not considered that implementation wise it might actually be far less simple than I imagined. I closed this to avoid annoying you further. As I said go-dsl is my go-to tool to recommend and ask people to use and post screen shots when DSL issues crop up. And for that usage go-dsl is super-useful independent on small nits like the hlog/qln scaling.
from go-dsl.
BTW, does luci-mod-dsl use your javascript library?
from go-dsl.
That is excellent! Now I am giddy to run this over night to populate the error/5 minutes plots ;)
The auto scaling is working even better than expected...
from go-dsl.
Related Issues (17)
- Speedport Pro Plus - Status 307 HOT 4
- DrayTek Vigor 167 No promt detected HOT 3
- TP Link xDSL modems HOT 2
- [cosmetic] direction labels for the new error over time plots? HOT 2
- [feature request] Bintec Be.IP Plus HOT 12
- potential cahnnel characteristic/hlog upload plotting for Fritzbox on profile 35b HOT 7
- [Feature Request] Emergency save HOT 1
- Quirks for ALLNET ALL-BM300 HOT 1
- [Solved] Scaling issue #14 again? HOT 2
- [feature request] Docker container
- Authenticating… failed: no prompt detected HOT 10
- dsl-gui ssh login fails when a passphase is used to secure access to the private keys HOT 2
- feature request: bitswaps per sub-carrierer graphs
- Documentation/PR on github page
- Speedport Smart 4 - can't connect HOT 1
- build failure of dsl-gui on macos monterey with go 1.19.4 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-dsl.