What's new

Speedtest from the Router

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Sebastien Bougie

Regular Contributor
Hello,

I have an ASUS 3100 with merlin lastest version and I will like to know if there is a way to run speedtest directly from the router.?

Can someone gave me a detail instruction on how to do it

thanks
sbougie
 
Not sure what kind of speed-test you are looking for, but if you have Entware-NG installed you can use iperf to test the connection speed between your devices and the router. :rolleyes:

chief@RT-AC87U:/tmp/home/root# opkg install iperf
Installing iperf (2.0.9-1) to root...
Downloading http://pkg.entware.net/binaries/armv7/iperf_2.0.9-1_armv7soft.ipk
Configuring iperf.

chief@RT-AC87U:/tmp/home/root# iperf --help
Usage: iperf [-s|-c host] [options]
iperf [-h|--help] [-v|--version]

Client/Server:
-b, --bandwidth #[KMG | pps] bandwidth to send at in bits/sec or packets per second
-e, --enhancedreports use enhanced reporting giving more tcp/udp and traffic information
-f, --format [kmKM] format to report: Kbits, Mbits, KBytes, MBytes
-i, --interval # seconds between periodic bandwidth reports
-l, --len #[KM] length of buffer to read or write (default 8 KB)
-m, --print_mss print TCP maximum segment size (MTU - TCP/IP header)
-o, --output <filename> output the report or error message to this specified file
-p, --port # server port to listen on/connect to
-u, --udp use UDP rather than TCP
-w, --window #[KM] TCP window size (socket buffer size)
-z, --realtime request realtime scheduler
-B, --bind <host> bind to <host>, an interface or multicast address
-C, --compatibility for use with older versions does not sent extra msgs
-M, --mss # set TCP maximum segment size (MTU - 40 bytes)
-N, --nodelay set TCP no delay, disabling Nagle's Algorithm
-V, --ipv6_domain Set the domain to IPv6

Server specific:
-s, --server run in server mode
-U, --single_udp run in single threaded UDP mode
-D, --daemon run the server as a daemon

Client specific:
-c, --client <host> run in client mode, connecting to <host>
-d, --dualtest Do a bidirectional test simultaneously
-n, --num #[KM] number of bytes to transmit (instead of -t)
-r, --tradeoff Do a bidirectional test individually
-t, --time # time in seconds to transmit for (default 10 secs)
-B, --bind [<ip> | <ip:port>] bind src addr(s) from which to originate traffic
-F, --fileinput <name> input the data to be transmitted from a file
-I, --stdin input the data to be transmitted from stdin
-L, --listenport # port to receive bidirectional tests back on
-P, --parallel # number of parallel client threads to run
-T, --ttl # time-to-live, for multicast (default 1)
-Z, --linux-congestion <algo> set TCP congestion control algorithm (Linux only)

Miscellaneous:
-x, --reportexclude [CDMSV] exclude C(connection) D(data) M(multicast) S(settings) V(server) reports
-y, --reportstyle C report as a Comma-Separated Values
-h, --help print this message and quit
-v, --version print version information and quit

[KM] Indicates options that support a K or M suffix for kilo- or mega-

The TCP window size option can be set by the environment variable
TCP_WINDOW_SIZE. Most other options can be set by an environment variable
IPERF_<long option name>, such as IPERF_BANDWIDTH.

Source at <http://sourceforge.net/projects/iperf2/>
Report bugs to <iperf-users@lists.sourceforge.net>
 
Last edited:
netgear routers have that feature buit in for thier qos, you can initiate a speedtest, that comes directly from the qos section of the routers gui, and it uses the values to set qos bandwidth. It would be nice if it became a feature in merlins fimware. And seb you cant asus doesnt have such a feature in their fimware you have to manually go to the site.
 
You could use wget to download a large file from somewhere as described here: http://speedtest.tele2.net/

But strangely, when I download files (from anywhere) using wget on the router it doesn't go faster than ~40Mbps :confused: Downloading the same file from a LAN client gives me my full internet speed (~160Mbps). So a speed test on the router might not give you accurate information.:(

[And before anybody asks;); I tried it with QOS disabled, and the CPU was 90% idle.]
 
still it would be nice if asus built speedtest.net into their gui, rather than going to the site i found it gave more accurate results due to the lack of ads and java.
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top