<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 27, 2018, at 9:26 AM, Isaac (.ike) Levy <<a href="mailto:ike@blackskyresearch.net" class="">ike@blackskyresearch.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On Sun, Mar 25, 2018, at 4:33 PM, Ivan Rambius Ivanov wrote:<br class=""><blockquote type="cite" class="">Hello,<br class=""><br class="">Spectrum / TWC are constantly offering me internet service speed<br class="">upgrades for my home. How can I measure their internet speed and<br class="">compare the old and new services?<br class=""><br class="">Regards<br class="">Ivan<br class=""></blockquote><br class="">IMO, deep network performance testing gets into some existential meditations based on "what is network speed"?<br class=""><br class="">If you have access to a stable second host on the internet with adequate bandwidth for your tests:<br class=""><br class="">  netperf (personal go-to)<br class="">  iperf (awesome features too)<br class=""><br class="">Along with their man pages, there are tons of one-liner how-to's online for these classic tools.  Measuring network speed has so many variables, that there are infinite ways to go about this depending on what you're measuring.  These tools are purpose-built for testing many aspects of a line.<br class="">Depending on the machines you're using to test, simply piping data from /dev/zero to nc or something may run into bottlenecks in your hosts respective TCP buffering, as well as various internal control buffers in programs which may throttle you from various network tools (scp, etc...).  While netperf and iperf are designed explicitly not to have such test-influencing bottlenecks, your OS network stack may be tuned in ways which can greatly affect the test- so if you're doing really hardcore line-speed testing, simply prepare to read and flip a *ton* of sysctls, to eliminate variables in testing (changes which will make your internet use from that machine surprisingly unusable on the network :)<br class=""></div></div></blockquote><div><br class=""></div><div>You can also find iperf in really weird places.  Lots of embedded devices already have it (for example, all Ubiquiti airmax gear has an iperf binary installed).  I even found an ethernet switch recently that had iperf available.  It lurks in some strange places.  Be aware of the iperf2/iperf3 incompatibility - they don’t talk to each other.</div><div><br class=""></div><div>Also if you’re using browser-based tests, you really have to cycle through the list of servers if you’re trying to measure beyond 100Mb/s or so.  When I got FiOS Gig service at home it became really clear most test sites simply don’t have the bandwidth - even sites that were well-peered with UUNet/VZ would sometimes run out of juice beyond a few hundred Mb/s.  You can tell they’re shuffling you off to a hosting facility with a very asymmetric usage pattern when you see something like 200 down, 900 up. :)</div><div><br class=""></div><div>For web-based you can also host your own - this one is not perfect, but it does not require flash or java:</div><div><br class=""></div><div><a href="https://github.com/adolfintel/speedtest" class="">https://github.com/adolfintel/speedtest</a></div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><br class="">Additionally, to *really* test a new line, concurrent connections are a big deal depending on the connectivity technology you have, (DOCSIS/CABLE vs. FIBER vs. ATM/DSL, etc...) - even full-duplex connectivity gets really interestingly weird with some of these link-layer technologies.  Tools like netperf and iperf themselves have parallel/concurrency type features, so you can test behavior of how you wish to use your line- (e.g. at home: watching a movie, while someone else in house is scp-ing files, or checking mail, or etc...  All this traffic is so different in what constitutes "fast”.)<br class=""></div></div></blockquote><div><br class=""></div><div>Funny thing, when I upgraded at home, I just turned all QoS off.  FiOS seems pretty legit as far as being able to saturate the link (at least out here, I suspect NYC is a different story).  Pulling 32 streams of usenet “news” at 80MB/s is the norm, and that’s without really trying any tweaking or trying to get two providers pulling simulataneously. But at 1Gb/s I cannot find much that will impact ssh sessions or voip.  When it goes out and I fall back to 3.0/768 DSL, wowzers…</div><div><br class=""></div><div>I’ll also state the obvious - at high speeds, users really tend to test over their local wifi network and then freak out when they don’t see line speed (“my AP looks like a spaceship and says GIGABIT on it! Why is the internet slow!”).</div><div><br class=""></div><div>Charles</div><br class=""><blockquote type="cite" class=""><div class=""><div class="">--<br class="">Folks have listed some good online measurment tools already, I'd also say that Google currently has a shockingly good browser-based measurment tool, (as they collect your stats on inet performance...).  I stumbled into it when I was curious about internet performance from my phone.<br class=""><br class="">Best,<br class="">.ike<br class=""><br class="">_______________________________________________<br class="">talk mailing list<br class=""><a href="mailto:talk@lists.nycbug.org" class="">talk@lists.nycbug.org</a><br class="">http://lists.nycbug.org/mailman/listinfo/talk<br class=""></div></div></blockquote></div><br class=""></body></html>