linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Chen, Kenneth W" <kenneth.w.chen@intel.com>
To: 'Dave Hansen' <haveblue@us.ibm.com>
Cc: 'Badari Pulavarty' <pbadari@gmail.com>,
	stanojr@blackhole.websupport.sk, linux-mm <linux-mm@kvack.org>
Subject: RE: slow hugetlb from 2.6.15
Date: Tue, 27 Jun 2006 15:00:09 -0700	[thread overview]
Message-ID: <000101c69a35$0fee2f90$e234030a@amr.corp.intel.com> (raw)
In-Reply-To: <1151445073.24103.37.camel@localhost.localdomain>

Dave Hansen wrote on Tuesday, June 27, 2006 2:51 PM
> On Tue, 2006-06-27 at 12:23 -0700, Chen, Kenneth W wrote:
> >   Though it is a mystery to
> > see that faulting on hugetlb page is significantly longer than
> > faulting a normal page.
> 
> There's an awful lot more data to zero when allocating a page which is
> 1000 times bigger.  It would be really interesting to see kernel
> profiles, but my money is on clear_huge_page().


I was under the impression that the test code will touch equal amount of
memory for both hugetlb page and normal pages.  Yes, faulting one hugetlb
page will require zeroing 1024 times more memory than a normal page, but
yet it will be 1024 times less of number of page fault.  I was referring
to time required to fault 1 hugetlb page at 4MB versus 1024 normal page
fault at 4KB. I wasn't expecting the former to be longer than the latter.

- Ken

--
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-06-27 22:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-27 18:23 stanojr
2006-06-27 18:47 ` Badari Pulavarty
2006-06-27 19:23   ` Chen, Kenneth W
2006-06-27 21:51     ` Dave Hansen
2006-06-27 22:00       ` Chen, Kenneth W [this message]
2006-06-27 18:51 ` Nish Aravamudan

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='000101c69a35$0fee2f90$e234030a@amr.corp.intel.com' \
    --to=kenneth.w.chen@intel.com \
    --cc=haveblue@us.ibm.com \
    --cc=linux-mm@kvack.org \
    --cc=pbadari@gmail.com \
    --cc=stanojr@blackhole.websupport.sk \
    /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