Re: Major regression on hackbench with SLUB (more numbers)

Christoph Lameter
2007-12-24T19:21:25Z

On Sun, 23 Dec 2007, Theodore Tso wrote:

> > tends to work reasonably well for a quick overview, but yes
> > cat was nicer for humans.
>
> Until you start to wonder what the heck :a-0000136 is:
>
> /sys/slab/:a-0000136/objs_per_slab: 30
>
> Sigh...

That is why there is a slabinfo tool that does all the nice formatting.

Do a

gcc -o slabinfo Documentation/vm/slabinfo.c

Then run slabinfo instead of doing cat /proc/slabinfo