How to test pool speed?

I’d like to know how fast my pool is for internal sequential data transfers.

The only other storage in my server is the boot drive.

Is there a command that can check the pool’s speed without accessing another storage device?

Fio is build in and can be used to test pool speeds

@NickF1227 has made a benchmark tool - maybe worth looking & giving feedback:

1 Like

This looks like a rabbit hole, can you tell me what command to type?

It only looks like a rabbit hole to a lazy ferret…

2 Likes

As someone who works for a storage company, I can personally attest that fio is indeed a rabbit hole :slight_smile:

Something like sudo fio --directory=/mnt/<your-pool-name>/fio --name=write --ioengine=libaio --iodepth=4 --rw=write --bs=1M --size=1G --numjobs=4 --time_based --runtime=180 would do. <your-pool-name>/fio is the tested dataset. Tweak the params to your needs.

Also, when testing the reads, you may (or may not, depending on the goal) want to disable ARC. You can do so with sudo zfs set primarycache=none <your-pool-name>/fio.