From: Mike Galbraith <efault@gmx.de>
To: Emanuele Rocca <ema@debian.org>
Cc: linux-kernel@vger.kernel.org, Michal Hocko <mhocko@suse.com>
Subject: Re: Runtime overhead of PREEMPT_DYNAMIC
Date: Fri, 20 Oct 2023 16:11:43 +0200 [thread overview]
Message-ID: <c6259a1824e570ddb7aaf114656aa387e028b76d.camel@gmx.de> (raw)
In-Reply-To: <ZTKDWnLrSnPs9VUi@ariel>
On Fri, 2023-10-20 at 15:40 +0200, Emanuele Rocca wrote:
> Hi Mike,
>
> Here is the full diff between the kernel configurations I used. The only
> change I made was setting CONFIG_PREEMPT_DYNAMIC=n, everything else was
> a consequence of that AFAICT, but please do let me know if you see
> anything that shouldn't be there.
>
> --- config-6.5.0-0.preempt-dynamic-amd64 2023-10-11 15:30:02.000000000 +0200
> +++ config-6.5.0-0.a.test-amd64 2023-10-11 14:30:02.000000000 +0200
>
> @@ -10597,7 +10596,6 @@
> # end of Scheduler Debugging
>
> # CONFIG_DEBUG_TIMEKEEPING is not set
> -CONFIG_DEBUG_PREEMPT=y
>
> #
> # Lock Debugging (spinlocks, mutexes, etc...)
Seems you had also turned on DEBUG_PREEMPT in the dynamic setup, which
adds some overhead.. but not a metric ton.
-Mike
next prev parent reply other threads:[~2023-10-20 14:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-20 9:14 Emanuele Rocca
2023-10-20 12:42 ` Mike Galbraith
2023-10-20 13:40 ` Emanuele Rocca
2023-10-20 14:11 ` Mike Galbraith [this message]
2023-10-20 14:34 ` Mike Galbraith
2023-10-20 14:45 ` Emanuele Rocca
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=c6259a1824e570ddb7aaf114656aa387e028b76d.camel@gmx.de \
--to=efault@gmx.de \
--cc=ema@debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhocko@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®