TCP UPD performance test
Report TCP or UDP performance
Get the performance statistics of TCP UDP traffic and report it.
Configure Rx checksum offload on IUT interface if specified
Configure GRO on IUT interface if specified
Configure HW VLAN stripping on IUT interface if specified
Configure Tx checksum offload on IUT interface if specified
Configure GSO offload on IUT interface if specified
Configure TSO offload on IUT interface if specified
Configure HW VLAN insertion on IUT interface if specified
If rx_coalesce_usecs or rx_max_coalesced_frames is not -1, configure Rx coalesce on IUT interface.
Disable use_adaptive_rx_coalesce on IUT interface.
If rx_coalesce_usecs is not -1, configure it IUT interface.
If rx_max_coalesced_frames is not -1, configure it IUT interface.
Set Rx ring size according to rx_ring on IUT interface.
Set Tx ring size according to tx_ring on IUT interface.
Set number of combined channels on IUT interface according to channels.
If rx_vlan_strip or tx_vlan_insert is not default, create VLANs, assign addresses and use it for traffic checks below.
Set default perf options
Set test specific perf options
Allocate server ports for perf applications
Start server and client perf applications
Wait for perf report to be ready
Igor Romanov Igor.Romanov@oktetlabs.ru
Parameters:
perf_bench |
Performance benchmark type |
dual_mode |
Run benchmark in bidirectional mode |
protocol |
Use TCP or UDP protocol |
n_perf_insts |
Number of performance apps to run |
n_streams |
Number of parallel streams to run |
bandwidth |
Target bandwidth in Mbps, negative means some internal tool value for UDP, unlimited for TCP |
rx_csum |
Enable, disable Rx checksum offload or preserve default |
rx_gro |
Enable, disable Rx GRO offload or preserve default |
rx_vlan_strip |
Enable, disable Rx VLAN stripping offload or preserve default |
tx_csum |
Enable, disable Tx checksum offload or preserve default |
tx_gso |
Enable, disable Tx GSO offload or preserve default |
tso |
Enable, disable TSO offload or preserve default |
tx_vlan_insert |
Enable, disable Tx VLAN insertion offload or preserve default |
rx_coalesce_usecs |
Value to set for rx_coalesce_usecs:
|
rx_max_coalesced_frames |
Value to set rx_max_coalesced_frames:
|
rx_ring |
Rx rings size:
|
tx_ring |
Tx rings size:
|
channels |
Number of combined channels to use:
|