LWN.net Logo

Re: [PATCH 00 of 41] Transparent Hugepage Support #17

From:  Linus Torvalds <torvalds-AT-linux-foundation.org>
To:  Andrea Arcangeli <aarcange-AT-redhat.com>
Subject:  Re: [PATCH 00 of 41] Transparent Hugepage Support #17
Date:  Mon, 5 Apr 2010 18:38:35 -0700 (PDT)
Cc:  Pekka Enberg <penberg-AT-cs.helsinki.fi>, Ingo Molnar <mingo-AT-elte.hu>, Andrew Morton <akpm-AT-linux-foundation.org>, linux-mm-AT-kvack.org, Marcelo Tosatti <mtosatti-AT-redhat.com>, Adam Litke <agl-AT-us.ibm.com>, Avi Kivity <avi-AT-redhat.com>, Izik Eidus <ieidus-AT-redhat.com>, Hugh Dickins <hugh.dickins-AT-tiscali.co.uk>, Nick Piggin <npiggin-AT-suse.de>, Rik van Riel <riel-AT-redhat.com>, Mel Gorman <mel-AT-csn.ul.ie>, Dave Hansen <dave-AT-linux.vnet.ibm.com>, Benjamin Herrenschmidt <benh-AT-kernel.crashing.org>, Mike Travis <travis-AT-sgi.com>, KAMEZAWA Hiroyuki <kamezawa.hiroyu-AT-jp.fujitsu.com>, Christoph Lameter <cl-AT-linux-foundation.org>, Chris Wright <chrisw-AT-sous-sol.org>, bpicco-AT-redhat.com, KOSAKI Motohiro <kosaki.motohiro-AT-jp.fujitsu.com>, Balbir Singh <balbir-AT-linux.vnet.ibm.com>, Arnd Bergmann <arnd-AT-arndb.
Archive-link:  Article, Thread



On Tue, 6 Apr 2010, Andrea Arcangeli wrote:
>
> In short I first measured the page fault improvement in host (~+50%
> faster, sure that has nothing to do with pmd_huge or the tlb miss, I
> said I mentioned it just for curiosity in fact), then measured the tlb
> miss improvement in host (a few percent faster as usual with
> hugetlbfs) then measured the boost in guest if host uses hugepages
> (with no guest kernel change at all, just the tlb miss going faster in
> guest and that boosts the guest kernel compile 6%) and then some other
> test with dd with all combinations of host/guest using hugepages or
> not, and also with dd run on bare metal with or without hugepages.

Yeah, sorry. I misread your email - I noticed that 6% improvement for 
something that looked like a workload I might actually _care_ about, and 
didn't track the context enough to notice that it was just for the "host 
is using hugepages" case.

So I thought it was a more interesting load than it was. The 
virtualization "TLB miss is expensive" load I can't find it in myself to 
care about. "Get a better CPU" is my answer to that one,

			Linus

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



(Log in to post comments)

Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds