[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1011260943220.12265@router.home>
Date: Fri, 26 Nov 2010 09:48:14 -0600 (CST)
From: Christoph Lameter <cl@...ux.com>
To: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
cc: Simon Kirby <sim@...tway.ca>, Mel Gorman <mel@....ul.ie>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel <linux-kernel@...r.kernel.org>, linux-mm@...ck.org
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists