11/14 -- SUSE Labs, Novell Inc.
Increasing pageset size gives improvements on kbuild on my Xeon. Index: linux-2.6/mm/page_alloc.c =================================================================== --- linux-2.6.orig/mm/page_alloc.c +++ linux-2.6/mm/page_alloc.c @@ -1784,7 +1784,7 @@ inline void setup_pageset(struct per_cpu memset(p, 0, sizeof(*p)); p->count = 0; p->cold_count = 0; - p->high = 6 * batch; + p->high = 16 * batch; p->batch = max(1UL, 1 * batch); INIT_LIST_HEAD(&p->list); }
- Follow-Ups:
- [patch 12/14] mm: variable pcp size
- From: Nick Piggin <[email protected]>
- [patch 12/14] mm: variable pcp size
- References:
- [rfc][patch 0/14] mm: performance improvements
- From: Nick Piggin <[email protected]>
- [patch 1/14] mm: opt rmqueue
- From: Nick Piggin <[email protected]>
- [patch 2/14] mm: pte prefetch
- From: Nick Piggin <[email protected]>
- [patch 3/14] mm: release opt
- From: Nick Piggin <[email protected]>
- [patch 4/14] mm: rmap opt
- From: Nick Piggin <[email protected]>
- [patch 5/14] mm: set_page_refs opt
- From: Nick Piggin <[email protected]>
- [patch 6/14] mm: microopt conditions
- From: Nick Piggin <[email protected]>
- [patch 7/14] mm: remove bad_range
- From: Nick Piggin <[email protected]>
- [patch 8/14] mm: remove pcp_low
- From: Nick Piggin <[email protected]>
- [patch 9/14] mm: page_state opt
- From: Nick Piggin <[email protected]>
- [patch 10/14] mm: single pcp list
- From: Nick Piggin <[email protected]>
- [rfc][patch 0/14] mm: performance improvements
- Prev by Date: [patch 10/14] mm: single pcp list
- Next by Date: Re: [PATCH] tpm: Fix lack of driver_unregister in init failcases
- Previous by thread: [patch 10/14] mm: single pcp list
- Next by thread: [patch 12/14] mm: variable pcp size
- Index(es):