ZFS bonnie++ and chunk size

Hi,
I am using FreeBSD 11.2-RELEASE
I am trying to do some tests to simulate very busy mailserver.
I assume that average size of a message could be between 2MB and 50K, so I used:

Code:
# bonnie++ -d /mail/ -s2g -n2:2m:50k:100 -m MAILSERVER -u erik

as you may note, I did't specify "chunk" parameter, because I didn't understand very well..
Can anyone give me some help about this?

p.s. is my bonnie++ command reasonably appropriate for my objective?

Thank you!
 
Chunk size is, most likely, the size of a single I/O request issued to the kernel. You better pick a larger working set size ( -s), couple of times RAM size, at least. 2K files ( -n) seems too low for a busy mailserver. And IMHO 50K is a bit large for a minimum message size.
 
Back
Top