.. _performance: ===================================== Performance & Validation ===================================== This page summarises how V2X FlexStack has been benchmarked and validated. The benchmark harnesses, the raw data of every run and the analysis scripts are public in the `FlexStack Benchmarking `_ repository, with a guide to check the data, re-analyse it or re-run any benchmark (``REPRODUCING.md``). Benchmark campaign (November 2026) ================================== The released packages, ``v2xflexstack`` 0.12.0 (CPython 3.13 / 3.12 and PyPy 3.11) and ``rustflexstack`` 0.4.0, are compared with each other and with `Vanetza `_, an independent C++ ETSI C-ITS stack, through a Vanetza harness that sends the same CAM and the same signed message with the same certificates. .. list-table:: :widths: 25 75 :header-rows: 1 * - Platform - Configuration * - **Laptop** (x86-64) - Intel Core i7-1185G7 in its 15 W OEM configuration, turbo disabled: 1.8 GHz * - **Raspberry Pi 5** (aarch64) - Broadcom BCM2712, 4 × Cortex-A76 at 2.4 GHz, 8 GiB * - **NVIDIA Jetson AGX Orin** (aarch64) - Two power modes: 50 W (1.498 GHz) and 30 W (1.728 GHz) * - **NVIDIA Jetson Orin Nano Super** (aarch64) - 25 W mode, 1.344 GHz * - **Raspberry Pi 3 Model B** (aarch64) - 4 × Cortex-A53 at 1.2 GHz, 64-bit OS * - **Cohda MK6** (aarch64) - Rust implementation over the C-V2X link layer (Qualcomm radio API) **Benchmarks.** UPER encoding and decoding of a CAM; TS 103 097 signing and verification; transmission (CAM built and encoded, BTP, GeoNetworking, signing, until the frame is handed to the socket); and reception from a remote sender over Ethernet. Each runs *saturated*, as fast as possible, to measure capacity, and at *fixed rates* of 10, 100 and 1 000 messages per second, to measure the processor time needed at realistic loads. Throughput, per-message latency (mean, p50, p95, p99), CPU utilisation and resident memory are recorded for every run. **Protocol.** 30 runs of 60 s per cell (10 runs for the fixed-rate cells), 5 s warm-up (15 s for PyPy), 10 s cool-down; CPU governor ``performance``, turbo off, swap off, non-essential services stopped; the process pinned to two cores at real-time round-robin priority; temperature, frequency and throttling recorded before and after every run. Results are means with 95 % Student-t confidence intervals; outliers are flagged, never removed. .. note:: The benchmarks measure **processing capacity** on the host. They exclude channel access, scheduling in the access layer and propagation, so their latencies are one component of an end-to-end latency budget, not an end-to-end latency. All cryptography runs in software; no hardware security module has been evaluated. The results of the November 2026 campaign are being analysed and will be published here and in the research paper. The raw data is already available in the benchmark repository (``results/campaign_2026-11``). Interoperability ================ **Over the air, unsecured.** The Python implementation over C-V2X PC5 exchanged CAMs and DENMs with Cohda Wireless, Commsignia and Lacroix City stations in a field environment; over IEEE 802.11p, FlexStack and Vanetza exchanged GeoNetworking Beacons, CAMs and DENMs in both directions. **Signed, software to software.** FlexStack Python, FlexStack Rust and Vanetza (OpenSSL and Crypto++ back ends) exchange signed CAMs, with the AT digest or the full AT as signer, and signed DENMs over raw Ethernet. With the released versions, every directed pair verifies the other's messages; both FlexStack implementations refuse every message signed under an untrusted chain. The test, its logs and packet captures are in the benchmark repository (``interop/``). **Signed, over the air.** The Rust implementation exchanged signed messages over C-V2X with the ETSI stack of the Cohda MK6 SDK and its Aerolink security service, with certificates issued by the FlexStack reference PKI. **Conformance.** The unit tests of both implementations are traced to 380 of the 399 test purposes of the ETSI conformance test specifications of BTP, GeoNetworking, CA, DEN, security and PKI (see :ref:`conformance`). This is not an execution of the ETSI abstract test suites.