Linux Test Project
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Cyril Hrubis <chrubis@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] tst_kconfig: Don't consider CONFIG_FAULT_INJECTION slow
Date: Mon, 22 Jun 2026 09:36:00 +0200	[thread overview]
Message-ID: <20260622073600.GA19589@pevik> (raw)
In-Reply-To: <afxZ7QDu7Kju1rp3@yuki.lan>

Hi all,

> Hi!
> > I didn't use fault injection extensively, but I read that when verbose mode is
> > enabled we might have a big slowdown, so I wouldn't skip this check.

> > Eventually, we can implement a check that verifies if fault injection is enabled
> > with a high verbosity. That would probably make more sense.

> In this case the fault injection looks like something that you have to
> configure before use so I would assume that anyone who configure this
> can also adjust the LTP multipliers.

> Maybe we can just print TINFO message that the config is on and may
> slown donw the execution instead?

What do you mean by "slow down the execution"?

Anyway, I'd really like to get this solved, not only due 4x longer runtime by
default on Tumbleweed (in case of sigkill test really hangs for 2 mins)

tst_kconfig.c:753: TINFO: CONFIG_FAULT_INJECTION kernel option detected which might slow the execution
tst_test.c:1870: TINFO: Overall timeout per run is 0h 02m 00s

but on other machines due slow worker with setup LTP_TIMEOUT_MUL=2 we get even
4 min (8x longer wasted time)
tst_kconfig.c:753: TINFO: CONFIG_FAULT_INJECTION kernel option detected which might slow the execution
tst_test.c:1870: TINFO: Overall timeout per run is 0h 04m 00s

Nobody complained that he's actively using CONFIG_FAULT_INJECTION and needed
this setup, but we are really hit by this. That's why I took a simple approach
to ignore CONFIG_FAULT_INJECTION.

Kind regards,
Petr

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

      reply	other threads:[~2026-06-22  7:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-16 12:40 [LTP] [PATCH] tst_kconfig: Don't consider CONFIG_FAULT_INJECTION slow Petr Vorel
2026-03-17 12:38 ` Andrea Cervesato via ltp
2026-03-17 22:51   ` Petr Vorel
2026-05-07  9:22   ` Cyril Hrubis
2026-06-22  7:36     ` Petr Vorel [this message]

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=20260622073600.GA19589@pevik \
    --to=pvorel@suse.cz \
    --cc=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