Difference between revisions of "Manual:Tools/Speed Test"

From MikroTik Wiki
Jump to: navigation, search
(Created page with "{{Versions| v6.44beta39+}} __TOC__ ==Summary== <p id="shbox"><b>Sub-menu:</b> <code>/tool</code> <br /> <b>Packages required:</b> <code>system</code> </p> <br /> {{cont}} [...")
 
(General interface properties)
 
(8 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
==Summary==
 
==Summary==
 
<p id="shbox"><b>Sub-menu:</b> <code>/tool</code>
 
<p id="shbox"><b>Sub-menu:</b> <code>/tool</code>
<br />
+
<br/>
 
<b>Packages required:</b> <code>system</code>
 
<b>Packages required:</b> <code>system</code>
 
</p>
 
</p>
<br />
+
<br/>
  
 +
<p>
 +
The Speed Test is an easy test tool for measuring ping, jitter, TCP and UDP throughput from one MikroTik device, to another.<br/>
 +
"speed-test" command is based on [[ Manual:Tools/Ping | Ping Tool]] and [[ Manual:Tools/Bandwidth_Test | Bandwidth Test]]. In order to use this command - Bandwidth test server needs to be accessible.
 +
</p>
 +
 +
==General interface properties==
 +
 +
<p id="shbox">
 +
<b>Sub-menu:</b> <code>/tool speed-test</code>
 +
</p>
 +
<table class="styled_table">
 +
 +
{{Mr-arg-table
 +
|arg=address
 +
|type= IP address | IPv6 address
 +
|default= ""
 +
|desc=IP address of host
 +
}}
 +
 +
{{Mr-arg-table
 +
|arg=connection-count
 +
|type=integer
 +
|default=20
 +
|desc=If device has more than 20 cores - core count will be used
 +
}}
 +
 +
{{Mr-arg-table
 +
|arg=password
 +
|type=string
 +
|default=
 +
|desc=Password for the remote device
 +
}}
 +
 +
{{Mr-arg-table
 +
|arg=test-duration
 +
|type=integer
 +
|default=10
 +
|desc=Duration for each test (''By default: 5 tests * 10 sec duration + 1sec pause between each test = 55sec'')
 +
}}
 +
 +
{{Mr-arg-table-end
 +
|arg=user
 +
|type=string
 +
|default=admin
 +
|desc=Remote device username
 +
}}
 +
 +
==Usage example==
 +
 +
Bandwidth and speed tests should be conducted through the devices, not on them to ensure real life simulation and not to overload the CPU on the devices under testing,(DUT) due to traffic generating process.
 +
 +
To run a simple test from device A (192.168.88.1) to device B (192.168.88.2):
 +
<pre>
 +
[admin@MikroTik]] > /tool speed-test address=192.168.88.1
 +
              status: done
 +
      time-remaining: 0s
 +
    ping-min-avg-max: 541us / 609us / 3.35ms
 +
  jitter-min-avg-max: 0s / 76us / 2.76ms
 +
                loss: 0% (0/100)
 +
        tcp-download: 921Mbps local-cpu-load:30%
 +
          tcp-upload: 920Mbps local-cpu-load:30% remote-cpu-load:25%
 +
        udp-download: 917Mbps local-cpu-load:6% remote-cpu-load:21%
 +
          udp-upload: 916Mbps local-cpu-load:20% remote-cpu-load:6%
 +
</pre>
 +
If any of device CPU utilization during test reaches 100% warning message will appear:
 +
<pre>
 +
[admin@MikroTik]] > /tool speed-test address=192.168.88.1
 +
                  ;;; results can be limited by cpu, note that traffic generation/termination
 +
                      performance might not be representative of forwarding performance
 +
              status: done
 +
      time-remaining: 0s
 +
    ping-min-avg-max: 541us / 609us / 3.35ms
 +
  jitter-min-avg-max: 0s / 76us / 2.76ms
 +
                loss: 0% (0/100)
 +
        tcp-download: 721Mbps local-cpu-load:78%
 +
          tcp-upload: 820Mbps local-cpu-load:100% remote-cpu-load:84%
 +
        udp-download: 906Mbps local-cpu-load:10% remote-cpu-load:54%
 +
          udp-upload: 895Mbps local-cpu-load:55% remote-cpu-load:12%
 +
</pre>
  
 +
"test-duration" parameter allows changing duration of all of the 5 tests:
 +
*) Ping test with 50ms delay
 +
*) TCP recieve
 +
*) TCP send
 +
*) UDP recieve
 +
*) UDP send
 
{{cont}}
 
{{cont}}
  
 
[[Category:Manual]]
 
[[Category:Manual]]
 
[[Category:Tools]]
 
[[Category:Tools]]

Latest revision as of 11:34, 1 March 2019

Version.png

Applies to RouterOS: v6.44beta39+

Summary

Sub-menu: /tool
Packages required: system


The Speed Test is an easy test tool for measuring ping, jitter, TCP and UDP throughput from one MikroTik device, to another.
"speed-test" command is based on Ping Tool and Bandwidth Test. In order to use this command - Bandwidth test server needs to be accessible.

General interface properties

Sub-menu: /tool speed-test

address (IP address; Default: "") IP address of host
connection-count (integer; Default: 20) If device has more than 20 cores - core count will be used
password (string; Default: ) Password for the remote device
test-duration (integer; Default: 10) Duration for each test (By default: 5 tests * 10 sec duration + 1sec pause between each test = 55sec)
user (string; Default: admin) Remote device username

Usage example

Bandwidth and speed tests should be conducted through the devices, not on them to ensure real life simulation and not to overload the CPU on the devices under testing,(DUT) due to traffic generating process.

To run a simple test from device A (192.168.88.1) to device B (192.168.88.2):

[admin@MikroTik]] > /tool speed-test address=192.168.88.1
              status: done
      time-remaining: 0s
    ping-min-avg-max: 541us / 609us / 3.35ms
  jitter-min-avg-max: 0s / 76us / 2.76ms
                loss: 0% (0/100)
        tcp-download: 921Mbps local-cpu-load:30%
          tcp-upload: 920Mbps local-cpu-load:30% remote-cpu-load:25%
        udp-download: 917Mbps local-cpu-load:6% remote-cpu-load:21%
          udp-upload: 916Mbps local-cpu-load:20% remote-cpu-load:6%

If any of device CPU utilization during test reaches 100% warning message will appear:

[admin@MikroTik]] > /tool speed-test address=192.168.88.1
                  ;;; results can be limited by cpu, note that traffic generation/termination 
                      performance might not be representative of forwarding performance
              status: done
      time-remaining: 0s
    ping-min-avg-max: 541us / 609us / 3.35ms
  jitter-min-avg-max: 0s / 76us / 2.76ms
                loss: 0% (0/100)
        tcp-download: 721Mbps local-cpu-load:78%
          tcp-upload: 820Mbps local-cpu-load:100% remote-cpu-load:84%
        udp-download: 906Mbps local-cpu-load:10% remote-cpu-load:54%
          udp-upload: 895Mbps local-cpu-load:55% remote-cpu-load:12%

"test-duration" parameter allows changing duration of all of the 5 tests:

  • ) Ping test with 50ms delay
  • ) TCP recieve
  • ) TCP send
  • ) UDP recieve
  • ) UDP send

[ Top | Back to Content ]