I'm quite familiar with Linux, just now starting to learn Solaris. To benchmark a filesystem on Linux, I might use dd:
dd if=/dev/zero of=/mnt/nas11/temp bs=1M count=1000 conv=fdatasync
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 2.96195 s, 354 MB/s
But on Solaris 11.4 it does not display the speed. Is there some way to make it show the speed? I know I can run this with time
but then I want the computer to do the math for me.
dd if=/dev/zero of=/tank/ddtest bs=1000000 count=100 && sync
100+0 records in
100+0 records out
It seems that many "standard" tools work differently here, like conv=fdatasync
doesn't work.
gdd
exist?dd
is a POSIX-standard utility. Features such asconv=fdatasync
on Linux are non-standard, non-portable GNU extensions to the standard utility. If you need to time a command, you can use the POSIX-standardtime
utility.