lkml.org 
[lkml]   [2012]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 21/21] mm: zone lru vectors interleaving
> +config PAGE_LRU_SPLIT
> + int "Memory lru lists per zone"
> + default 4 if EXPERIMENTAL && SPARSEMEM_VMEMMAP
> + default 1
> + help
> + The number of lru lists in each memory zone for interleaving.
> + Allows to redeuce lru_lock contention, but adds some overhead.
> + Without SPARSEMEM_VMEMMAP might be costly. "1" means no split.

Could you turn those two numbers into a boot option? Compile time
parameters are nasty to use.

I suppose it's ok to have an upper limit.

> +
> +config PAGE_LRU_INTERLEAVING
> + int "Memory lru lists interleaving page-order"
> + default 12
> + help
> + Page order for lru lists interleaving. By default 12 (16Mb).
> + Must be greater than huge-page order.
> + With CONFIG_PAGE_LRU_SPLIT=1 has no effect.

-Andi


\
 
 \ /
  Last update: 2012-02-23 17:23    [W:0.331 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site