From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it, Martin Doucha <mdoucha@suse.cz>,
Cyril Hrubis <chrubis@suse.cz>, Li Wang <liwang@redhat.com>,
Andrea Cervesato <andrea.cervesato@suse.com>
Cc: Alexey Kodanev <akodanev@gmail.com>
Subject: Re: [LTP] [PATCH 1/1] net: tst_netload_compare(): Ignore performance failures
Date: Tue, 19 Dec 2023 14:08:01 +0100 [thread overview]
Message-ID: <20231219130801.GA341613@pevik> (raw)
In-Reply-To: <20231219124942.GA340080@pevik>
> Hi all,
[ Cc Alexey, see
https://lore.kernel.org/ltp/20231219123709.339435-1-pvorel@suse.cz/
https://patchwork.ozlabs.org/project/ltp/patch/20231219123709.339435-1-pvorel@suse.cz/
]
> > Performance failures in tests which use tst_netload_compare() (tests in
> > runtest/net.features) can hide a real error (e.g. test fails due missing
> > required kernel module). Best solution would be to have feature tests
> > (likely written in C API) and performance tests (the current ones).
> > But until it happens, just disable performance failure by default,
> > print TINFO message instead unless TST_NET_FEATURES_TEST_PERFORMANCE=1
> > environment variable is set.
> NOTE: why is this enabled by default? IMHO it's more important to have feature
> tests than performance tests often failing and thus hiding feature test.
> Even introducing some LTP_TIMEOUT_MUL like variable would not help in case SUT
> performance differs (sometimes SUTs are ok, other time slow due QEMU host which
> runs SUTs is overbooked).
I knew there is some variable for performance tuning of network feature
tests: VIRT_PERF_THRESHOLD_MIN. But again, if the performance of the QEMU host
varies, the value must be set too high, which can hide the failure on broken
system which is idle. IMHO these tests should be run 2x - just feature tests
then with properly VIRT_PERF_THRESHOLD_MIN.
And, also VIRT_PERF_THRESHOLD_MIN is used only in virt_lib.sh, but
tst_netload_compare() which can fail due performance is used also in other
tests, e.g. sctp01.sh. That's why I think it's better to disable performance by
default.
Kind regards,
Petr
> Kind regards,
> Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2023-12-19 13:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-19 12:37 [LTP] [PATCH 1/1] net: tst_netload_compare(): Ignore performance failures Petr Vorel
2023-12-19 12:49 ` Petr Vorel
2023-12-19 13:08 ` Petr Vorel [this message]
2024-01-02 17:07 ` Martin Doucha
2024-01-02 21:19 ` 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=20231219130801.GA341613@pevik \
--to=pvorel@suse.cz \
--cc=akodanev@gmail.com \
--cc=andrea.cervesato@suse.com \
--cc=chrubis@suse.cz \
--cc=liwang@redhat.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox