All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Li Wang <liwang@redhat.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 2/2] mmap3: reset runtime to 10s
Date: Fri, 20 May 2022 13:05:25 +0200	[thread overview]
Message-ID: <Yod19WafdD4AIdrg@yuki> (raw)
In-Reply-To: <20220520083627.2499121-3-liwang@redhat.com>

Hi!
> As we have removed the "-x" support from this test, there is no way to
> reduce running time by multiply small float number.

Actually the -x has been replaced by -I so we may as well change the
runtest file to pass -I instead.

On the other hand I guess that the original runtime was way too long for
a default value.

> Let's set 10 seconds for the max_runtime (approximately equal to -x 0.002).

If we are touching the code we may as well pick slightly longer
interval, what about a minute so that we have chance to do some testing
even on slower targets?

> Signed-off-by: Li Wang <liwang@redhat.com>
> ---
>  runtest/mm                           | 2 +-
>  testcases/kernel/mem/mtest06/mmap3.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/runtest/mm b/runtest/mm
> index 6537666a9..4ecb61f24 100644
> --- a/runtest/mm
> +++ b/runtest/mm
> @@ -16,7 +16,7 @@ mtest01w mtest01 -p80 -w
>  mtest05   mmstress
>  mtest06   mmap1
>  mtest06_2 mmap2 -x 0.002 -a -p
> -mtest06_3 mmap3 -x 0.002 -p
> +mtest06_3 mmap3 -p
>  # Remains diabled till the infinite loop problem is solved
>  #mtest-6_4 shmat1 -x 0.00005
>  
> diff --git a/testcases/kernel/mem/mtest06/mmap3.c b/testcases/kernel/mem/mtest06/mmap3.c
> index 6d47b01e7..3064f5cf7 100644
> --- a/testcases/kernel/mem/mtest06/mmap3.c
> +++ b/testcases/kernel/mem/mtest06/mmap3.c
> @@ -182,5 +182,5 @@ static struct tst_test test = {
>  	.setup = setup,
>  	.cleanup = cleanup,
>  	.test_all = test_mmap,
> -	.max_runtime = 86400,
> +	.max_runtime = 10,
>  };
> -- 
> 2.31.1
> 
> 
> -- 
> Mailing list info: https://lists.linux.it/listinfo/ltp

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2022-05-20 11:03 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-12 12:37 [LTP] [PATCH v3 00/29] Introduce runtime and conver tests Cyril Hrubis
2022-05-12 12:37 ` [LTP] [PATCH v3 01/29] Introduce a concept of max runtime Cyril Hrubis
2022-05-14  4:21   ` Li Wang
2022-05-24  9:25   ` [LTP] [Automated-testing] " Richard Palethorpe
2022-05-12 12:37 ` [LTP] [PATCH v3 02/29] mtest06/mmap1: Convert to runtime Cyril Hrubis
2022-05-12 12:37 ` [LTP] [PATCH v3 03/29] mtest06/mmap3: " Cyril Hrubis
2022-05-12 12:37 ` [LTP] [PATCH v3 04/29] mtest01/mtest01: " Cyril Hrubis
2022-05-12 12:37 ` [LTP] [PATCH v3 05/29] cve/cve-2015-3290: " Cyril Hrubis
2022-05-12 12:37 ` [LTP] [PATCH v3 06/29] crypto/af_alg02: " Cyril Hrubis
2022-05-12 12:37 ` [LTP] [PATCH v3 07/29] crypto/pcrypt_aead01: " Cyril Hrubis
2022-05-12 12:37 ` [LTP] [PATCH v3 08/29] syscalls/clock_gettime01: Remove useless timeout Cyril Hrubis
2022-05-12 12:37 ` [LTP] [PATCH v3 09/29] syscalls/fanotify22: " Cyril Hrubis
2022-05-12 12:37 ` [LTP] [PATCH v3 10/29] syscalls/gettimeofday02: Convert to runtime Cyril Hrubis
2022-05-12 12:37 ` [LTP] [PATCH v3 11/29] syscalls/inotify06: " Cyril Hrubis
2022-05-12 12:37 ` [LTP] [PATCH v3 12/29] syscalls/inotify01: Remove now useless timeout Cyril Hrubis
2022-05-12 12:38 ` [LTP] [PATCH v3 13/29] syscalls/perf_event_open03: Convert to runtime Cyril Hrubis
2022-05-12 12:38 ` [LTP] [PATCH v3 14/29] syscalls/readv01: Remove now useless timeout Cyril Hrubis
2022-05-12 12:38 ` [LTP] [PATCH v3 15/29] syscalls/tgkill03: Remove now unused timeout Cyril Hrubis
2022-05-12 12:38 ` [LTP] [PATCH v3 16/29] syscalls/setsockopt09: Remove now useless timeout Cyril Hrubis
2022-05-12 12:38 ` [LTP] [PATCH v3 17/29] syscalls/userfaultfd01: " Cyril Hrubis
2022-05-12 12:38 ` [LTP] [PATCH v3 18/29] syscalls/move_pages12: Convert to runtime Cyril Hrubis
2022-05-12 12:38 ` [LTP] [PATCH v3 19/29] syscalls/rt_sigqueueinfo01: Remove now useless timeout Cyril Hrubis
2022-05-12 12:38 ` [LTP] [PATCH v3 20/29] mem/mallocstress: Convert to runtime Cyril Hrubis
2022-05-12 12:38 ` [LTP] [PATCH v3 21/29] mem/{oom, min_free_kbytes}: " Cyril Hrubis
2022-05-12 12:38 ` [LTP] [PATCH v3 22/29] fuzzy_sync: " Cyril Hrubis
2022-05-13  9:13   ` Li Wang
2022-05-13 12:20     ` Cyril Hrubis
2022-05-13 13:08       ` Li Wang
2022-05-13 14:22         ` Cyril Hrubis
2022-05-14  2:59           ` Li Wang
2022-05-16  7:52           ` Richard Palethorpe
2022-05-17 10:56             ` Cyril Hrubis
2022-05-17 11:07               ` [LTP] [Automated-testing] " Petr Vorel
2022-05-17 12:28               ` [LTP] " Li Wang
2022-05-18  7:47                 ` Li Wang
2022-05-19  9:05                   ` Cyril Hrubis
2022-05-19 10:02                     ` Li Wang
2022-05-19 10:27                       ` Cyril Hrubis
2022-05-19 10:29                         ` Li Wang
2022-05-19 12:01                           ` Cyril Hrubis
2022-05-24  9:24                             ` Richard Palethorpe
2022-05-12 12:38 ` [LTP] [PATCH v3 23/29] ltp-aiodio/dio_sparse, aiodio_sparse: " Cyril Hrubis
2022-05-12 12:38 ` [LTP] [PATCH v3 24/29] ltp-aiodio/read_checkzero: Remove Cyril Hrubis
2022-05-12 12:38 ` [LTP] [PATCH v3 25/29] ltp-aiodio/dio_{truncate, append}: Convert to runtime Cyril Hrubis
2022-05-12 12:38 ` [LTP] [PATCH v3 26/29] ltp-aiodio/dio_read: " Cyril Hrubis
2022-05-24  8:36   ` Petr Vorel
2022-05-12 12:38 ` [LTP] [PATCH v3 27/29] timer_test: " Cyril Hrubis
2022-05-12 12:38 ` [LTP] [PATCH v3 28/29] ltp-aiodio/aiodio_append: " Cyril Hrubis
2022-05-12 12:38 ` [LTP] [PATCH v3 29/29] tst_test: Remove timeout stubs Cyril Hrubis
2022-05-20  8:36 ` [LTP] [PATCH 0/2] two follow up fix for Introduce-of-max-runtime Li Wang
2022-05-20  8:36   ` [LTP] [PATCH 1/2] testcases: make use of runtime Li Wang
2022-05-20 11:03     ` Cyril Hrubis
2022-05-20 11:15       ` Li Wang
2022-05-20  8:36   ` [LTP] [PATCH 2/2] mmap3: reset runtime to 10s Li Wang
2022-05-20 11:05     ` Cyril Hrubis [this message]
2022-05-20 11:24       ` Li Wang
2022-05-20 12:18   ` [LTP] [PATCH 0/2] two follow up fix for Introduce-of-max-runtime Cyril Hrubis
2022-05-20 12:51     ` Li Wang
2022-05-20 12:55       ` Petr Vorel
2022-05-24  8:39 ` [LTP] [PATCH v3 00/29] Introduce runtime and conver tests Petr Vorel
2022-05-24  8:41 ` 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=Yod19WafdD4AIdrg@yuki \
    --to=chrubis@suse.cz \
    --cc=liwang@redhat.com \
    --cc=ltp@lists.linux.it \
    /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.