public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scale down 074 on lower end machines
@ 2008-05-15 17:39 Christoph Hellwig
  2008-05-15 22:15 ` David Chinner
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Christoph Hellwig @ 2008-05-15 17:39 UTC (permalink / raw)
  To: xfs

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 <hch@lst.de>

Index: xfstests/074
===================================================================
RCS file: /cvs/xfs-cmds/xfstests/074,v
retrieving revision 1.7
diff -u -p -r1.7 074
--- xfstests/074	9 Nov 2005 02:49:08 -0000	1.7
+++ xfstests/074	15 May 2008 17:37:03 -0000
@@ -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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-06-04  0:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-15 17:39 [PATCH] scale down 074 on lower end machines Christoph Hellwig
2008-05-15 22:15 ` David Chinner
2008-05-15 23:26   ` David Chinner
2008-05-21  8:15 ` Christoph Hellwig
2008-06-03  7:58   ` Christoph Hellwig
2008-06-04  0:33 ` Niv Sardi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox