2009-01-20 23:54:50 +00:00
|
|
|
SUBDIRS = zpool-config zpios-test zpios-profile
|
2009-01-20 23:43:21 +00:00
|
|
|
EXTRA_DIST = common.sh zfs-update.sh zfs.sh zpool-create.sh
|
2009-01-20 23:54:50 +00:00
|
|
|
EXTRA_DIST += zpios.sh zpios-survey.sh
|
2008-12-05 17:46:11 +00:00
|
|
|
|
2009-03-18 21:19:04 +00:00
|
|
|
ZFS=${top_srcdir}/scripts/zfs.sh
|
|
|
|
ZTEST=${top_builddir}/cmd/ztest/ztest
|
|
|
|
ZPIOS=${top_srcdir}/scripts/zpios.sh
|
|
|
|
|
2008-12-05 17:46:11 +00:00
|
|
|
check:
|
Pretty-up the 'make check' output
Reasonable output from 'make check' now looks roughly like this. The
big change is the consolidation of the all the zpion test results in
to a single table which can be easily scanned for failures/problems.
==================================== ZTEST ====================================
5 vdevs, 7 datasets, 23 threads, 300 seconds...
Pass 1, SIGKILL, 1 ENOSPC, 13.8% of 238M used, 17% done, 4m07s to go
Pass 2, SIGKILL, 1 ENOSPC, 23.7% of 238M used, 38% done, 3m04s to go
Pass 3, SIGKILL, 0 ENOSPC, 27.0% of 238M used, 66% done, 1m42s to go
Pass 4, SIGKILL, 0 ENOSPC, 27.4% of 238M used, 75% done, 1m14s to go
Pass 5, SIGKILL, 0 ENOSPC, 27.9% of 238M used, 89% done, 32s to go
Pass 6, Complete, 0 ENOSPC, 14.0% of 476M used, 100% done, 0s to go
5 killed, 1 completed, 83% kill rate
==================================== ZPIOS ====================================
status name id wr-data wr-ch wr-bw rd-data rd-ch rd-bw
-------------------------------------------------------------------------------
PASS: file-raid0 0 64m 64 13.04m 64m 64 842.22m
PASS: file-raid10 0 64m 64 134.19m 64m 64 842.22m
PASS: file-raidz 0 64m 64 87.56m 64m 64 853.45m
PASS: file-raidz2 0 64m 64 134.19m 64m 64 853.45m
PASS: lo-raid0 0 64m 64 429.59m 64m 64 14.63m
PASS: lo-raid10 0 64m 64 397.57m 64m 64 771.19m
PASS: lo-raidz 0 64m 64 206.48m 64m 64 688.27m
PASS: lo-raidz2 0 64m 64 14.34m 64m 64 711.21m
2009-07-21 21:41:35 +00:00
|
|
|
@$(ZFS) -v
|
|
|
|
@echo
|
|
|
|
@echo -n "===================================="
|
|
|
|
@echo -n " ZTEST "
|
|
|
|
@echo "===================================="
|
|
|
|
@echo
|
2009-07-24 18:10:21 +00:00
|
|
|
@ulimit -c unlimited
|
Pretty-up the 'make check' output
Reasonable output from 'make check' now looks roughly like this. The
big change is the consolidation of the all the zpion test results in
to a single table which can be easily scanned for failures/problems.
==================================== ZTEST ====================================
5 vdevs, 7 datasets, 23 threads, 300 seconds...
Pass 1, SIGKILL, 1 ENOSPC, 13.8% of 238M used, 17% done, 4m07s to go
Pass 2, SIGKILL, 1 ENOSPC, 23.7% of 238M used, 38% done, 3m04s to go
Pass 3, SIGKILL, 0 ENOSPC, 27.0% of 238M used, 66% done, 1m42s to go
Pass 4, SIGKILL, 0 ENOSPC, 27.4% of 238M used, 75% done, 1m14s to go
Pass 5, SIGKILL, 0 ENOSPC, 27.9% of 238M used, 89% done, 32s to go
Pass 6, Complete, 0 ENOSPC, 14.0% of 476M used, 100% done, 0s to go
5 killed, 1 completed, 83% kill rate
==================================== ZPIOS ====================================
status name id wr-data wr-ch wr-bw rd-data rd-ch rd-bw
-------------------------------------------------------------------------------
PASS: file-raid0 0 64m 64 13.04m 64m 64 842.22m
PASS: file-raid10 0 64m 64 134.19m 64m 64 842.22m
PASS: file-raidz 0 64m 64 87.56m 64m 64 853.45m
PASS: file-raidz2 0 64m 64 134.19m 64m 64 853.45m
PASS: lo-raid0 0 64m 64 429.59m 64m 64 14.63m
PASS: lo-raid10 0 64m 64 397.57m 64m 64 771.19m
PASS: lo-raidz 0 64m 64 206.48m 64m 64 688.27m
PASS: lo-raidz2 0 64m 64 14.34m 64m 64 711.21m
2009-07-21 21:41:35 +00:00
|
|
|
@$(ZTEST) -V
|
|
|
|
@echo
|
|
|
|
@echo -n "===================================="
|
|
|
|
@echo -n " ZPIOS "
|
|
|
|
@echo "===================================="
|
|
|
|
@echo
|
|
|
|
@$(ZPIOS) -c file-raid0 -t tiny
|
|
|
|
@$(ZPIOS) -c file-raid10 -t tiny | tail -1
|
|
|
|
@$(ZPIOS) -c file-raidz -t tiny | tail -1
|
|
|
|
@$(ZPIOS) -c file-raidz2 -t tiny | tail -1
|
|
|
|
@$(ZPIOS) -c lo-raid0 -t tiny | tail -1
|
|
|
|
@$(ZPIOS) -c lo-raid10 -t tiny | tail -1
|
|
|
|
@$(ZPIOS) -c lo-raidz -t tiny | tail -1
|
|
|
|
@$(ZPIOS) -c lo-raidz2 -t tiny | tail -1
|
|
|
|
@echo
|
|
|
|
@$(ZFS) -vu
|