MikroTik RouterOS V2.4 Bandwidth Test

Document revision 11-December-2001
This document applies to MikroTik RouterOS V2.4

Overview

The Bandwidth Tester can be used to monitor the throughput only to a remote MikroTik router (either wired or wireless) and thereby help to discover network ‘bottlenecks’.

The TCP test uses the standard TCP protocol with acknowledgments and follows the TCP algorithm on how many packets to send according to latency, dropped packets, and other features in the TCP algorithm. Please review the TCP protocol for details on its internal speed settings and how to analyze its behavior. Statistics for throughput are calculated using the entire size of the TCP packet. As acknowledgments are an internal working of TCP, their size and usage of the link are not included in the throughput statistics. Therefore this statistic is not as reliable as the UDP statistic when estimating throughput.

The UDP tester sends 110% or more packets than currently reported as received on the other side of the link. To see the maximum throughput of a link, the packet size should be set for the maximum MTU allowed by the links – usually this is 1500 bytes. There is no acknowledgment required by UDP; this implementation means that the closest approximation of the throughput can be seen.

Topics covered in this manual:

Installation

The Bandwidth Test feature is included in the 'system' package. No installation is needed for this feature

Hardware Resource Usage

!Caution! Bandwidth Test uses all available bandwidth and may impact network usability.

There is no other significant resource usage.

Bandwidth Test Description

Bandwidth Test uses TCP or UDP protocol for test. It tries to use maximum bandwidth available, and reports amount of data sent to remote router. Note that remote router must be MikroTik router in order to run the test. Be aware that test uses all available bandwidth and may impact network usability.

[MikroTik] tool> bandwidth-test ?
Run TCP or UDP bandwidth test. Test tries to use maximum bandwidth available, 
and reports amount of data sent to remote router. Note that remote router must 
be MikroTik router in order to run the test. Be aware that test uses all 
available bandwidth and may impact network usability. 

  <address>  IP address of host
   interval  Interval between screen updates
   protocol  Protocol to use for test
       size  UDP packet size
[MikroTik] tool>

Descriptions of arguments:

address - IP address of destination host.
interval - (optional) Delay between messages (in seconds). Default is 1 second. Can be 20ms...5s.
protocol - Type of protocol to use (UDP or TCP, default TCP).
size - Packet size in bytes (50..1500, default 512). Works only with UDP protocol.

Bandwidth Test Examples

[MikroTik] tool> bandwidth-test 10.0.0.224 interval=2s protocol=udp size=1500
               status: running
              current: 9.73Mbps
    10-second-average: 9.72Mbps
        total-average: 8.81Mbps

[MikroTik] tool> 



[MikroTik] tool> bandwidth-test 10.0.0.152 interval=1s protocol=tcp
               status: running
              current: 7.13Mbps
    10-second-average: 6.58Mbps
        total-average: 6.73Mbps

[MikroTik] tool> 


© Copyright 1999-2001, MikroTik