public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: xfs@oss.sgi.com
Subject: Re: [PATCH] scale down 074 on lower end machines
Date: Wed, 21 May 2008 10:15:52 +0200	[thread overview]
Message-ID: <20080521081552.GB2398@lst.de> (raw)
In-Reply-To: <20080515173913.GA11494@lst.de>

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@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
---end quoted text---

  parent reply	other threads:[~2008-05-21  8:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2008-06-03  7:58   ` Christoph Hellwig
2008-06-04  0:33 ` Niv Sardi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080521081552.GB2398@lst.de \
    --to=hch@lst.de \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox