Bug#972709: Wishlist/RFC: Change to CONFIG_PREEMPT_NONE in linux-image-cloud-*
- To: Noah Meyerhans <noahm@debian.org>, 972709@bugs.debian.org
- Cc: Flavio Veloso Soares <flaviovs@magnux.com>, Ben Hutchings <ben@decadent.org.uk>
- Subject: Bug#972709: Wishlist/RFC: Change to CONFIG_PREEMPT_NONE in linux-image-cloud-*
- From: Salvatore Bonaccorso <carnil@debian.org>
- Date: Thu, 20 Feb 2025 10:31:43 +0100
- Message-id: <[🔎] Z7b2fxgdARSYD99Y@eldamar.lan>
- Reply-to: Salvatore Bonaccorso <carnil@debian.org>, 972709@bugs.debian.org
- In-reply-to: <20201123014922.GA26417@doom.morgul.net>
- References: <b7aad91f-31c1-89cf-075a-56402f4b81ce@magnux.com> <303ebe0e4f9a10001c183f6eb6c789aa930c82f7.camel@decadent.org.uk> <e95d04dd-8513-cf52-c1d6-b608d053b3ac@magnux.com> <52725d08fdaaffb773dc4955a4efc8f8ac22a40c.camel@decadent.org.uk> <b7aad91f-31c1-89cf-075a-56402f4b81ce@magnux.com> <0fa1b744-11a4-d459-06e1-2d49e3276ec8@magnux.com> <b7aad91f-31c1-89cf-075a-56402f4b81ce@magnux.com> <20201123014922.GA26417@doom.morgul.net> <b7aad91f-31c1-89cf-075a-56402f4b81ce@magnux.com>
Hi,
On Sun, Nov 22, 2020 at 05:49:22PM -0800, Noah Meyerhans wrote:
> On Sun, Nov 22, 2020 at 03:53:32PM -0800, Flavio Veloso Soares wrote:
> > Unfortunately, I couldn't find many comprehensive benchmarks of kernel
> > CONFIG_PREEMPT* options. The one at
> > [1]https://www.codeblueprint.co.uk/2019/12/23/linux-preemption-latency-throughput.html
> > seems to be very thorough,
> >
> > [...]
> >
> > Not particularly. I'm used to latency benchmarks showing e.g. average,
> > 90th percentile, 99th percentile, as well as worst.
>
> I don't think Ben was talking about specific benchmarks. The web page
> you cites lacks basic measurements one would expect to see from *any*
> meaningful performance benchmark. Comparing maximum latency is fine,
> but it's not really relevant by itself. If a configuration change
> improves the worst case (100th percentile) but negatively impacts the
> 50th percentile, is that a change worth making? Maybe. But without
> having that data at all, the benchmark really isn't worth much at all.
>
> It's totally reasonable for us to consider making this change, but we
> should have comprehensive data about the impact of doing so. What
> impact does the change have on different classes of workloads? e.g.
> high tps, CPU-bound, IO-bound, etc. It's entirely possible that the
> proposed change improves performance under certain workloads, but
> negatively impacts others. Without knowing the impact in more in more
> detail, which would allow us to evaluate the tradeoffs, I don't think
> there's a compelling reason to make a change.
I think with setting CONFIG_PREEMPT_LAZY since 6.13.2-1~exp1 we can
close this wishlist bug with that version?
Regards,
Salvatore
Reply to: