public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2] copy_file_range03: comparing timestamp in tst_timespec_diff
Date: Mon, 6 Sep 2021 12:38:00 +0200	[thread overview]
Message-ID: <YTXviHdUSqTaR1hx@yuki> (raw)
In-Reply-To: <CAEemH2frfyGCsZAsam7CgGfW-BC1ah9YQZz=H=meJMM+zrTnAw@mail.gmail.com>

Hi!
> Theoretically, this is correct, but I'm fearing that the process might
> cost more time on performing with different system loads.
> 
> This means 'diff_us <= 2000000' is an unreliable condition to
> many virtual machines. That largely depends on the system
> scheduler at that moment as well.

Right, I guess that we can relax the upper bound, it can be even a
minute and it would still be a good sanity check.

-- 
Cyril Hrubis
chrubis@suse.cz

WARNING: multiple messages have this Message-ID (diff)
From: Cyril Hrubis <chrubis@suse.cz>
To: Li Wang <liwang@redhat.com>
Cc: LTP List <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH v2] copy_file_range03: comparing timestamp in tst_timespec_diff
Date: Mon, 6 Sep 2021 12:38:00 +0200	[thread overview]
Message-ID: <YTXviHdUSqTaR1hx@yuki> (raw)
Message-ID: <20210906103800.Ja3U0FhghIX6NSgOb7lhin6EYLlnrIj4D5cJF8BLeuQ@z> (raw)
In-Reply-To: <CAEemH2frfyGCsZAsam7CgGfW-BC1ah9YQZz=H=meJMM+zrTnAw@mail.gmail.com>

Hi!
> Theoretically, this is correct, but I'm fearing that the process might
> cost more time on performing with different system loads.
> 
> This means 'diff_us <= 2000000' is an unreliable condition to
> many virtual machines. That largely depends on the system
> scheduler at that moment as well.

Right, I guess that we can relax the upper bound, it can be even a
minute and it would still be a good sanity check.

-- 
Cyril Hrubis
chrubis@suse.cz

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

  parent reply	other threads:[~2021-09-06 10:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-06  6:00 [LTP] [PATCH v2] copy_file_range03: comparing timestamp in tst_timespec_diff Li Wang
2021-09-06  6:00 ` Li Wang
2021-09-06  7:54 ` xuyang2018.jy
2021-09-06  7:54   ` xuyang2018.jy
2021-09-06  8:59 ` Cyril Hrubis
2021-09-06  8:59   ` Cyril Hrubis
2021-09-06 10:35   ` Li Wang
2021-09-06 10:35     ` Li Wang
2021-09-06 10:38     ` Cyril Hrubis [this message]
2021-09-06 10:38       ` Cyril Hrubis
2021-09-06 10:42       ` Li Wang
2021-09-06 10:42         ` Li Wang

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=YTXviHdUSqTaR1hx@yuki \
    --to=chrubis@suse.cz \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox