Giter VIP home page Giter VIP logo

Comments (4)

critzo avatar critzo commented on July 17, 2024

Currently using the -batch flag outputs JSON, but only interim results with no summary.

Running ndt7-client with no options returns what looks like a summary, but it's not clear:

$ ~/go/bin/ndt7-client 
download in progress with ndt-iupui-mlab4-iad04.measurement-lab.org
MaxBandwidth:    18.7 Mbit/s - RTT:    7/  29/   5 (min/smoothed/var) ms
download: complete
upload in progress with ndt-iupui-mlab4-iad04.measurement-lab.org
Avg. speed  :     4.9 Mbit/s
upload: complete

Running NDT from Measurement Kit provides some great summary values in its JSON output that would be helpful:

"advanced":{
   "avg_rtt":45.5651743754638,
   "congestion_limited":0.980206941298601,
   "fast_retran":7,
   "max_rtt":74,
   "min_rtt":13,
   "mss":1448,
   "out_of_order":0.0813636363636364,
   "packet_loss":0.000835721107927412,
   "receiver_limited":0.0,
   "sender_limited":0.0197930587013991,
   "timeouts":0},
"simple":{
   "download":9573.84748484385,
   "ping":13.0,
   "upload":9601.09205276634},

Measurement Kit also returns some helpful information as well, which would be useful:

"measurement_start_time":"2019-01-08 14:22:28"
"probe_asn":"AS7922"

A flag like -summary could be added to return an abbreviated summary in JSON for the completed test, perhaps containing:

   "client_IP":"<ipaddress>,
   "measurement_start_time":"2019-01-08 14:22:28"
   "probe_asn":"AS7922"
   "server":"ndt-iupui-mlab4-iad04.measurement-lab.org",
   "download":9573.84748484385,
   "ping":13.0,
   "upload":9601.09205276634
   "avg_rtt":45.5651743754638,
   "congestion_limited":0.980206941298601,
   "fast_retran":7,
   "max_rtt":74,
   "min_rtt":13,
   "mss":1448,
   "out_of_order":0.0813636363636364,
   "packet_loss":0.000835721107927412,
   "receiver_limited":0.0,
   "sender_limited":0.0197930587013991,
   "timeouts":0

from ndt7-client-go.

bassosimone avatar bassosimone commented on July 17, 2024

We recently discussed with @pboothe that we are not doing this. We want the last message emitted by the test to be used for this purpose. It may require us to do some more work, perhaps in the server, to keep track of the max-max-bandwidth and min-min-rtt, perhaps. But we don't want to have to introduce a summary computation layer in clients.

from ndt7-client-go.

bassosimone avatar bassosimone commented on July 17, 2024

Discussed with @mattmathis, we need to work on this. We specifically need to document what a reasonable output summary would look like for all clients.

from ndt7-client-go.

bassosimone avatar bassosimone commented on July 17, 2024

I believe m-lab/ndt-server#194 is the best place where to do that.

from ndt7-client-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.