netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] tools/vm/slabinfo: Add fragmentation output
@ 2019-04-26  2:26 Tobin C. Harding
  2019-04-26  2:26 ` [PATCH 1/4] tools/vm/slabinfo: Order command line options Tobin C. Harding
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tobin C. Harding @ 2019-04-26  2:26 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Tobin C. Harding, Jesper Dangaard Brouer, Pekka Enberg,
	Vlastimil Babka, Christoph Lameter, David Rientjes, Joonsoo Kim,
	Tejun Heo, Qian Cai, Linus Torvalds, Mel Gorman, Alexander Duyck,
	Michal Hocko, Brendan Gregg, linux-mm, netdev, linux-kernel

Hi,

During recent discussion on LKML over SLAB vs SLUB it was suggested by
Jesper that it would be nice to have a tool to view the current
fragmentation of the slab allocators.  CC list for this set is taken
from that thread. 

For SLUB we have all the information for this already exposed by the
kernel and also we have a userspace tool for displaying this info:

	tools/vm/slabinfo.c

Extend slabinfo to improve the  fragmentation information by enabling
sorting of caches by number of partial slabs.

Also add cache list sorted in this manner to the output of `slabinfo -X`.

thanks,
Tobin.


Tobin C. Harding (4):
  tools/vm/slabinfo: Order command line options
  tools/vm/slabinfo: Add partial slab listing to -X
  tools/vm/slabinfo: Add option to sort by partial slabs
  tools/vm/slabinfo: Add sorting info to help menu

 tools/vm/slabinfo.c | 118 ++++++++++++++++++++++++++------------------
 1 file changed, 70 insertions(+), 48 deletions(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-26  2:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-26  2:26 [PATCH 0/4] tools/vm/slabinfo: Add fragmentation output Tobin C. Harding
2019-04-26  2:26 ` [PATCH 1/4] tools/vm/slabinfo: Order command line options Tobin C. Harding
2019-04-26  2:26 ` [PATCH 2/4] tools/vm/slabinfo: Add partial slab listing to -X Tobin C. Harding
2019-04-26  2:26 ` [PATCH 3/4] tools/vm/slabinfo: Add option to sort by partial slabs Tobin C. Harding
2019-04-26  2:26 ` [PATCH 4/4] tools/vm/slabinfo: Add sorting info to help menu Tobin C. Harding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).