Re: Free memory never fully used, swapping

From: Christoph Lameter
Date: Fri Nov 26 2010 - 10:48:22 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/