Update zpios for trivial workload

This commit is contained in:
Brian Behlendorf 2008-11-26 15:48:14 -08:00
parent 62b749c8c8
commit 100eb88b46
1 changed files with 6 additions and 12 deletions

View File

@ -13,6 +13,8 @@ KPIOS_POST=$6
PROFILE_KPIOS_PRE=/home/behlendo/src/zfs/scripts/profile-kpios-pre.sh PROFILE_KPIOS_PRE=/home/behlendo/src/zfs/scripts/profile-kpios-pre.sh
PROFILE_KPIOS_POST=/home/behlendo/src/zfs/scripts/profile-kpios-post.sh PROFILE_KPIOS_POST=/home/behlendo/src/zfs/scripts/profile-kpios-post.sh
DEVICES="/dev/hda"
echo ------------------------- ZFS TEST LOG --------------------------------- echo ------------------------- ZFS TEST LOG ---------------------------------
echo -n "Date = "; date echo -n "Date = "; date
echo -n "Kernel = "; uname -r echo -n "Kernel = "; uname -r
@ -35,16 +37,8 @@ else
fi fi
echo echo
# LOCAL HACK echo "${CMDDIR}/zpool/zpool create -f lustre ${DEVICES}"
if [ `hostname` = "ilc23" ]; then ${CMDDIR}/zpool/zpool create -f lustre ${DEVICES}
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 status lustre" echo "${CMDDIR}/zpool/zpool status lustre"
${CMDDIR}/zpool/zpool status lustre ${CMDDIR}/zpool/zpool status lustre
@ -101,8 +95,8 @@ CMD="${CMDDIR}/zpios/zpios \
--path=lustre \ --path=lustre \
--chunksize=1M \ --chunksize=1M \
--regionsize=4M \ --regionsize=4M \
--regioncount=16384 \ --regioncount=64 \
--threadcount=256,256,256,256,256 \ --threadcount=4 \
--offset=4M \ --offset=4M \
--cleanup \ --cleanup \
--verbose \ --verbose \