Skip to main content
Version: 7.26

quick


tool/traffic-generator/quick​

Type: Command
Starts the traffic generator, prints the statistics to the terminal and assembles the latency/jitter report. Parameters override the values configured in the stream and the packet template; if a parameter specifies only one header, the value is multiplied for the other headers.

ArgumentTypeDescription
entries-to-shownumHow many status lines to print to the terminal.
test-idnumTest session ID (see the general traffic-generator menu).
measure-out-of-orderboolWhether out-of-order received packets are measured and reported for this test.
cpu-coremulti { array-id, array-id, cpu-core: range [0 .. 255] }CPU core or range of cores (0-255) the streams are pinned to, for multi-core tests.
streammulti { stream: enum }Names of the streams to start.
portmulti { port: enum }Ports to start transmitting from.
interfacemulti { port: iface_enum }Interfaces to start transmitting from; a port is implied for each.
idmulti { id: num [0 .. 255] }Stream IDs to start.
packet-sizemulti { array-id, array-id, packet-size: range [1 .. 65535] }Override the generated packet size (in bytes); a range generates random sizes.
ppsmulti { pps: num }Override the packets-per-second rate.
mbpsmulti { mbps: num }Override the megabits-per-second rate.
tx-templatemulti { tx-template: enum }Override the packet templates used as the packet content source (up to 16).
packet-countmulti { packet-count: num }Override the number of packets to transmit.
Read-only ArgumentTypeDescription
seqenum (TOT) { TOT:0xffffffff }Measurement sequence number, or TOT for totals.
idenum (TOT) { TOT:0xffffffff }Stream ID, or TOT for totals across streams.
tx-packetnumTotal packets transmitted.
tx-ratenumCurrent transmit rate in bps.
rx-packetnumTotal packets received.
rx-ratenumCurrent receive rate in bps.
rx-ooonumReceived packets that were out of order.
rx-bad-csumnumReceived packets with a bad checksum.
lost-packetnumTotal lost packets (transmitted minus received).
lost-ratenumCurrent loss rate in bps.
lost-ratiostringLoss as a percentage of transmitted packets.
lat-minstringMinimum measured latency.
lat-avgstringAverage measured latency.
lat-maxstringMaximum measured latency.
jitterstringMeasured latency variation (jitter).