On 1/9/20 4:37 PM, Karel Gardas wrote:
On 1/9/20 3:22 PM, Hamd wrote:
FreeBSD:
freebsd@test:~ # time sh -c "dd if=/dev/zero of=test.tmp bs=4k
count=50000
&& sync"
50000+0 records in
50000+0 records out
204800000 bytes transferred in 0.239590 secs (854792500 bytes/sec)
0.000u 0.195s 0:00.25 76.0% 22+198k 0+1568io 0pf+0w
Result: *854.79 MB/s disk speed*
I'm afraid a lot of those data are still in RAM waiting for fs sync.
At least do sync which is whole sys sync and add time of it to to the
time of dd. It'll still not be 100% accurate, but at least more
realistic...
Shit happen. Sorry I've overlooked && sync on another line. Default
setup, does it mean ZFS or UFS? I don't remember the default option
since I've installed 12.1 few weeks ago and has not paid attention.
Looking forward to see your openbsd dmesg anyway.