Re: [PATCH v4 00/35] SLUB: reduce irq disabled scope and make it RT compatible
From: Sebastian Andrzej Siewior
Date: Thu Aug 05 2021 - 12:42:28 EST
On 2021-08-05 17:19:25 [+0200], Vlastimil Babka wrote:
> Hi Andrew,
> I believe the series is ready for mmotm. No known bugs, Mel found no !RT perf
> regressions in v3 , Mike also (details below). RT guys validated it on RT
> config and already incorporated the series in the RT tree.
Correct, incl. the percpu-partial list fix.
> RT configs showed some throughput regressions, but that's expected tradeoff for
> the preemption improvements through the RT mutex. It didn't prevent the v2 to
> be incorporated to the 5.13 RT tree , leading to testing exposure and
There was throughput regression in RT compared to previous releases
(without this series). The regression was (based on my testing) only
visible in hackbench and was addressed by adding adaptiv spinning to
RT-mutex. With that we almost back to what we had before :)
> The remaining patches to upstream from the RT tree are small ones related to
> KConfig. The patch that restricts PREEMPT_RT to SLUB (not SLAB or SLOB) makes
> sense. The patch that disables CONFIG_SLUB_CPU_PARTIAL with PREEMPT_RT could
> perhaps be re-evaluated as the series addresses some latency issues with it.
With your rework CONFIG_SLUB_CPU_PARTIAL can be enabled in RT since
v5.14-rc3-rt1. So it has been re-evaluated :)
Regarding SLAB/SLOB: SLOB has a few design parts which are incompatible
with RT (if my memory suits me so it was never attempted to get it
working). SLAB was used before SLUB and required a lot of love. SLUB
performed better compared to SLAB (in both throughput and latency) and
after a while the SLAB patches were dropped.