* [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* Re: [PATCH] scale down 074 on lower end machines
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-04 0:33 ` Niv Sardi
2 siblings, 1 reply; 6+ messages in thread
From: David Chinner @ 2008-05-15 22:15 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: xfs
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.
Seems fair - I was wondering exactly the same thing yesterday
as this is another test that takes >15min to run on UML. I didn't
think of the UP vs SMP trigger, but it seems like a good way to
go given all of the real QA boxes we have are SMP.
I'll give it a run and see how it goes.
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] scale down 074 on lower end machines
2008-05-15 22:15 ` David Chinner
@ 2008-05-15 23:26 ` David Chinner
0 siblings, 0 replies; 6+ messages in thread
From: David Chinner @ 2008-05-15 23:26 UTC (permalink / raw)
To: David Chinner; +Cc: Christoph Hellwig, xfs
On Fri, May 16, 2008 at 08:15:10AM +1000, David Chinner wrote:
> 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.
>
> Seems fair - I was wondering exactly the same thing yesterday
> as this is another test that takes >15min to run on UML. I didn't
> think of the UP vs SMP trigger, but it seems like a good way to
> go given all of the real QA boxes we have are SMP.
>
> I'll give it a run and see how it goes.
FWIW - runtime on UML has dropped from 918s to 88s. Very reasonable
now, and makes the maximum single test runtime in UML about 330s....
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] scale down 074 on lower end machines
2008-05-15 17:39 [PATCH] scale down 074 on lower end machines Christoph Hellwig
2008-05-15 22:15 ` David Chinner
@ 2008-05-21 8:15 ` Christoph Hellwig
2008-06-03 7:58 ` Christoph Hellwig
2008-06-04 0:33 ` Niv Sardi
2 siblings, 1 reply; 6+ messages in thread
From: Christoph Hellwig @ 2008-05-21 8:15 UTC (permalink / raw)
To: xfs
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---
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] scale down 074 on lower end machines
2008-05-21 8:15 ` Christoph Hellwig
@ 2008-06-03 7:58 ` Christoph Hellwig
0 siblings, 0 replies; 6+ messages in thread
From: Christoph Hellwig @ 2008-06-03 7:58 UTC (permalink / raw)
To: xfs
ping^2
On Wed, May 21, 2008 at 10:15:52AM +0200, Christoph Hellwig wrote:
> 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---
---end quoted text---
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] scale down 074 on lower end machines
2008-05-15 17:39 [PATCH] scale down 074 on lower end machines Christoph Hellwig
2008-05-15 22:15 ` David Chinner
2008-05-21 8:15 ` Christoph Hellwig
@ 2008-06-04 0:33 ` Niv Sardi
2 siblings, 0 replies; 6+ messages in thread
From: Niv Sardi @ 2008-06-04 0:33 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: xfs
Christoph Hellwig <hch@lst.de> writes:
> 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.
Looks good enough for now.
--
Niv Sardi
^ 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