linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
To: Mel Gorman <mel@csn.ul.ie>
Cc: Joel Schopp <jschopp@austin.ibm.com>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	lhms-devel@lists.sourceforge.net
Subject: Re: [PATCH 0/5] Reducing fragmentation using zones
Date: Fri, 20 Jan 2006 10:18:00 +0900	[thread overview]
Message-ID: <43D03A48.8090105@jp.fujitsu.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0601200011190.15823@skynet>

Mel Gorman wrote:
> To satisfy this request, I did a quick rebase of the list-based approach
> against 2.6.16-rc1-mm1 to have a comparable set of benchmarks. I will post
> the patches in the morning after a re-read.
> 
Thank you.


> So, in terms of performance on this set of tests, both approachs perform
> roughly the same as the stock kernel in terms of absolute performance. In
> terms of high-order allocations, zone-based appears to do better under
> load. However, if you look at the zones that are used, you will see that
> zone-based appears to do as well as list-based *only* because it has the
> EASYRCLM zone to play with. list-based was way better at keeping the
> normal zone defragmented as well as highmem which is especially obvious
> when tested at rest.  list-based was able to allocate 83 huge pages from
> ZONE_NORMAL at rest while zone-based only managed 8.
> 
yes, this is intersiting point :)
list-based one can defrag NORMAL zone.
The point will be "does we need to defrag NORMAL ?" , I think.
IMHO, I don't like to use NORMAL zone to alloc higher-order pages...

> Secondly, zone-based requires careful configuration to be successful.  If
> booted with kernelcore=896MB for example, it only performs slightly better
> than the standard kernel. If booted with kernelcore=1024MB, it tends to
> perform slightly worse (more zone fallbacks I guess) and still only
> manages slighly better satisfaction of high order pages.
This is because HIGHMEM is too small, right ?


> On the flip side, zone-based code changes are easier to understand than
> the list-based ones (at least in terms of volume of code changes). The
> zone-based gives guarantees on what will happen in the future while
> list-based is best-effort.
> 
> In terms of fragmentation, I still think that list-based is better overall
> without configuration. 
I agree here.

>The results above also represent the best possible
> configuration with zone-based versus no configuration at all against
> list-based. In an environment with changing workloads a constant reality,
> I bet that list-based would win overall.
> 
On x86, NORMAL is only 896M anyway. there is no discussion.


Honestly, I don't have enough experience with machines which doesn't have Highmem.
How large kernelcore should be ?
It looks using list-based and zone-based at the same time will make all people happy...

-- Kame

--
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>

  reply	other threads:[~2006-01-20  1:18 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-19 19:08 Mel Gorman
2006-01-19 19:08 ` [PATCH 1/5] Add __GFP_EASYRCLM flag and update callers Mel Gorman
2006-01-19 19:08 ` [PATCH 2/5] Create the ZONE_EASYRCLM zone Mel Gorman
2006-01-19 19:09 ` [PATCH 3/5] x86 - Specify amount of kernel memory at boot time Mel Gorman
2006-01-19 19:09 ` [PATCH 4/5] ppc64 " Mel Gorman
2006-01-19 19:09 ` [PATCH 5/5] ForTesting - Prevent OOM killer firing for high-order allocations Mel Gorman
2006-01-19 19:24 ` [PATCH 0/5] Reducing fragmentation using zones Joel Schopp
2006-01-20  0:13   ` [Lhms-devel] " KAMEZAWA Hiroyuki
2006-01-20  1:09     ` Mel Gorman
2006-01-20  1:25       ` KAMEZAWA Hiroyuki
2006-01-20  9:44         ` Mel Gorman
2006-01-20 10:40           ` KAMEZAWA Hiroyuki
2006-01-20 14:53             ` Mel Gorman
2006-01-20 18:10               ` Kamezawa Hiroyuki
2006-01-20 12:08           ` Yasunori Goto
2006-01-20 12:25             ` Mel Gorman
2006-01-20 13:22               ` Yasunori Goto
2006-01-20  0:42   ` Mel Gorman
2006-01-20  1:18     ` KAMEZAWA Hiroyuki [this message]
2006-01-20 12:03       ` Mel Gorman
2006-01-20 13:28         ` [Lhms-devel] " Yasunori Goto
2006-01-20 14:02           ` Mel Gorman

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=43D03A48.8090105@jp.fujitsu.com \
    --to=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=jschopp@austin.ibm.com \
    --cc=lhms-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox