Messages in this thread | | | Date | Fri, 26 Nov 2010 09:48:14 -0600 (CST) | From | Christoph Lameter <> | Subject | Re: Free memory never fully used, swapping |
| |
On Thu, 25 Nov 2010, KOSAKI Motohiro wrote: > Please try SLAB instead SLUB (it can be switched by kernel build option). > SLUB try to use high order allocation implicitly.
SLAB uses orders 0-1. Order is fixed per slab cache and determined based on object size at slab creation.
SLUB uses orders 0-3. Falls back to smallest order if alloc order cannot be met by the page allocator.
One can reduce SLUB to SLAB orders by specifying the following kernel commandline parameter:
slub_max_order=1
| |