Chapter 10 of 16 · Deutschnullos.de

Technical details

For everyone who wants to know exactly: structure, special features, measurements and tests of NULLos 0.3.4 – with the good numbers and the bad ones.

Where it was measured: Unless stated otherwise, the measurements come from QEMU/TCG on a MacBook Air M5, with x86_64 emulated there. Real hardware is untested.

Structure

What's different

Measurements

WhatValueWhere
Boot to the shell (0.3)about 40 s, observed, not measured exactlyUTM, emulated
Timer during startup339 ticks in 3498 ms at 100 Hz target – under TCG about 10 % of the target rateQEMU/TCG
Without virtio-rng-pcithe first read of randomness waits about 20 s after start – that's why the device is mandatory in all instructionsQEMU/TCG
Free memory after the system tests≈ 181 MB of 256 MB, without desktop, no memory leakQEMU/TCG
Network silence300 s without interaction: 0 packets from NULLos. Before that the OVMF firmware sends two IPv6 packets, which can be switched off in QEMUQEMU with capture
Several CPUs4 CPUs: one computing child 355 ms, four children 461 ms (on one CPU about 1.4 s)QEMU, raspi4b machine (ARM64), not a real Pi
CryptographyAES-128-GCM without tables ≈ 26 MB/s (with tables it would be 96 MB/s), ChaCha20 ≈ 930 MB/s – that's why NULLos offers ChaCha20 firstnative on the Mac, not in QEMU
Desktop: drawing a full frame≈ 2 ms at 1280×800, ≈ 3.5 ms at 2560×1600native on the Mac
Building with ccachewithout 92 s, ccache cold 122 s, warm 24 s (49.9 % hits). The results with ccache were not byte-identical to the build without – the init.img archive carries timestampsbuild on the Mac
Remote computing (RDP/VNC)not measured–

Tests

Deliberate limits