[2/2] nfs06: decrease number of processes per fsstress run

Message ID 1522926355-18029-2-git-send-email-alexey.kodanev@oracle.com
State Accepted
Delegated to: Alexey Kodanev
Headers show
Series
  • [1/2] lib/test_net.sh: lower default test parameters
Related show

Commit Message

Alexey Kodanev April 5, 2018, 11:05 a.m.
From 50 to 10. It multiplies by number of mounts and
can slow test execution significantly.

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
---
 testcases/network/nfs/nfs_stress/nfs06 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Petr Vorel April 5, 2018, 1:43 p.m. | #1
Hi Alexey,

> From 50 to 10. It multiplies by number of mounts and
> can slow test execution significantly.

> Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
> ---
>  testcases/network/nfs/nfs_stress/nfs06 |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

> diff --git a/testcases/network/nfs/nfs_stress/nfs06 b/testcases/network/nfs/nfs_stress/nfs06
> index eb35157..33c2d5a 100755
> --- a/testcases/network/nfs/nfs_stress/nfs06
> +++ b/testcases/network/nfs/nfs_stress/nfs06
> @@ -34,7 +34,7 @@ do_test()
>  	local n=0
>  	local pids
>  	for i in $VERSION; do
> -		fsstress -l 1 -d $TST_TMPDIR/$i/$n -n 1000 -p 50 -r -c > /dev/null &
> +		fsstress -l 1 -d $TST_TMPDIR/$i/$n -n 1000 -p 10 -r -c > /dev/null &
>  		pids="$pids $!"
>  		n=$(( n + 1 ))
>  	done

Acked-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr

Patch

diff --git a/testcases/network/nfs/nfs_stress/nfs06 b/testcases/network/nfs/nfs_stress/nfs06
index eb35157..33c2d5a 100755
--- a/testcases/network/nfs/nfs_stress/nfs06
+++ b/testcases/network/nfs/nfs_stress/nfs06
@@ -34,7 +34,7 @@  do_test()
 	local n=0
 	local pids
 	for i in $VERSION; do
-		fsstress -l 1 -d $TST_TMPDIR/$i/$n -n 1000 -p 50 -r -c > /dev/null &
+		fsstress -l 1 -d $TST_TMPDIR/$i/$n -n 1000 -p 10 -r -c > /dev/null &
 		pids="$pids $!"
 		n=$(( n + 1 ))
 	done