[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0770a3d4-c8ff-4172-9eda-c9debfee6d03@intel.com>
Date: Wed, 9 Apr 2025 08:24:11 -0700
From: Dave Hansen <dave.hansen@...el.com>
To: Maciej Wieczor-Retman <maciej.wieczor-retman@...el.com>
Cc: hpa@...or.com, hch@...radead.org, nick.desaulniers+lkml@...il.com,
kuan-ying.lee@...onical.com, masahiroy@...nel.org,
samuel.holland@...ive.com, mingo@...hat.com, corbet@....net,
ryabinin.a.a@...il.com, guoweikang.kernel@...il.com, jpoimboe@...nel.org,
ardb@...nel.org, vincenzo.frascino@....com, glider@...gle.com,
kirill.shutemov@...ux.intel.com, apopple@...dia.com,
samitolvanen@...gle.com, kaleshsingh@...gle.com, jgross@...e.com,
andreyknvl@...il.com, scott@...amperecomputing.com, tony.luck@...el.com,
dvyukov@...gle.com, pasha.tatashin@...een.com, ziy@...dia.com,
broonie@...nel.org, gatlin.newhouse@...il.com, jackmanb@...gle.com,
wangkefeng.wang@...wei.com, thiago.bauermann@...aro.org, tglx@...utronix.de,
kees@...nel.org, akpm@...ux-foundation.org, jason.andryuk@....com,
snovitoll@...il.com, xin@...or.com, jan.kiszka@...mens.com, bp@...en8.de,
rppt@...nel.org, peterz@...radead.org, pankaj.gupta@....com,
thuth@...hat.com, andriy.shevchenko@...ux.intel.com,
joel.granados@...nel.org, kbingham@...nel.org, nicolas@...sle.eu,
mark.rutland@....com, surenb@...gle.com, catalin.marinas@....com,
morbo@...gle.com, justinstitt@...gle.com, ubizjak@...il.com,
jhubbard@...dia.com, urezki@...il.com, dave.hansen@...ux.intel.com,
bhe@...hat.com, luto@...nel.org, baohua@...nel.org, nathan@...nel.org,
will@...nel.org, brgerst@...il.com, llvm@...ts.linux.dev,
linux-mm@...ck.org, linux-doc@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org, kasan-dev@...glegroups.com, x86@...nel.org
Subject: Re: [PATCH v3 09/14] x86: Minimal SLAB alignment
On 4/9/25 05:49, Maciej Wieczor-Retman wrote:
> The differences looked mostly like noise, sometimes the higher alignment would
> use up a little bit less memory, sometimes a little bit more. I looked at all
> values in "cat /proc/meminfo".
>
> Is there some slab/slub benchmark for the kernel that would make sense to
> checkout here?
You don't need to benchmark anything. Just mention that it will waste
memory and also give *some* ballpark estimate on how much. Just looking
at your laptop's /proc/slabinfo would be a good start.
Oh, and it wouldn't hurt to find out when and why the minimal slab
alignment got dropped down to 8 bytes. I _thought_ it was higher at some
point. Presumably there was a good reason for it and you're now undoing
part of it.
Powered by blists - more mailing lists