From: Niv Sardi Date: Wed, 4 Jun 2008 04:25:32 +0000 (+0000) Subject: 074 takes ages to complete on my kvm test VM, but scaling it back to the X-Git-Tag: v1.1.0~375 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d36fc6847def57edafcdf3cacbf04ffd7c7ef694;p=xfstests-dev.git 074 takes ages to complete on my kvm test VM, but scaling it back to the level used on IRIX makes it complete in slightly under 10 minutes. I'm not sure if checking for UP vs SMP is the right way to go into slow mode, but I couldn't think of anything better. Signed-off-by: Christoph Hellwig Merge of master-melb:xfs-cmds:31272a by kenmcd. --- diff --git a/074 b/074 index 8165d745..d5e03640 100755 --- a/074 +++ b/074 @@ -120,10 +120,17 @@ if [ $HOSTOS == "IRIX" ]; then param_type="IRIX nondebug" fi elif [ $HOSTOS == "Linux" ]; then - numloops=10 - numfiles=5 - numchildren=3 - param_type="Linux" + if uname -a | grep -q SMP; then + numloops=10 + numfiles=5 + numchildren=3 + param_type="Linux SMP" + else + numloops=2 + numfiles=3 + numchildren=3 + param_type="Linux UP" + fi else numloops=1 numfiles=1