sockperf/echo-lat-tcp

sockperf TCP ping-pong latency benchmark sweeping message size.

Benchmark Profile

  • Type: Micro

  • Kernel subsystem: Networking, TCP sockets, scheduler

  • Coverage: Directly measured

  • Topology: Two roles: client, server; multi-node preferred

Overview

Measures round-trip latency for TCP ping-pong messages at configurable sizes between a client and server node. Sensitive to network stack latency, interrupt handling, and socket buffer configuration.

Fastpath Parameters

Name

Description

server-port

TCP port number for the sockperf server. Mandatory.

msg-size-start

Message size sweep start in bytes. Mandatory.

msg-size-end

Message size sweep end in bytes. Optional; defaults to 256.

msg-size-multiply

Multiplicative sweep step for message size. Optional; defaults to 4.

test-time

Test duration per data point in seconds. Mandatory.

timeout

Socket timeout in seconds. Optional; defaults to 10s.

protocol

Transport protocol. Set to ‘tcp’ for this benchmark.

Result Classes

Result class names encode the message size, for example ‘Size: 64 bytes latency (usec)’.

Fastpath Metadata

Field

Value

Suite

sockperf

Name

echo-lat-tcp

Type

network

Container Image

registry.gitlab.arm.com/tooling/fastpath/containers/sockperf:v1.0

Documentation Path

documentation/user-guide/benchmarkcatalog/sockperf-echo-lat-tcp.rst

Documentation URL

https://fastpath.docs.arm.com/user-guide/benchmarkcatalog/sockperf-echo-lat-tcp.html