xfs
[Top] [All Lists]

Re: [PATCH] scale down 074 on lower end machines

To: xfs@xxxxxxxxxxx
Subject: Re: [PATCH] scale down 074 on lower end machines
From: Christoph Hellwig <hch@xxxxxx>
Date: Wed, 21 May 2008 10:15:52 +0200
In-reply-to: <20080515173913.GA11494@xxxxxx>
References: <20080515173913.GA11494@xxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
ping?

On Thu, May 15, 2008 at 07:39:13PM +0200, Christoph Hellwig wrote:
> 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@xxxxxx>
> 
> 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
---end quoted text---


<Prev in Thread] Current Thread [Next in Thread>