All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] recipes-kernel: disable more debugs that influence latency performance
@ 2021-09-18  1:08 Hongzhan Chen
  2021-09-18  8:10 ` Philippe Gerum
  2021-10-05 13:09 ` Jan Kiszka
  0 siblings, 2 replies; 3+ messages in thread
From: Hongzhan Chen @ 2021-09-18  1:08 UTC (permalink / raw)
  To: xenomai

For dovetail-based xenomai, max lat may drop from 203.800 us
to 9.807 us in 10 hours stressed latency test on Maxtang 8565U board
with lava test.

diff --git a/recipes-kernel/linux/files/common_nodbg.cfg b/recipes-kernel/linux/files/common_nodbg.cfg
index d7d87c5..29b3522 100644
--- a/recipes-kernel/linux/files/common_nodbg.cfg
+++ b/recipes-kernel/linux/files/common_nodbg.cfg
@@ -1,2 +1,9 @@
 # CONFIG_IPIPE_DEBUG is not set
 # CONFIG_XENO_OPT_DEBUG is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_DEBUG_RT_MUTEXES is not set
+# CONFIG_DEBUG_SPINLOCK is not set
+# CONFIG_DEBUG_MUTEXES is not set
+# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
+# CONFIG_DEBUG_RWSEMS is not set
+# CONFIG_DEBUG_LOCK_ALLOC is not set
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] recipes-kernel: disable more debugs that influence latency performance
  2021-09-18  1:08 [PATCH] recipes-kernel: disable more debugs that influence latency performance Hongzhan Chen
@ 2021-09-18  8:10 ` Philippe Gerum
  2021-10-05 13:09 ` Jan Kiszka
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Gerum @ 2021-09-18  8:10 UTC (permalink / raw)
  To: Hongzhan Chen; +Cc: xenomai


Hongzhan Chen via Xenomai <xenomai@xenomai.org> writes:

> For dovetail-based xenomai, max lat may drop from 203.800 us
> to 9.807 us in 10 hours stressed latency test on Maxtang 8565U board
> with lava test.
>
> diff --git a/recipes-kernel/linux/files/common_nodbg.cfg b/recipes-kernel/linux/files/common_nodbg.cfg
> index d7d87c5..29b3522 100644
> --- a/recipes-kernel/linux/files/common_nodbg.cfg
> +++ b/recipes-kernel/linux/files/common_nodbg.cfg
> @@ -1,2 +1,9 @@
>  # CONFIG_IPIPE_DEBUG is not set
>  # CONFIG_XENO_OPT_DEBUG is not set
> +# CONFIG_PROVE_LOCKING is not set
> +# CONFIG_DEBUG_RT_MUTEXES is not set
> +# CONFIG_DEBUG_SPINLOCK is not set
> +# CONFIG_DEBUG_MUTEXES is not set
> +# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
> +# CONFIG_DEBUG_RWSEMS is not set
> +# CONFIG_DEBUG_LOCK_ALLOC is not set

Maybe it's time to backport the evl-check utility [1] from xenomai4 to
xenomai3, this is a very simple kconfig checker which helps in detecting
problematic settings. One just feeds it with a set of constraints like
[2] in order to perform such detection. FWIW, this command is documented
here.

[1] https://source.denx.de/Xenomai/xenomai4/libevl/-/blob/master/utils/evl-check.c
[2]
https://source.denx.de/Xenomai/xenomai4/libevl/-/blob/master/utils/kconf-checklist.evl
[3] https://evlproject.org/core/commands/#evl-check-command

-- 
Philippe.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] recipes-kernel: disable more debugs that influence latency performance
  2021-09-18  1:08 [PATCH] recipes-kernel: disable more debugs that influence latency performance Hongzhan Chen
  2021-09-18  8:10 ` Philippe Gerum
@ 2021-10-05 13:09 ` Jan Kiszka
  1 sibling, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2021-10-05 13:09 UTC (permalink / raw)
  To: Hongzhan Chen, xenomai

On 18.09.21 03:08, Hongzhan Chen via Xenomai wrote:
> For dovetail-based xenomai, max lat may drop from 203.800 us
> to 9.807 us in 10 hours stressed latency test on Maxtang 8565U board
> with lava test.
> 

Signed-off missing. And please tag such patches with
"[xenomai-images][PATCH]...".

> diff --git a/recipes-kernel/linux/files/common_nodbg.cfg b/recipes-kernel/linux/files/common_nodbg.cfg
> index d7d87c5..29b3522 100644
> --- a/recipes-kernel/linux/files/common_nodbg.cfg
> +++ b/recipes-kernel/linux/files/common_nodbg.cfg
> @@ -1,2 +1,9 @@
>  # CONFIG_IPIPE_DEBUG is not set
>  # CONFIG_XENO_OPT_DEBUG is not set
> +# CONFIG_PROVE_LOCKING is not set
> +# CONFIG_DEBUG_RT_MUTEXES is not set
> +# CONFIG_DEBUG_SPINLOCK is not set
> +# CONFIG_DEBUG_MUTEXES is not set
> +# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
> +# CONFIG_DEBUG_RWSEMS is not set
> +# CONFIG_DEBUG_LOCK_ALLOC is not set
> 

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-05 13:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-18  1:08 [PATCH] recipes-kernel: disable more debugs that influence latency performance Hongzhan Chen
2021-09-18  8:10 ` Philippe Gerum
2021-10-05 13:09 ` Jan Kiszka

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.