Skip to content
Performance

16. Performance

Analytical models, not hardware benchmarks

Pipeline communication grows with the number of stage boundaries, hidden size, sequence length, and dtype width. A BF16 hidden tensor of shape L×dL\times d carries 2Ld2Ld bytes per hop. Tensor parallelism adds frequent collectives and is restricted to high-bandwidth groups; pipeline parallelism is preferred across independent hosts.

Here BsB_s is effective bandwidth and RsR_s is per-hop latency. Encryption, scheduling, and client boundaries are separate costs. The 40–50 ms/token figure in the source documents is a research target, not an achieved result.

Benchmark protocol

The installed xurcroh-benchmark command emits JSON for end-to-end time to first chunk, inter-chunk latency, throughput, transport/security overhead, memory, numerical quality, image, and video. Time to first chunk is not an isolated engine prefill measurement; Stage Two must instrument that separately. Commands and schemas are in docs/benchmarking.md. Reports label CPU observations, analytical estimates, and physical GPU results separately. No synthetic chart in this manual is a performance benchmark.

Native optimization uses offline weight processing, FWHT client transforms, binary tensor frames, bounded batches, and communication/computation overlap where the engine supports it. Fragmentation and pipeline bubbles require real profiling. The funded-agent procedure records compile/connect/operation/queue/kernel/SDK phases, peak client/role resources, direct versus datagram relay traffic, and verified teardown. No analytical estimate is promoted to a measured result.

Choose your language

All languages are equal. Pick the one you want to browse in.

Europe

Middle East & North Africa

South Asia

Southeast Asia

East Asia

Central Asia & Caucasus

Africa

Oceania

Constructed & Classical