How to benchmark a NAS from a Mac (Neither fio nor bonnie++ work)
Bonnie++ can be installed this way:
Download Bonnie++ 1.98 from here:
https://www.coker.com.au/bonnie++/bonnie++-1.98.tgz
Extract the source code:
tar -xvzf bonnie++-1.98.tgz

Download the patch found here:
https://raw.githubusercontent.com/Homebrew/formula-patches/913b5a25087d2c64d3b6459635d5d64012b83042/bonnie%2B%2B/remove-large-file-support-macros.diff
Apply it to the source code using the patch utility:
cd bonnie++-1.98
patch &lt; ../remove-large-file-support-macros.diff

Now configure and compile like usual:
./configure
make
make install