Skip to content

About

Comprehensive syscall & subsystem benchmark suite and Linux comparison baselines for Nilix OS

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nilix-bench

Comprehensive syscall & subsystem microbenchmark suite, Linux x86-64 comparison baselines, and syscall coverage tracker for Nilix OS.

What's Inside

Headline Snapshot (Nilix 54829f9 vs Host Linux Linux 7.3.6-300.fc45.x86_64)

  • Syscall coverage: 222 / 386 (57.51%) Linux x86-64 ABI + 24 Nilix native extensions
  • Benchmarks measured: 110 on Nilix HW (8 beat Host Linux, 16 at >= 0.80x parity)
Canonical Benchmark Host Linux Nilix kvm_4vcpu Nilix kvm_4vcpu_hw HW vs Host
getpid_ns 110 ns 716 ns 354 ns 0.31x
ctx_switch_pipe_ns 2,857 ns 1,961 ns 1,590 ns 1.80x
page_fault_anon_4k_ns 1,391 ns 2,121 ns 1,843 ns 0.75x
mmap_touch_munmap_ops_sec 257,433 ops/s 202,848 ops/s 306,139 ops/s 1.19x
open_read_close_ops_sec 672,357 ops/s 178,968 ops/s 370,242 ops/s 0.55x
epoll_pipe_rtt_ns 808 ns 3,897 ns 2,268 ns 0.36x
unix_stream_64k_mbps 44,402 Mbps 45,227 Mbps 53,839 Mbps 1.21x
tcp_loopback_64k_mbps 31,435 Mbps 38,434 Mbps 36,294 Mbps 1.15x

See the complete 110-benchmark report in reports/latest_comparison.md and the full syscall gap tracker in docs/syscall-gap.md.

Quickstart

# 1. Run Host Linux baseline
python3 scripts/run_bench.py --target host --out baselines/linux_host.json

# 2. Run Nilix dual-profile KVM baselines (from a Nilix build with esp-busybox)
python3 scripts/run_bench.py --target nilix \
  --nilix-repo /path/to/Nilix \
  --esp /path/to/Nilix/esp-busybox \
  --busybox /path/to/Nilix/target/conformance/build/busybox/busybox \
  --profile kvm_4vcpu_hw --out baselines/nilix_kvm_4vcpu_hw.json

# 3. Run a single subsystem suite while iterating on optimizations
python3 scripts/run_bench.py --target nilix --suite vfs_meta ...

# 4. Re-sync syscall catalog & regenerate markdown reports
python3 scripts/sync_syscall_catalog.py --nilix-repo /path/to/Nilix
python3 scripts/generate_report.py

License

MIT — see LICENSE.

About

Comprehensive syscall & subsystem benchmark suite and Linux comparison baselines for Nilix OS

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages