Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2 3

Author Topic: rs-ux and rs-w v0.4 released  (Read 10229 times)

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39528
  • Penguins CAN fly
    • DSLstats
rs-ux and rs-w v0.4 released
« on: August 09, 2012, 04:50:32 PM »

(I've moved this subject to the Software section as more appropriate)

rs-ux and rs-w are programs which monitor and graph the performance of DSL routers, inspired by Routerstats. rs-ux comes in 32-bit and 64-bit versions and runs on Linux systems. At risk of offending my penguin-hugging associates, rs-w is a Windows port of rs-ux, and at present is only available in a 32-bit version.

*** These programs only work with Broadcom-based DSL routers which have a fully functioning telnet interface.

Compared to version 0.3, changes in this version are:

- corrected "List index exceeds bounds" error when wrong stats command prefix is chosen
- corrected display error on bitloading page when resizing
- added feature to take manual and automatic snapshots of the graphs
- added indicator of time when recording was started
- minor cosmetic changes

All versions can be downloaded from https://docs.google.com/folder/d/0BxbUtOYVZ_SCZ1BnY3RKYnN2b1U/edit
« Last Edit: August 09, 2012, 05:13:52 PM by roseway »
Logged
  Eric

renluop

  • Kitizen
  • ****
  • Posts: 3224
Re: rs-ux and rs-w v0.4 released
« Reply #1 on: August 09, 2012, 08:07:00 PM »

Quote
*** These programs only work with Broadcom-based DSL routers which have a fully functioning telnet interface.
So not a Technicolorful friend then! ;) But which in particular Broadcomrouters will the rs-w be compatible with?
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39528
  • Penguins CAN fly
    • DSLstats
Re: rs-ux and rs-w v0.4 released
« Reply #2 on: August 09, 2012, 08:11:28 PM »

There's a partial list here: http://wiki.kitz.co.uk/index.php?title=Broadcom_CLI

but in the case of Thomson/Speedtouch I believe that some of the more recent firmware versions may have disabled the telnet capability.
Logged
  Eric

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 27839
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: rs-ux and rs-w v0.4 released
« Reply #3 on: August 09, 2012, 09:21:01 PM »

Thank you for this latest update, Eric. It has already been downloaded to The Cattery:)
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39528
  • Penguins CAN fly
    • DSLstats
Re: rs-ux and rs-w v0.4 released
« Reply #4 on: August 09, 2012, 10:41:50 PM »

By the way, I should have mentioned that I've partially implemented your request for intermediate marks on the graph axes, but only at the moment on the bitloading graph. The others will follow when I've worked out how to do it (the other two graphs use an off-the-shelf graphing component, and I have to delve into the innards to do this).
Logged
  Eric

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 27839
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: rs-ux and rs-w v0.4 released
« Reply #5 on: August 09, 2012, 11:40:21 PM »

As I have already noticed. Thank you for all of your hard work.  :)

One minor issue is that the Take Snapshot button reads as lake snapsnot. Please see the example image, below.

I guess a small tweak will soon sort that out.
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39528
  • Penguins CAN fly
    • DSLstats
Re: rs-ux and rs-w v0.4 released
« Reply #6 on: August 10, 2012, 07:27:06 AM »

Quote
lake snapsnot
    ;D

Fonts!  rs-ux uses the system's default fonts, and it looks as though yours don't fit in the available space. Yes, I can tweak it. :)


« Last Edit: August 10, 2012, 07:30:04 AM by roseway »
Logged
  Eric

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2721
Re: rs-ux and rs-w v0.4 released
« Reply #7 on: August 10, 2012, 08:46:57 AM »


One minor issue is that the Take Snapshot button reads as lake snapsnot. Please see the example image, below.



That doesn't seem to be an issue on my superior Windows system  :lol:
Logged

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2721
Re: rs-ux and rs-w v0.4 released
« Reply #8 on: August 10, 2012, 09:04:30 AM »

Hi Eric,


At risk of offending my penguin-hugging associates, rs-w is a Windows port of rs-ux, and at present is only available in a 32-bit version.



This program is looking pretty polished indeed - much better looking & possibly can be further developed to be much more efficient/easier to set up & use than a few "rough & ready" Windows batch file scripts.

As mentioned elsewhere, here is a little feedback from my Windows 7 (64Bit) system using a HG612 on a VDSL2 connection:-


It would be nice to be able to see an overall view of Bit-loading across all 4096 tones without needing to scroll back & forth.
The current "zoomed in" view is however useful for seeing bit-loading details for individual tones, so maybe a facility to see a default "overview" with an option to zoom in & scroll around?

I don't seem to be able to use the snapshot facility for any of the graphs. Error message screenshot attached.

How much data can be stored if running the program 24/7?
i.e. does it accumulate in a log file somewhere, or is it overwritten as a maximum sized data "window" in memory?

Do you intend to use "xdslcmd info --stats" data to calculate & graph changes in stats over each sampling period e.g. each 30 seconds, each minute etc?

SNRM & SYNC graphs & config screenshots attached for reference.


Cheers,


Paul.
Logged

broadstairs

  • Kitizen
  • ****
  • Posts: 3211
Re: rs-ux and rs-w v0.4 released
« Reply #9 on: August 10, 2012, 10:09:57 AM »

Just installed the new 32 bit Linux version again on Fedora 17 and the snapshot does not create any files on my system, I presume I should get some .png files or some such in the snapshot folder but nothing appears.

Stuart
Logged
ISP:TalkTalk Connection:FTTC Cab:ECI Router:Netgear D6220

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39528
  • Penguins CAN fly
    • DSLstats
Re: rs-ux and rs-w v0.4 released
« Reply #10 on: August 10, 2012, 10:25:16 AM »

Just installed the new 32 bit Linux version again on Fedora 17 and the snapshot does not create any files on my system, I presume I should get some .png files or some such in the snapshot folder but nothing appears.

Stuart

On Linux, by default the snapshots are stored in ~/.rsux (a hidden directory). The filenames will be something like /home/eric/.rsux/2012-08-10-10:17:32-SNRMargin.png which is one I took a few minutes ago. Could you try changing the snapshot directory to something else, e.g. ~/Documents to see if that works?
Logged
  Eric

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39528
  • Penguins CAN fly
    • DSLstats
Re: rs-ux and rs-w v0.4 released
« Reply #11 on: August 10, 2012, 10:53:04 AM »


It would be nice to be able to see an overall view of Bit-loading across all 4096 tones without needing to scroll back & forth.
The current "zoomed in" view is however useful for seeing bit-loading details for individual tones, so maybe a facility to see a default "overview" with an option to zoom in & scroll around?

That would certainly be possible. I would have to throw away quite a lot of the data of course, because I'm sure you haven't got a > 4096 pixels wide screen. :)

Quote
I don't seem to be able to use the snapshot facility for any of the graphs. Error message screenshot attached.

I'll have to look more at this. It worked on the XP machine that I built the Windows version on, which is the only Windows machine available to me. I'm grasping at straws here, but could you try changing the snapshot directory to one of the standard user directories, such as your Documents directory?

Quote
How much data can be stored if running the program 24/7?
i.e. does it accumulate in a log file somewhere, or is it overwritten as a maximum sized data "window" in memory?

In the case of the SNR margin and Connection speed graphs, the historical data is stored internally by the off-the-shelf graphing component which I'm using. I'm going to check with the component author to try to get a definitive answer to this question.

In the case of the bitloading graph, no historical data is stored, so there isn't an issue. But I will be adding an option to store historical data as text files if required.

Quote
Do you intend to use "xdslcmd info --stats" data to calculate & graph changes in stats over each sampling period e.g. each 30 seconds, each minute etc?

That's what I do use to get the data. I use xdslcmd info --Bits to get the bitloading data.

Quote
SNRM & SYNC graphs & config screenshots attached for reference.

Thanks for those. Two other things I notice:

- the Attenuation figures in the status bar are shown as zero. If you could copy here the first 20 lines or so of the output of xdslcmd info --stats that will help me to see where the error is.

- I see in the bitloading chart which you showed above, that there are no blue coloured sections. I would have expected the tones from 32 to 95 to be blue because they could be either upstream or downstream, but this is an area I have to give more attention to.
Logged
  Eric

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2721
Re: rs-ux and rs-w v0.4 released
« Reply #12 on: August 10, 2012, 01:54:53 PM »


It would be nice to be able to see an overall view of Bit-loading across all 4096 tones without needing to scroll back & forth.
The current "zoomed in" view is however useful for seeing bit-loading details for individual tones, so maybe a facility to see a default "overview" with an option to zoom in & scroll around?

That would certainly be possible. I would have to throw away quite a lot of the data of course, because I'm sure you haven't got a > 4096 pixels wide screen. :)



I have attached a high res (4096 pixels for the plot area) & a low res version of the same bit-loading data as generated via my scripts.

A lot of individual tone detail is definitely lost when plotting at a size that doesn't need to be scrolled, but it does give a reasonable overview that MAY dictate a need to "zoom in" & scroll around.


Quote
Quote
I don't seem to be able to use the snapshot facility for any of the graphs. Error message screenshot attached.

I'll have to look more at this. It worked on the XP machine that I built the Windows version on, which is the only Windows machine available to me. I'm grasping at straws here, but could you try changing the snapshot directory to one of the standard user directories, such as your Documents directory?


Nope, that didn't fix it.
I'll try this on an old 32 bit XP machine. It may just be a Windows 64 bit issue?


Quote

Quote
How much data can be stored if running the program 24/7?
i.e. does it accumulate in a log file somewhere, or is it overwritten as a maximum sized data "window" in memory?

In the case of the SNR margin and Connection speed graphs, the historical data is stored internally by the off-the-shelf graphing component which I'm using. I'm going to check with the component author to try to get a definitive answer to this question.

In the case of the bitloading graph, no historical data is stored, so there isn't an issue. But I will be adding an option to store historical data as text files if required.


The ability to store/graph infinite historical data would be most useful (particularly SNRM, Sync, Attenuation, Connection duration beyween resyncs, error counts etc.).
It certainly assisted me when "proving" ongoing faults that were not seen by my ISP & BT.

Quote

Quote
Do you intend to use "xdslcmd info --stats" data to calculate & graph changes in stats over each sampling period e.g. each 30 seconds, each minute etc?

That's what I do use to get the data. I use xdslcmd info --Bits to get the bitloading data.


Useful additions to bit-loading for static snapshots would be SNR (not SNRM), QLN & Hlog.
Data for these is obtained via "xdslcmd info --linediag".

Of course, the more data being collected, the longer the data collection period needs to be, via my scripts requiring a pause between commands to ensure data isn't overwritten.

Quote
SNRM & SYNC graphs & config screenshots attached for reference.



Quote

Thanks for those. Two other things I notice:

- the Attenuation figures in the status bar are shown as zero. If you could copy here the first 20 lines or so of the output of xdslcmd info --stats that will help me to see where the error is.


xdslcmd info --stats
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason:   0
Max:   Upstream rate = 4492 Kbps, Downstream rate = 31988 Kbps
Path:   0, Upstream rate = 4637 Kbps, Downstream rate = 28533 Kbps

Link Power State:   L0
Mode:         VDSL2 Annex B
VDSL2 Profile:      Profile 17a
TPS-TC:         PTM Mode
Trellis:      U:ON /D:ON
Line Status:      No Defect
Training Status:   Showtime
      Down      Up
SNR (dB):    5.3       5.5
Attn(dB):    0.0       0.0
Pwr(dBm):    12.4       6.3


This is a feature/bug of the Broadcom modems on VDSL2 connections.
Nowhere in the stats or GUI can a single value be seen for attenuation.
Line & Signal Attenuation is reported separately for each tone band (via xdslcmd info pbParams).
This data may be obtainable by querying the modem's "hidden" logs, but I don't know how to do that.

Quote
- I see in the bitloading chart which you showed above, that there are no blue coloured sections. I would have expected the tones from 32 to 95 to be blue because they could be either upstream or downstream, but this is an area I have to give more attention to.

Yep, I noticed that too.
They are indeed blue higher up the tone bands.
While you are sussing out that aspect, be mindful that Huawei & ECI DSLAMS use slightly different tone bands.

Logged

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2721
Re: rs-ux and rs-w v0.4 released
« Reply #13 on: August 10, 2012, 04:36:57 PM »


Quote
I don't seem to be able to use the snapshot facility for any of the graphs. Error message screenshot attached.

I'll have to look more at this. It worked on the XP machine that I built the Windows version on, which is the only Windows machine available to me. I'm grasping at straws here, but could you try changing the snapshot directory to one of the standard user directories, such as your Documents directory?


Nope, that didn't fix it.
I'll try this on an old 32 bit XP machine. It may just be a Windows 64 bit issue?



Unfortunately it still doesn't work on a XP Pro machine.

Logged

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 27839
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: rs-ux and rs-w v0.4 released
« Reply #14 on: August 10, 2012, 06:26:03 PM »

My latest report on rs-ux V0.4.

I have created a directory structure ~/tmp/Eric_rsux/ into which I placed the downloaded tarball. Extraction of the contents gave me a directory ~/tmp/Eric_rsux/rs-ux64-04/ which contained the binary file, rsux, along with HISTORY and README files.

The utility was entered by double left-clicking upon its icon. Taking the Configuration tab, I defined the Snapshot directory to be /home/bcat/tmp/Eric_rsux/rs-ux64-04/. On clicking any one of the three Take snapshot buttons, the respective snapshot graph is saved in the designated directory. If the Snapshot directory is not defined with a suffix "/", then the snapshot graphs are stored in the directory one level above, i.e. in the /home/bcat/tmp/Eric_rsux/ directory.

I have now returned to the Configuration tab and have selected the three boxes to automagically take a snapshot of each page, once completed. This aspect is currently undergoing a test. (As I am sampling at a rate of once per minute and am displaying one hour's worth per screen, I should have a result in less than an hour from now.)
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.
Pages: [1] 2 3
 

anything