Re: [PATCH v3 09/14] x86: Minimal SLAB alignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux