From: Emanuele Rocca <ema@debian.org>
To: Mike Galbraith <efault@gmx.de>
Cc: linux-kernel@vger.kernel.org, Michal Hocko <mhocko@suse.com>
Subject: Re: Runtime overhead of PREEMPT_DYNAMIC
Date: Fri, 20 Oct 2023 16:45:06 +0200 [thread overview]
Message-ID: <ZTKScoO9kz_LxNMG@ariel> (raw)
In-Reply-To: <15e4768144a74b093ad5a43f6e5c263fd98775fb.camel@gmx.de>
On 2023-10-20 04:34, Mike Galbraith wrote:
> Hm, I don't recall the overhead as being that bad, but thar she blows.
>
> i7-4790 avg cmdline
> 6.5.8-voluntary 3685.08 3679.93 3704.98 3689.99 1.000
> 6.5.8-dynamic 3571.62 3568.61 3550.55 3563.59 .965
> 3052.06 3032.74 3019.93 3034.91 .822 +DEBUG_PREEMPT
> 3651.37 3599.87 3615.18 3622.14 .981 preempt=none
> 3459.58 3514.09 3539.88 3504.51 .949 preempt=full
Perfect, that's in line with my measurements (~20% overhead). Debian
kernels have CONFIG_DEBUG_PREEMPT=y, it seems wise to set it to 'n'
instead. Thank you.
prev parent reply other threads:[~2023-10-20 14:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-20 9:14 Runtime overhead of PREEMPT_DYNAMIC Emanuele Rocca
2023-10-20 12:42 ` Mike Galbraith
2023-10-20 13:40 ` Emanuele Rocca
2023-10-20 14:11 ` Mike Galbraith
2023-10-20 14:34 ` Mike Galbraith
2023-10-20 14:45 ` Emanuele Rocca [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=ZTKScoO9kz_LxNMG@ariel \
--to=ema@debian.org \
--cc=efault@gmx.de \
--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