Benchmark tools?

anaxagorasbc

Dabbler
Joined
Dec 3, 2021
Messages
15
What are the best ways to benchmark the max perfromance on truenas locally? I have 2 different vdevs i want to add to a pool, but i'm concerned that the second vdev is considerably slower than the 1st and may hinder performance if i add it to the pool.

Would i just install bonnie++ in a jail? or is there anything built in to benchmark disk performance like in unraid?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
If you're adding VDEVs to an existing pool, be aware that there's no automatic rebalancing of data, so it won't be the same as if you had all VDEVs present from the start unless/until you rewrite all your data.

You should do a bit of searching for examples of how folks have used it in the forum, but fio is probably the tool of choice.

What's super-important to understand is that compression and limitations of the random generator mean that you really need to supply a good, large file to use as the test with some realistic content (not all 1 or zero... and don't try to use a random generator as that will be your bottleneck during the test)
 

anaxagorasbc

Dabbler
Joined
Dec 3, 2021
Messages
15
Thanks, i was aware of the no auto rebalance, going to move stuff around between datasets.

Didn't know about fio i will look into it. I have a bunch of 30+gb 4k video files that will probably be decent data to test with, if not, i imagine i could probably pre-generate a couple 100 gig test files with /dev/random before running the test.
 
Top