From: Cyril Hrubis <chrubis@suse.cz>
To: Li Wang <liwang@redhat.com>
Cc: Philip Auld <pauld@redhat.com>, ltp@lists.linux.it
Subject: Re: [LTP] [RFC PATCH] starvation: set a baseline for maximum runtime
Date: Wed, 27 Nov 2024 10:46:12 +0100 [thread overview]
Message-ID: <Z0bqZAiaOo7E3E9I@yuki.lan> (raw)
In-Reply-To: <CAEemH2e3H0w52LKXs+UURdg5dq2bP5dXokWYb98DxHu5qcsOQg@mail.gmail.com>
Hi!
> I have carefully compared the differences between the general
> kernel config-file and the debug kernel config-file.
>
> Below are some configurations that are only enabled in the debug
> kernel and may cause kernel performance degradation.
>
> The rough thoughts I have is to create a SET for those configurations,
> If the SUT kernel maps some of them, we reset the timeout using the
> value multiplier obtained from calibration.
>
> e.g. if mapped N number of the configs we use (timeout * N) as the
> max_runtime.
>
> Or next, we extract this method to the whole LTP timeout setting if
> possible?
That actually sounds good to me, if we detect certain kernel options
that are know to slow down the process execution it makes a good sense
to multiply the timeouts for all tests directly in the test library.
> #Lock debugging:
> CONFIG_PROVE_LOCKING
> CONFIG_LOCKDEP
> CONFIG_DEBUG_SPINLOCK
>
> #Mutex debugging
> CONFIG_DEBUG_RT_MUTEXES=y
> CONFIG_DEBUG_MUTEXES=y
>
> #Memory debugging:
> CONFIG_DEBUG_PAGEALLOC
> CONFIG_KASAN
> CONFIG_SLUB_RCU_DEBUG
>
> #Tracing and profiling:
> CONFIG_TRACE_IRQFLAGS
> CONFIG_LATENCYTOP
> CONFIG_DEBUG_NET
>
> #Filesystem debugging:
> CONFIG_EXT4_DEBUG
> CONFIG_QUOTA_DEBUG
>
> #Miscellaneous debugging:
> CONFIG_FAULT_INJECTION
> CONFIG_DEBUG_OBJECTS
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2024-11-27 9:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-26 10:04 [LTP] [RFC PATCH] starvation: set a baseline for maximum runtime Li Wang
2024-11-26 10:28 ` Cyril Hrubis
2024-11-26 10:59 ` Li Wang
2024-11-26 11:23 ` Cyril Hrubis
2024-11-27 4:15 ` Li Wang
2024-11-27 7:48 ` [LTP] [Draft PATCH] lib: add TST_DYNAMICAL_RUNTIME option Li Wang
2024-11-27 8:21 ` Li Wang
2024-11-27 9:46 ` Cyril Hrubis [this message]
2024-11-27 10:08 ` [LTP] [RFC PATCH] starvation: set a baseline for maximum runtime Li Wang
2024-11-27 10:40 ` Cyril Hrubis
2024-11-27 10:56 ` 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=Z0bqZAiaOo7E3E9I@yuki.lan \
--to=chrubis@suse.cz \
--cc=liwang@redhat.com \
--cc=ltp@lists.linux.it \
--cc=pauld@redhat.com \
/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.