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

From MikroTik Wiki
Jump to: navigation, search
(Usage example)
(General interface properties)
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
 
<p>
 
<p>
 
The Speed Test is an easy test tool for measuring ping, jitter, TCP and UDP throughput from one MikroTik device, to another.<br/>
 
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]].
+
"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>
 
</p>
  
Line 45: Line 45:
 
|type=integer
 
|type=integer
 
|default=10
 
|default=10
|desc=Duration for each test
+
|desc=Duration for each test (''By default: 5 tests * 10 sec duration + 1sec pause between each test = 55sec'')
 
}}
 
}}
  
Line 54: Line 54:
 
|desc=Remote device username  
 
|desc=Remote device username  
 
}}
 
}}
 
  
 
==Usage example==
 
==Usage example==

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 ]