From: Petr Vorel <pvorel@suse.cz>
To: Martin Doucha <mdoucha@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] nfs05: Reduce the default number of dirs and files
Date: Wed, 8 Dec 2021 17:41:35 +0100 [thread overview]
Message-ID: <YbDgP7TwyOje2ax/@pevik> (raw)
In-Reply-To: <20211208150034.16358-1-mdoucha@suse.cz>
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 <mdoucha@suse.cz>
> ---
> testcases/network/nfs/nfs_stress/nfs05.sh | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> 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
next prev parent reply other threads:[~2021-12-08 16:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-08 15:00 [LTP] [PATCH] nfs05: Reduce the default number of dirs and files Martin Doucha
2021-12-08 16:41 ` Petr Vorel [this message]
2021-12-09 20:06 ` Petr Vorel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YbDgP7TwyOje2ax/@pevik \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
--cc=mdoucha@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.