nfs05: Reduce the default number of dirs and files
PATCH 1/1 nfs05: Reduce the default number of dirs and files
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.
--- testcases/network/nfs/nfs_stress/nfs05.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
testcases/network/nfs/nfs_stress/nfs05.sh +2 -2
@@ -8,8 +8,8 @@ # # Created by: Robbie Williamson ([email protected]) -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"
Signature · 5 lines
2.33.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Martin,
[ Cc Alexey ]
Quoted 6 lines
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!
Kind regards,
Petr
Quoted 20 lines
Signed-off-by Martin Doucha <[email protected]>--- testcases/network/nfs/nfs_stress/nfs05.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)testcases/network/nfs/nfs_stress/nfs05.sh +2
-2@@ -8,8 +8,8 @@ # Created by: Robbie Williamson ([email protected]) -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"
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Martin,
Thanks, merged!
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp