1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

QOS graph, unused bandwidth included

Discussion in 'Tomato Firmware' started by Dinnn, Dec 6, 2012.

  1. Dinnn

    Dinnn Serious Server Member

    [​IMG]

    Hi all,
    I modified some codes to include unused bandwidth and got it working.
    It works properly for Toastman builds. I'm not good in coding but i think it should work for other mods too.
    I don't know how to attach files here.
    Can someone tell me how?
     
    Mercjoe and Planiwa like this.
  2. Toastman

    Toastman Super Moderator Staff Member Member

    Interesting ... potentially very useful ... ! Nice...

    For diagnostic purposes, the old method was useful to "zoom in" on data
    This new one is more logical for a quick look at the bandwidth useage.
    How about a button to switch between the two? If you can do that, it would be great. You will need to declare a new NVRAM variable I guess. I will certainly add to my builds.

    Use the "upload a file" function to post.
     
  3. Dinnn

    Dinnn Serious Server Member

    Function of new one still the same as old one. You still can "zoom in" on data.
    Still uses existing svg file but with a little modification.
    I added new class(Unused) acts as total bandwidth(qos_obw,qos_ibw).
    Other bandwidth will divide from it.

    i cannot find upload button.
    btw you can download from here.
    http://www.4shared.com/folder/ct4CFmb_/_online.html
    feel free to edit if needed.
     
  4. rs232

    rs232 Network Guru Member

  5. rs232

    rs232 Network Guru Member

    Since we brought up this topic again:

    I'm wondering how quick would it be to add a "system" class comprising traffic router (where the router is the source or destination).

    That would get the rid of most of the unclassified connections.

    Dinnn?

    Regards
     
    Planiwa likes this.
  6. Dinnn

    Dinnn Serious Server Member

    Why you want to get rid of unclassified connection?
    I dont know yours but mine I only see traffic between pc and router.
    easy way just tick "Exclude gateway traffic"
     
  7. Toastman

    Toastman Super Moderator Staff Member Member

    OK on your explanation. Not easy to implement the original and this one with a button to switch between the two ... ??

    hmmm ... maybe it is ... combine the 2 svg files with a choice selection ... I see you've almost done it in fact.

    Re. the Idea itself:

    I raised this point long ago with Jon. Simply put, for diagnostics it made more sense to have the original graphs so that you could always see the traffic. With low traffic, and a large amount of "empty space" the "total bw" graph simply wasn't very useful. Jon had already done it but decided the "zoomed" graph gave more information.

    Having tried it, I was initially taken with the idea, but I found after a few weeks I had stopped looking at the graph.

    *** The Pie Chart doesn't break any "rules" - as it is designed to show only current useage, and not the overall bandwidth. If there are just a few users with few connections and using very little actual bandwidth, the new graph actually doesn't show anything except a radial line.
     
  8. Dinnn

    Dinnn Serious Server Member

    I see your point. i'm not sure if it's can be done but i'll try to figure it out.
     
  9. Planiwa

    Planiwa LI Guru Member

    Yes. Clearly there is a serious problem with the pie charts as designed by Jon. They are simply the wrong tool for the task. A pie chart must always add up to the Whole. The solution of adding a slice for "missing or "none" or "unused", etc., is easy to implement, but fails miserably most of the time, since most of the time only about 1% or 2% of the capacity is used. So then you get nothing but slivers, plus the huge "unused" slice. I invented a method that meets that concern. It's a new kind of chart, with very general applicability in data visualization. Very easy to implement in SVG. I asked a few months ago but no one here seemed interested, so I put off making a prototype. I've discussed it locally and it has been suggested that I should get this invention patented first. Since there was no apparent interest here, and since I've had rather enough other things to do, I've put this on hold.

    But I'm glad that there is interest in this now.
     
  10. Dinnn

    Dinnn Serious Server Member

    Toastman, with existing svg, i see there's no way make it works as you described.
    However another way is to use separate svg file.
    I have tried it and it works as intended. Push a button and the chart will switch to another.
     
  11. Porter

    Porter LI Guru Member

    I don't like the pie charts very much, either. What would really help is something like the realtime bandwidth graph. All classes could be watched over time and we would get a better feeling of how the QoS-system works. Two things, though: I don't know if this is really complex work. And concerning the maximum speeds: the sum of all the traffic in the pie charts often adds up to more than the highest possible bandwidth. This is confusing.
     
  12. Dinnn

    Dinnn Serious Server Member

    I agree with you the sum of all the traffic in the pie charts often adds up to more than actual bandwidth.
    However, mine use custom made.
    In qos-setting function scale i have this.
    Thats way i know actual bandwidth/% need to set.

    In qos-graph
    replace to
    When im downloading at 200KBs, the data and chart correctly show me Im at 200KBs, and kbps as well.
     
  13. Dinnn

    Dinnn Serious Server Member

  14. Toastman

    Toastman Super Moderator Staff Member Member

    This looks nice.... thanks for your hard work on this.

    I have added it to new build 7501 - uploaded already.

    I am trying to think of better wording for the "switch graph" toggle to more clearly show what it does... :D
     
  15. Mercjoe

    Mercjoe Network Guru Member

    Great work. AWESOME work.

    Thank you for providing this to us..

    Thank you Toastman for including it.

    I like the visual representation of what you are using but you know what I find MORE useful?? The fact that the TOTALS give you a percentage of bandwidth used based on the defined QOS upload/download limits.

    That has always been ,in my opinion, the missing piece of information. Sure, you could see what the percentages were, but they always added up to 100%. You could not tell if you were saturating the available bandwidth. Now with a simple press of a button, I can see that I am only using X% of the available upload/download bandwidth. That simple piece of information is the most valuable in figuring out what kind of bottleneck you are dealing with.
     
  16. PBandJ

    PBandJ Networkin' Nut Member

    Maybe something along the lines of relative/absolute values? or percentage/absolute?
    (I think it's upgrade time again)
     

Share This Page