[lkml]   [2008]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] procfs: provide slub's /proc/slabinfo

On Sat, 2008-01-05 at 18:21 +0200, Pekka J Enberg wrote:
> Hi Matt,
> On Thu, 3 Jan 2008, Matt Mackall wrote:
> > > SLUB can align these without a 2 byte
> > > overhead. In some configurations this results in SLUB using even less
> > > memory than SLOB. See f.e. Pekka's test at
> > >
> >
> > Available memory after boot is not a particularly stable measurement and
> > not valid if there's memory pressure. At any rate, I wasn't able to
> > reproduce this.
> So, I have this silly memory profiler derived from the kleak patches by
> the relayfs people and would love to try it out on an embedded workload
> where SLUB memory footprint is terrible. Any suggestions?

Or you could use this (which is a bit broken on modern kernels, but
provides lots of interesting detail):

I don't have any particular "terrible" workloads for SLUB. But my
attempts to simply boot with all three allocators to init=/bin/bash in,
say, lguest show a fair margin for SLOB.

Mathematics is the supreme nostalgia of our time.

 \ /
  Last update: 2008-01-06 18:55    [W:0.077 / U:1.392 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site