* [PATCH] btrfs: Update quick and auto tag for btrfs group
@ 2016-07-21 2:06 Qu Wenruo
2016-07-21 7:47 ` Eryu Guan
0 siblings, 1 reply; 3+ messages in thread
From: Qu Wenruo @ 2016-07-21 2:06 UTC (permalink / raw)
To: linux-btrfs, fstests
Update the following quick/auto tag based on their execution time
007
011
050
100
101
Two systems are used to determine their execution time.
One is backed by an SATA spinning rust, whose maximum R/W speed is
about 100MB/s, modern desktop performance. (VM1)
Another one is a VM inside a openstack pool, with stronger CPU and
memory performance along with high latency storage.
Maximum R/W speed is around 150MB/s, latency is much higher than normal
HDD though. (VM2)
The 'quick' standard is a little more restrict, only when both systems
pass the test within 30s(+/- 10%), while 'auto' is less restrict, any
system can pass within 5min(+/- 10%) will still stay in 'auto' group.
Other test cases don't fit both standards on both systems will not be
modified.
Execution time result: (Unit: seconds)
------------------------------------------------------
Test case No. | VM1 | VM2 | Modification |
------------------------------------------------------
007 | 4 | 2 | +quick |
011 | 669 | 1748 | -auto |
050 | 4 | 13 | +quick |
100 | 57 | 151 | -quick |
101 | 45 | 59 | -quick |
------------------------------------------------------
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
---
tests/btrfs/group | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/btrfs/group b/tests/btrfs/group
index a21a80a..b4f1334 100644
--- a/tests/btrfs/group
+++ b/tests/btrfs/group
@@ -9,11 +9,11 @@
004 auto rw metadata
005 auto defrag
006 auto quick
-007 auto rw metadata send
+007 auto quick rw metadata send
008 auto quick send
009 auto quick subvol
010 auto quick defrag
-011 auto replace
+011 replace
012 auto convert
013 auto quick balance
014 auto balance
@@ -52,7 +52,7 @@
047 auto quick send
048 auto quick
049 auto quick
-050 auto send
+050 auto quick send
051 auto quick send
052 auto quick clone
053 auto quick send
@@ -102,8 +102,8 @@
097 auto quick send clone
098 auto quick metadata clone
099 auto quick qgroup
-100 auto quick replace
-101 auto quick replace
+100 auto replace
+101 auto replace
102 auto quick metadata enospc
103 auto quick clone compress
104 auto qgroup
--
2.9.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] btrfs: Update quick and auto tag for btrfs group
2016-07-21 2:06 [PATCH] btrfs: Update quick and auto tag for btrfs group Qu Wenruo
@ 2016-07-21 7:47 ` Eryu Guan
2016-07-21 7:54 ` Qu Wenruo
0 siblings, 1 reply; 3+ messages in thread
From: Eryu Guan @ 2016-07-21 7:47 UTC (permalink / raw)
To: Qu Wenruo; +Cc: linux-btrfs, fstests
On Thu, Jul 21, 2016 at 10:06:07AM +0800, Qu Wenruo wrote:
> Update the following quick/auto tag based on their execution time
> 007
> 011
> 050
> 100
> 101
>
> Two systems are used to determine their execution time.
> One is backed by an SATA spinning rust, whose maximum R/W speed is
> about 100MB/s, modern desktop performance. (VM1)
>
> Another one is a VM inside a openstack pool, with stronger CPU and
> memory performance along with high latency storage.
> Maximum R/W speed is around 150MB/s, latency is much higher than normal
> HDD though. (VM2)
>
> The 'quick' standard is a little more restrict, only when both systems
> pass the test within 30s(+/- 10%), while 'auto' is less restrict, any
> system can pass within 5min(+/- 10%) will still stay in 'auto' group.
>
> Other test cases don't fit both standards on both systems will not be
> modified.
>
> Execution time result: (Unit: seconds)
> ------------------------------------------------------
> Test case No. | VM1 | VM2 | Modification |
> ------------------------------------------------------
> 007 | 4 | 2 | +quick |
> 011 | 669 | 1748 | -auto |
> 050 | 4 | 13 | +quick |
> 100 | 57 | 151 | -quick |
> 101 | 45 | 59 | -quick |
> ------------------------------------------------------
Hmm, I'm a bit hesitated to take this. We usually try to make new tests
run quick enough to fit auto/quick group, or reduce the run time of
existing tests if they're taking too long time (e.g. 86c1b55 xfs/042:
reduce runtime of the test).
But we usually don't remove 'auto' group from a test just because of
test time, so we don't lose test coverage, especially when the test is
potent. (I think btrfs/011 is one of these potent tests, it finds
hang/crash/failure from time to time. BTW, btrfs/011 took 210s on my
test vm, which has 4vcpu and 8G memory.)
I think the "<30s <5m" rule is more like a guidance, not a hard rule.
But 007 and 050 clearly belong to 'quick' group.
Thanks,
Eryu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] btrfs: Update quick and auto tag for btrfs group
2016-07-21 7:47 ` Eryu Guan
@ 2016-07-21 7:54 ` Qu Wenruo
0 siblings, 0 replies; 3+ messages in thread
From: Qu Wenruo @ 2016-07-21 7:54 UTC (permalink / raw)
To: Eryu Guan; +Cc: linux-btrfs, fstests
At 07/21/2016 03:47 PM, Eryu Guan wrote:
> On Thu, Jul 21, 2016 at 10:06:07AM +0800, Qu Wenruo wrote:
>> Update the following quick/auto tag based on their execution time
>> 007
>> 011
>> 050
>> 100
>> 101
>>
>> Two systems are used to determine their execution time.
>> One is backed by an SATA spinning rust, whose maximum R/W speed is
>> about 100MB/s, modern desktop performance. (VM1)
>>
>> Another one is a VM inside a openstack pool, with stronger CPU and
>> memory performance along with high latency storage.
>> Maximum R/W speed is around 150MB/s, latency is much higher than normal
>> HDD though. (VM2)
>>
>> The 'quick' standard is a little more restrict, only when both systems
>> pass the test within 30s(+/- 10%), while 'auto' is less restrict, any
>> system can pass within 5min(+/- 10%) will still stay in 'auto' group.
>>
>> Other test cases don't fit both standards on both systems will not be
>> modified.
>>
>> Execution time result: (Unit: seconds)
>> ------------------------------------------------------
>> Test case No. | VM1 | VM2 | Modification |
>> ------------------------------------------------------
>> 007 | 4 | 2 | +quick |
>> 011 | 669 | 1748 | -auto |
>> 050 | 4 | 13 | +quick |
>> 100 | 57 | 151 | -quick |
>> 101 | 45 | 59 | -quick |
>> ------------------------------------------------------
>
> Hmm, I'm a bit hesitated to take this. We usually try to make new tests
> run quick enough to fit auto/quick group, or reduce the run time of
> existing tests if they're taking too long time (e.g. 86c1b55 xfs/042:
> reduce runtime of the test).
>
> But we usually don't remove 'auto' group from a test just because of
> test time, so we don't lose test coverage, especially when the test is
> potent. (I think btrfs/011 is one of these potent tests, it finds
> hang/crash/failure from time to time. BTW, btrfs/011 took 210s on my
> test vm, which has 4vcpu and 8G memory.)
>
> I think the "<30s <5m" rule is more like a guidance, not a hard rule.
>
> But 007 and 050 clearly belong to 'quick' group.
>
> Thanks,
> Eryu
Right, 011 is really helpful, so I'm OK to keep the 'auto' tag.
I'll update the patch soon.
Thanks,
Qu
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-07-21 7:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-21 2:06 [PATCH] btrfs: Update quick and auto tag for btrfs group Qu Wenruo
2016-07-21 7:47 ` Eryu Guan
2016-07-21 7:54 ` Qu Wenruo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.