[LTP] [PATCH v2] copy_file_range03: comparing timestamp in tst_timespec_diff
Li Wang
liwang@redhat.com
Mon Sep 6 12:42:45 CEST 2021
On Mon, Sep 6, 2021 at 6:37 PM Cyril Hrubis <chrubis@suse.cz> wrote:
> 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.
>
Yes, I'd relax it to 30 sec to see how it performs in real scenarios.
Patch v3 is on the way.
--
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210906/e8d728fd/attachment.htm>
More information about the ltp
mailing list