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---
|