Re: [LTP] [PATCH] nfs05: Reduce the default number of dirs and files
From: Petr Vorel <pvorel@suse.cz>
Date: 2021-12-08 16:41:50
Hi Martin, [ Cc Alexey ]
The nfs05 test currently creates 1000 .c files per thread and then compiles
them using recursive Makefiles. It needs 6 minutes to finish on my machine which is longer than the default test timeout. Running it on a local filesystem (without NFS) still takes 2 minutes to finish so NFS performance is reasonable. Reduce the default number of test files to 10x30 per thread to avoid timeouts.
Good catch, thanks! Reviewed-by: Petr Vorel <pvorel@suse.cz> Kind regards, Petr
Signed-off-by: Martin Doucha <redacted> --- testcases/network/nfs/nfs_stress/nfs05.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
quoted hunk ↗ jump to hunk
diff --git a/testcases/network/nfs/nfs_stress/nfs05.sh b/testcases/network/nfs/nfs_stress/nfs05.sh index 2742a54e6..7ddf8239e 100755 --- a/testcases/network/nfs/nfs_stress/nfs05.sh +++ b/testcases/network/nfs/nfs_stress/nfs05.sh@@ -8,8 +8,8 @@
# Created by: Robbie Williamson (robbiew@us.ibm.com)
-DIR_NUM=${DIR_NUM:-"20"}
-FILE_NUM=${FILE_NUM:-"50"}
+DIR_NUM=${DIR_NUM:-"10"}
+FILE_NUM=${FILE_NUM:-"30"}
THREAD_NUM=${THREAD_NUM:-"8"}
TST_NEEDS_CMDS="make gcc"
TST_TESTFUNC="do_test"-- Mailing list info: https://lists.linux.it/listinfo/ltp