PPS uses full on-wire time: frame with FCS plus preamble/SFD and IFG.
NETWORK PERFORMANCE TOOLS
Network data-path performance calculators
Five tools for preliminary 10–400GbE sizing: wire rate and PPS, GTP-U overhead, XDP/AF_XDP cores, NIC/NUMA locality, and IRQ/queue placement.
WIRE RATE
Ethernet wire rate and PPS
Packet-rate calculation including the 8-byte preamble/SFD and 12-byte inter-frame gap. Frame size is entered from the MAC header through the FCS.
Result
The minimum Ethernet frame is 64 bytes from Destination MAC through FCS. Preamble/SFD and IFG consume another 20 bytes on the wire.
GTP-U
GTP-U overhead and MTU
Calculates the outer Ethernet/IP/UDP/GTP-U headers, wire efficiency, achievable inner-IP throughput and fragmentation risk.
Result
Recalculate a published or measured packet rate
Inner packet size means the average N6 IP-packet size. Published benchmark reports may calculate Gbit/s at N6, N3, Ethernet or physical-wire level. Compare only metrics measured at the same layer.
XDP / AF_XDP
XDP / AF_XDP core sizing
Estimates physical cores from a published cycles-per-packet cost and the user CPU's actual sustained frequency. AF_XDP and custom code can use a measured single-core benchmark override.
Result
Calculated profile
Use a sustained frequency measured during packet processing, not a data-sheet boost clock. Automatic projection assumes a comparable microarchitecture, NIC, driver, packet size and queue design. Use your own single-core benchmark for AF_XDP, GTP-U or non-trivial packet logic.
How to obtain the actual frequency
Run the packet benchmark and observe the busy core's average frequency at the same time. APERF/MPERF through turbostat is preferred; cpu MHz from /proc/cpuinfo is only a rough instantaneous indication.
sudo turbostat --Summary --quiet --interval 1NIC / NUMA / IRQ
NIC / NUMA / IRQ analyzer
Run the read-only collection script on a Linux server and paste the output. Parsing runs only in the browser.
Topology collection script
#!/bin/sh
# KernelSoft NIC/NUMA collector v2 — read-only, no root changes.
set -u
printf 'KS_VERSION|2\n'
for node_path in /sys/devices/system/node/node[0-9]*; do
[ -d "$node_path" ] || continue
node=${node_path##*node}
cpus=$(cat "$node_path/cpulist" 2>/dev/null || true)
printf 'KS_CPU_NODE|%s|%s\n' "$node" "$cpus"
done
for net_path in /sys/class/net/*; do
dev=${net_path##*/}
[ "$dev" = "lo" ] && continue
rx=$(find "$net_path/queues" -maxdepth 1 -type d -name 'rx-*' 2>/dev/null | wc -l | tr -d ' ')
tx=$(find "$net_path/queues" -maxdepth 1 -type d -name 'tx-*' 2>/dev/null | wc -l | tr -d ' ')
device=$(readlink -f "$net_path/device" 2>/dev/null || true)
kind=software
pci=virtual
numa=-1
irq_root=
if [ -n "$device" ]; then
device_base=${device##*/}
case "$device_base" in
virtio*) kind=virtio ;;
*) kind=device ;;
esac
# A virtio netdev normally points to .../<PCI-BDF>/virtioN.
# Walk upward until the owning PCI function is found.
probe=$device
while [ -n "$probe" ] && [ "$probe" != "/" ]; do
base=${probe##*/}
case "$base" in
????:??:??.?)
pci=$base
if [ "$kind" = "virtio" ]; then
kind=virtio-pci
else
kind=pci
fi
numa=$(cat "$probe/numa_node" 2>/dev/null || printf '%s' '-1')
if [ -d "$probe/msi_irqs" ]; then
irq_root=$probe/msi_irqs
fi
break
;;
esac
parent=${probe%/*}
[ "$parent" = "$probe" ] && break
probe=$parent
done
# Non-PCI devices may expose NUMA/IRQ data directly.
if [ "$pci" = "virtual" ]; then
pci=$device_base
numa=$(cat "$device/numa_node" 2>/dev/null || printf '%s' '-1')
if [ -d "$device/msi_irqs" ]; then
irq_root=$device/msi_irqs
fi
fi
fi
case "$dev" in
tun*|tap*|veth*|docker*|br-*|virbr*|wg*|dummy*|ifb*)
kind=software
;;
esac
printf 'KS_NIC|%s|%s|%s|%s|%s|%s\n' \
"$dev" "$pci" "$numa" "$rx" "$tx" "$kind"
if [ -n "$irq_root" ] && [ -d "$irq_root" ]; then
for irq_path in "$irq_root"/*; do
[ -e "$irq_path" ] || continue
irq=${irq_path##*/}
affinity=$(cat "/proc/irq/$irq/smp_affinity_list" 2>/dev/null || true)
printf 'KS_IRQ|%s|%s|%s\n' "$dev" "$irq" "$affinity"
done
fi
done
KS_VERSION|1 KS_CPU_NODE|0|0-15,32-47 KS_CPU_NODE|1|16-31,48-63 KS_NIC|ens5f0|0000:41:00.0|0|16|16 KS_IRQ|ens5f0|120|0 KS_IRQ|ens5f0|121|1 KS_IRQ|ens5f0|122|2 KS_IRQ|ens5f0|123|3 KS_NIC|ens6f0|0000:c1:00.0|1|16|16 KS_IRQ|ens6f0|220|16 KS_IRQ|ens6f0|221|17 KS_IRQ|ens6f0|222|2 KS_IRQ|ens6f0|223|19
Summary
Paste script output or load the example.
| Interface | PCI / type | NUMA | RX/TX | IRQs | IRQs local to NIC NUMA | Status |
|---|
The analyzer checks available static topology and allowed IRQ affinity masks. It does not prove which CPU actually handled an interrupt and does not observe packet flow, RPS/XPS, the application, PCIe saturation or memory placement under load.
IRQ / QUEUES
IRQ, queue and worker planner
Builds a reviewable affinity plan. Commands are never executed and should be applied only after checking the mapping between IRQ vectors and queues.
Plan
| Queue | IRQ ID | IRQ CPU | Worker CPU |
|---|
Command draft
CPUs are treated as logical processors. To avoid SMT siblings, provide only the selected physical-core CPU IDs. Verify MSI-X vector ordering with the driver and ethtool.
METHOD
Method and limits
The tools use deterministic formulas and never upload input data. They help reject impossible configurations and prepare a measurable benchmark plan.
The inner IP packet is wrapped in outer IP, UDP and the base GTP-U header; extension bytes are explicit.
Core count comes from your Mpps/core, target utilization and required reserve.
The analyzer checks NIC NUMA ownership and whether IRQ affinity stays within the local CPU list.
PUBLISHED VALIDATION
Validation against standards and published measurements
The formulas were checked against standards and reproducible measurements. Theoretical Ethernet wire rate is kept separate from measured software data-path performance.
Ethernet wire rate
A 64-byte frame occupies 84 bytes on the wire: the 64-byte frame, 8-byte preamble/SFD and 12-byte IFG. At 100GbE this is 148.810 Mpps, which matches the calculator.
IEEE 802 material ↗GTP-U and 5G
The minimum GTP-U header is 8 bytes. N3/N9 adds the 4-byte common optional block and at least a 4-byte PDU Session Container extension. A 1500-byte inner IPv4 packet therefore needs MTU 1536 in the base profile and 1544 in the minimal 5G profile.
3GPP TS 29.281 ↗XDP: real results vary
Published single-core results depend on the action and testbed: up to 24 Mpps for a simple XDP path and about 14 Mpps for a single-core forwarder on a 3.6 GHz Ice Lake CPU. The calculator therefore scales only the entered Mpps/core and does not promise a universal rate.
XDP research paper ↗Single-core XDP forwarder ≈14 Mpps ↗NUMA and IRQs
The analyzer checks the allowed smp_affinity_list against the NIC NUMA node. It does not measure actual execution: verify /proc/interrupts, SoftIRQ load, driver queues and irqbalance before applying a plan.
Red Hat documentation ↗REAL GTP-U DATA
Validation with published UPF traffic profiles
Metaswitch published packet rate, average inner-packet size, and N3/N6 bandwidth together. These three profiles directly validate the GTP-U formula without assumptions about CPU performance.
| Profile | Inputs | Published | Calculated | Difference |
|---|---|---|---|---|
| Metaswitch #1 | 596 B; 18.5 Mpps | N6 88; N3 95 Gbit/s | N6 88.208; N3 94.720 | +0.24% / −0.29% |
| Metaswitch #2 | 596 B; 98 Mpps | N6 467; N3 502 Gbit/s | N6 467.264; N3 501.760 | +0.06% / −0.05% |
| Metaswitch #3 | 839 B; 71 Mpps | N6 478; N3 503 Gbit/s | N6 476.552; N3 501.544 | −0.30% / −0.29% |
Why the values match
The N3-to-N6 difference is 44 bytes per packet: outer IPv4 20, UDP 8, and a minimum 16-byte 5G GTP-U header with PDU Session Container.
ZTE: 690 bytes, 30.6 Mpps, 173 Gbit/s
30.6 Mpps × (690 + 18 Ethernet/FCS bytes) gives 173.318 Gbit/s. This validates the report arithmetic, but its 690-byte value is defined at another measurement layer and is not a direct GTP-overhead reference.
Intel FlexCore: 650 bytes
The report states 948 Gbit/s at zero loss on an aggregate 1 Tbit/s link. However, its published TRex example constructs a packet roughly 100 bytes longer than the stated packet size. It is useful as a performance result, but not as an exact packet-length reference.
SK Telecom mixed traffic
Profile 1 reports 1.8 Mpps × 175 bytes = 2.52 Gbit/s and 18.9 Mpps × 645 bytes = 97.524 Gbit/s, matching the published 2.5 and 97.5 Gbit/s after rounding.
MEASURED CASE
From preliminary sizing to a real benchmark
On a production-style GTP-U data path, the initial 16 Gbit/s on one port was scaled to 400 Gbit/s aggregate across four 100GbE ports on two ConnectX-6 adapters placed on separate NUMA nodes. The calculators do not replace profiling, but they help set realistic limits, queue counts and experiment structure.
Send the configuration, packet profile, perf/ethtool output and acceptance target. The first engagement identifies the bottleneck, measurement plan and verifiable goal.
Need to validate the result on real hardware?
Include the platform, what already exists, where the problem occurs, the target load and the acceptance criterion. This is enough to choose a sensible first stage and validation method.