Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Slabtop explanation linux

Status
Not open for further replies.

Chacalinc

Vendor
Sep 2, 2003
2,043
US
Hello everyone

how can I interpret the output of the Slabtop command?
actually, the question is "what are the slabs"? in the meminfo? I can find the explanation about slaptop command, but I don't understand what slab is and represent.

Thank you!


Chacal, Inc.[wavey]
 
The best explanation I have seen so far is here:
Basically, it is a modified form of malloc for the kernel where memory fragmentation could be a real problem. From what I understand, instead of freeing memory, the blocks called slabs are allocated and then sections of them are declared free for use. Slabtop, shows the allocation and usage of these memory slabs.

Unless you are doing kernel development, this is probably not something you will encounter.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top