summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2008-11-26 15:52:56 -0800
committerBrian Behlendorf <[email protected]>2008-11-26 15:52:56 -0800
commit40f5390865ff8741b8887649254d08419f1bfa41 (patch)
treed352738ceb9eb525a452c91171c62787e302ebe8
parentfda66414a6621d833a04656e49ab734ab8059741 (diff)
parentd78fc8d5294a3e2b51bd8e80f7539c82c3d5425c (diff)
Merge commit 'refs/top-bases/top' into topzfs-0.4.0
-rwxr-xr-xscripts/zpios.sh18
1 files changed, 6 insertions, 12 deletions
diff --git a/scripts/zpios.sh b/scripts/zpios.sh
index a22a33c0d..342ecd1f5 100755
--- a/scripts/zpios.sh
+++ b/scripts/zpios.sh
@@ -13,6 +13,8 @@ KPIOS_POST=$6
PROFILE_KPIOS_PRE=/home/behlendo/src/zfs/scripts/profile-kpios-pre.sh
PROFILE_KPIOS_POST=/home/behlendo/src/zfs/scripts/profile-kpios-post.sh
+DEVICES="/dev/hda"
+
echo ------------------------- ZFS TEST LOG ---------------------------------
echo -n "Date = "; date
echo -n "Kernel = "; uname -r
@@ -35,16 +37,8 @@ else
fi
echo
-# LOCAL HACK
-if [ `hostname` = "ilc23" ]; then
- DEVICES="/dev/sdy /dev/sdo /dev/sdp /dev/sdq /dev/sdr /dev/sds \
- /dev/sdt /dev/sdu /dev/sdv /dev/sdw /dev/sdx"
-else
- DEVICES="/dev/hda"
-fi
-
-echo "${CMDDIR}/zpool/zpool create -F lustre ${DEVICES}"
-${CMDDIR}/zpool/zpool create -F lustre ${DEVICES}
+echo "${CMDDIR}/zpool/zpool create -f lustre ${DEVICES}"
+${CMDDIR}/zpool/zpool create -f lustre ${DEVICES}
echo "${CMDDIR}/zpool/zpool status lustre"
${CMDDIR}/zpool/zpool status lustre
@@ -101,8 +95,8 @@ CMD="${CMDDIR}/zpios/zpios \
--path=lustre \
--chunksize=1M \
--regionsize=4M \
- --regioncount=16384 \
- --threadcount=256,256,256,256,256 \
+ --regioncount=64 \
+ --threadcount=4 \
--offset=4M \
--cleanup \
--verbose \