From d36fc6847def57edafcdf3cacbf04ffd7c7ef694 Mon Sep 17 00:00:00 2001 From: Niv Sardi Date: Wed, 4 Jun 2008 04:25:32 +0000 Subject: [PATCH] 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. --- 074 | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) 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 -- 2.39.5