[Devel] [PATCH RH8 08/11] configs: disable cpu partial slab support
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Jun 7 13:22:39 MSK 2021
i will skip this patch for now, it requires prior perf testing to decide if it's needed in vz8.
Perf task for that: https://jira.sw.ru/browse/PSBM-130475
--
Best regards,
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
On 06/04/2021 05:45 PM, Andrey Zhadchenko wrote:
> From: Konstantin Khorenko <khorenko at virtuozzo.com>
>
> Cpu partial slab support had been made configurable by commit
> e0e16ab86019 ("ms/slub: Make cpu partial slab support configurable")
>
> Let's disable it because setting SLUB_CPU_PARTIAL=n saves us about a 1G
> in dvd-store test.
>
> https://jira.sw.ru/browse/PSBM-83199
>
> Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
>
> (cherry-picked from 401a588e9a3a759fb7a92aa8eab0ec96f058c9fa)
> Signed-off-by: Andrey Zhadchenko <andrey.zhadchenko at virtuozzo.com>
>
> diff --git a/configs/kernel-4.18.0-x86_64-KVM-minimal.config b/configs/kernel-4.18.0-x86_64-KVM-minimal.config
> index b78e5cc..b5d987e 100644
> --- a/configs/kernel-4.18.0-x86_64-KVM-minimal.config
> +++ b/configs/kernel-4.18.0-x86_64-KVM-minimal.config
> @@ -268,7 +268,7 @@ CONFIG_SLAB_MERGE_DEFAULT=y
> CONFIG_SLAB_FREELIST_RANDOM=y
> # CONFIG_SLAB_FREELIST_HARDENED is not set
> CONFIG_SHUFFLE_PAGE_ALLOCATOR=y
> -CONFIG_SLUB_CPU_PARTIAL=y
> +# CONFIG_SLUB_CPU_PARTIAL is not set
> CONFIG_SYSTEM_DATA_VERIFICATION=y
> CONFIG_PROFILING=y
> CONFIG_TRACEPOINTS=y
> diff --git a/configs/kernel-4.18.0-x86_64-debug.config b/configs/kernel-4.18.0-x86_64-debug.config
> index 78421b4..5e3bdbc 100644
> --- a/configs/kernel-4.18.0-x86_64-debug.config
> +++ b/configs/kernel-4.18.0-x86_64-debug.config
> @@ -270,7 +270,7 @@ CONFIG_SLAB_MERGE_DEFAULT=y
> CONFIG_SLAB_FREELIST_RANDOM=y
> # CONFIG_SLAB_FREELIST_HARDENED is not set
> CONFIG_SHUFFLE_PAGE_ALLOCATOR=y
> -CONFIG_SLUB_CPU_PARTIAL=y
> +# CONFIG_SLUB_CPU_PARTIAL is not set
> CONFIG_SYSTEM_DATA_VERIFICATION=y
> CONFIG_PROFILING=y
> CONFIG_TRACEPOINTS=y
> diff --git a/configs/kernel-4.18.0-x86_64.config b/configs/kernel-4.18.0-x86_64.config
> index 1cc4583..f6a71cb 100644
> --- a/configs/kernel-4.18.0-x86_64.config
> +++ b/configs/kernel-4.18.0-x86_64.config
> @@ -267,7 +267,7 @@ CONFIG_SLAB_MERGE_DEFAULT=y
> CONFIG_SLAB_FREELIST_RANDOM=y
> # CONFIG_SLAB_FREELIST_HARDENED is not set
> CONFIG_SHUFFLE_PAGE_ALLOCATOR=y
> -CONFIG_SLUB_CPU_PARTIAL=y
> +# CONFIG_SLUB_CPU_PARTIAL is not set
> CONFIG_SYSTEM_DATA_VERIFICATION=y
> CONFIG_PROFILING=y
> CONFIG_TRACEPOINTS=y
>
More information about the Devel
mailing list