Post install FWIW

William A. Mahaffey III wam at hiwaay.net
Tue Oct 20 14:56:57 UTC 2015



I decided to do a bit of light benchmarking on my newly provisioned 
MythTV-to-be box, w/ 2X 1TB HDD's, 7200 RPM, SATA3, 2.5" formactor, in 
an unmirrored XFS pool:


[root at mythbox, /etc, 9:50:49am] 345 % time dd if=/dev/zero 
of=/home/testfile  bs=16k count=32768
32768+0 records in
32768+0 records out
536870912 bytes transferred in 1.504679 secs (356800912 bytes/sec)
  whew !!!! that took (0.023 cpu + 1.479 sys) sec., 0:01.50 elapsed time 
tot, 99.3% CPU efficiency
         (25 text, 2768 data, 1660 max) KB, (0+32768) io, 0 pfs + 0 swaps
[root at mythbox, /etc, 9:51:15am] 346 % lltr /home/
total 524561
drwxr-xr-x  3 wam   users         13 Oct 19 23:50 wam/
-rw-r--r--  1 root  wheel  536870912 Oct 20 09:51 testfile
[root at mythbox, /etc, 9:51:30am] 347 % time dd if=/dev/zero 
of=/home/testfile bs=1m count=32768
32768+0 records in
32768+0 records out
34359738368 bytes transferred in 154.287960 secs (222698766 bytes/sec)
  whew !!!! that took (0.211 cpu + 32.909 sys) sec., 2:34.39 elapsed 
time tot, 21.4% CPU efficiency
         (25 text, 2753 data, 2664 max) KB, (0+0) io, 0 pfs + 0 swaps
[root at mythbox, /etc, 9:55:11am] 348 % lltr /home/
total 33571089
drwxr-xr-x  3 wam   users           13 Oct 19 23:50 wam/
-rw-r--r--  1 root  wheel  34359738368 Oct 20 09:55 testfile
[root at mythbox, /etc, 9:57:41am] 349 % df -h ; hddtemp /dev/ada[0-3] ; w 
; pstat -hms ; uname -a ; hwclock -r ; date
Filesystem          Type       Size    Used   Avail Capacity Mounted on
zroot/ROOT/default  zfs        1.7T    472M    1.7T     0%    /
devfs               devfs      1.0k    1.0k      0B   100%    /dev
tmpfs               tmpfs      8.0G    4.0k      8G     0%    /tmp
fdescfs             fdescfs    1.0k    1.0k      0B   100% /dev/fd
zroot/home          zfs        1.8T     32G    1.7T     2%    /home
zroot/usr           zfs        1.7T    1.3G    1.7T     0%    /usr
zroot/usr/local     zfs        1.7T     27M    1.7T     0% /usr/local
zroot/var           zfs        1.7T    4.3M    1.7T     0%    /var
zroot/var/crash     zfs        1.7T    148k    1.7T     0% /var/crash
zroot/var/db        zfs        1.7T    215M    1.7T     0% /var/db
zroot/var/db/pkg    zfs        1.7T     25M    1.7T     0% /var/db/pkg
zroot/var/empty     zfs        1.7T    144k    1.7T     0% /var/empty
zroot/var/log       zfs        1.7T    236k    1.7T     0% /var/log
zroot/var/mail      zfs        1.7T    144k    1.7T     0% /var/mail
zroot/var/run       zfs        1.7T    256k    1.7T     0% /var/run
zroot/var/tmp       zfs        1.7T    152k    1.7T     0% /var/tmp
SMART supported, SMART enabled
drive /dev/ada0: HGST HTS721010A9E630, S/N: JR10046P2YAK7N, Temp. 24 
degC, min/max, cycle: 20/25, lifetime: 16/29, lifetime avg. 23 degC
drive /dev/ada1: HGST HTS721010A9E630, S/N: JR10046P2YAGTN, Temp. 24 
degC, min/max, cycle: 20/25, lifetime: 16/29, lifetime avg. 22 degC
  9:57AM  up  1:50, 2 users, load averages: 0.03, 0.11, 0.06
USER       TTY      FROM                      LOGIN@  IDLE WHAT
wam        pts/0    kabini1.local             8:08AM     - w
wam        pts/1    kabini1.local             8:19AM  1:36 -tcsh (tcsh)
Device          1M-blocks     Used    Avail Capacity
/dev/gpt/swap0      16384       0B      16G     0%
/dev/gpt/swap1      16384       0B      16G     0%
Total               32768       0B      32G     0%
FreeBSD mythbox.local 9.3-RELEASE-p24 FreeBSD 9.3-RELEASE-p24 #0: Sat 
Aug 22 01:54:44 UTC 2015 
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
hwclock: Command not found.
Tue Oct 20 09:57:50 MCDT 2015
[root at mythbox, /etc, 9:57:50am] 350 %


I think I am reading that at 220-ish MB/s for a large (obviously simple) 
file write. When I dd'ed /dev/zero to (re-) initialize the individual 
drives during install, I saw 125-ish MB/s per drive, so this is 90-ish % 
efficient for this write. That is fabulous AFAIAC !!!! *Boooooyah !!!!*


-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.



More information about the freebsd-questions mailing list