From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: with ECARTIS (v1.0.0; list xfs); Thu, 15 May 2008 10:38:52 -0700 (PDT) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m4FHcZEn020084 for ; Thu, 15 May 2008 10:38:36 -0700 Received: from verein.lst.de (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 5F86716C797C for ; Thu, 15 May 2008 10:39:20 -0700 (PDT) Received: from verein.lst.de (verein.lst.de [213.95.11.210]) by cuda.sgi.com with ESMTP id SURNLfDpwpSp2GhA for ; Thu, 15 May 2008 10:39:20 -0700 (PDT) Received: from verein.lst.de (localhost [127.0.0.1]) by verein.lst.de (8.12.3/8.12.3/Debian-7.1) with ESMTP id m4FHdDF3011691 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 15 May 2008 19:39:13 +0200 Received: (from hch@localhost) by verein.lst.de (8.12.3/8.12.3/Debian-6.6) id m4FHdDiA011689 for xfs@oss.sgi.com; Thu, 15 May 2008 19:39:13 +0200 Date: Thu, 15 May 2008 19:39:13 +0200 From: Christoph Hellwig Subject: [PATCH] scale down 074 on lower end machines Message-ID: <20080515173913.GA11494@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com List-Id: xfs To: xfs@oss.sgi.com 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 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