Hi
@Fastline
iperf
is the correct tool for testing network speed and throughput. It's installed on TrueNAS by default, and you can launch it from a shell in either server or client mode.
To test your local pool performance, you can use something like
fio
- the specifics are a bit to get into, but something like the following, run from inside your pool directory (eg:
/mnt/yourpool/yourdataset) will test your large-file write speeds:
fio --ramp_time=5 --gtod_reduce=1 --numjobs=1 --bs=1M --size=100G --runtime=60s --readwrite=write --name=testfile
This will run a 60-second test of 1MB writes. Think of this as "how fast could I copy a large, multi-gigabyte video to the system?" If you plan to use it for smaller files, adjust the
bs
value.
Remote (network-connected) performance can depend on your client, as well as needing to account for the fact that you're going through a network protocol rather than communicating directly with the filesystem. Using
fio
remotely can work as well to test.