Hasty Briefsbeta

Bilingual

I patched iozone for better disk benchmarks on modern macOS

3 hours ago
  • The author patches iozone to compile on Apple Silicon Macs running newer macOS versions.
  • iozone is a cross-platform disk benchmarking tool used since 1991, still maintained by Don Capps.
  • The patches fix compilation issues that broke PyInfra benchmarking scripts on a MacBook Neo.
  • The author used a local Qwen model to help validate the C code fixes.
  • Patches were emailed to the maintainer and incorporated into iozone version 510.
  • Building iozone on macOS involves downloading the source, extracting, and running 'make --quiet macosx'.
  • Benchmarking is done with a command like './iozone -e -I -a -s 1g -r 4k -r 1024k -i 0 -i 1 -i 2 -f ~/Downloads/iozone'.
  • Results show an average of 1.5 GB/sec for 1MB reads and writes on a MacBook Neo SSD.
  • The author notes the dramatic speed increase of local storage over the past decade.