Here's another alternative for testing from the command line, since speedtest.net doesn't actually do a complete test. (It only sends a few pings before starting the download/upload test, but ignores what happens to latency during the transfers.) If the latency gets high during the test, the router has bufferbloat. (Is your router bloated? See note below)
Two good tests:
* DSLReports Speed Test a nice web-based (no annoying plugins!) speed test http://dslreports.com/speedtest
* For the command-line: The Bufferbloat project (at http://www.bufferbloat.net/projects/cerowrt/wiki ) created a script - betterspeedtest.sh that tests download and upload speeds (like all the others) but also measures latency *during* the test.
To run the test on Barrier Breaker or Chaos Calmer, you need to install the netperf package. Do this one time:
- Go to System -> Software, click Update Lists
- Click the Available Packages tab, and find "netperf" in the "N" section, then click Install
Next retrieve the betterspeedtest.sh script from Github at https://github.com/richb-hanover/OpenWrtScripts Either copy/paste the script, or use the steps in the README to pull them down using git.
Finally, run the script with
Note for Bufferbloat on OpenWrt: Fortunately, OpenWrt has the SQM/fq_codel scripts that basically eliminate Bufferbloat. See this page for instructions: http://wiki.openwrt.org/doc/howto/sqm )