From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Andy Whitcroft <apw@shadowen.org>
Cc: Mel Gorman <mel@csn.ul.ie>,
clameter@sgi.com, akpm@linux-foundation.org,
Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: SLUB: Reduce antifrag max order (fwd)
Date: Wed, 09 May 2007 09:55:39 +1000 [thread overview]
Message-ID: <46410DFB.2080507@yahoo.com.au> (raw)
In-Reply-To: <46407DD4.7080101@shadowen.org>
Andy Whitcroft wrote:
> Mel Gorman wrote:
>
>>Sorry for resend, I didn't add Andy to the cc as intended.
>>
>>On Sat, 5 May 2007, Christoph Lameter wrote:
>>
>>
>>>My test systems fails to obtain order 4 allocs after prolonged use.
>>>So the Antifragmentation patches are unable to guarantee order 4
>>>blocks after a while (straight compile, edit load).
>>>
>>
>>Anti-frag still depends on reclaim to take place and I imagine you have
>>not altered min_free_kbytes to keep pages free. Also, I don't think
>>kswapd is currently making any effort to keep blocks free at a known
>>desired order although I'm cc'ing Andy Whitcroft to confirm. As the
>>kernel gives up easily when order > PAGE_ALLOC_COSTLY_ORDER, prehaps you
>>should be using PAGE_ALLOC_COSTLY_ORDER instead of
>>DEFAULT_ANTIFRAG_MAX_ORDER for SLUB.
>
>
> kswapd only reactively uses orders above 0. If allocations are pushing
> below the high water marks those will trigger kswapd to reclaim at their
> highest order. No attempt overall is made to keep "some" higher order
> pages free.
It does try, if you have a look at zone_watermark_ok. But it doesn't
check for pages of a higher order than are being allocated (ie. so
an order-0 alloc could split the last free order-3 page).
This is intentional, because if your workload isn't doing any higher
order allocations, it should not be trying to keep any free.
--
SUSE Labs, Novell Inc.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2007-05-08 23:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-08 13:17 SLUB: Reduce antifrag max order (fwd) Mel Gorman
2007-05-08 13:40 ` Andy Whitcroft
2007-05-08 23:55 ` Nick Piggin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46410DFB.2080507@yahoo.com.au \
--to=nickpiggin@yahoo.com.au \
--cc=akpm@linux-foundation.org \
--cc=apw@shadowen.org \
--cc=clameter@sgi.com \
--cc=linux-mm@kvack.org \
--cc=mel@csn.ul.ie \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.