Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


Search this Thread
Old 08-04-2011, 06:12 AM   #1
LQ Newbie
Registered: Mar 2011
Posts: 23

Rep: Reputation: 0
SLAB vs SLUB Allocator

There are two main types of memory allocators namely SLAB & SLUB.
What are the differences between the two?
Suggest some possible scenarios where each of them can be used.

Old 08-04-2011, 06:18 AM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,353

Rep: Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042
Old 08-04-2011, 06:25 AM   #3
LQ Newbie
Registered: Mar 2011
Posts: 23

Original Poster
Rep: Reputation: 0
Hi syg00,

Absolutely not homework.

Kindly give some clue regarding the difference between SLAB & SLUB?

Old 08-04-2011, 07:24 AM   #4
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
looks like homework to me too. If you told us a bit more about what you've done so far, and what you're trying to achieve, then it will sound less like homework.

Until then, a very very very quick google brings this that looks like a possible answer:



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel bug in linux/mm/slub.c bweaver Debian 1 08-02-2011 06:41 AM
Slab Allocator prabagaranvt Linux - Kernel 2 06-25-2011 12:54 AM
How to release glib's slab memory allocator(in gslice.c)? kcynice Programming 0 06-10-2010 11:03 PM
how to turn on the slob allocator Vikneels Linux - General 2 07-14-2009 04:37 PM
LXer: Anatomy of the Linux Slab Allocator LXer Syndicated Linux News 0 05-16-2007 03:46 PM

All times are GMT -5. The time now is 03:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration