linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: David Rientjes <rientjes@google.com>
To: Ben Hutchings <ben@decadent.org.uk>
Cc: Shuah Khan <shuahkh@osg.samsung.com>,
	linux-api@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [PATCH selftests 5/6] selftests: vm: Try harder to allocate huge pages
Date: Tue, 10 Nov 2015 17:11:15 -0800 (PST)	[thread overview]
Message-ID: <alpine.DEB.2.10.1511101710470.19847@chino.kir.corp.google.com> (raw)
In-Reply-To: <1447192104.6006.148.camel@decadent.org.uk>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 768 bytes --]

On Tue, 10 Nov 2015, Ben Hutchings wrote:

> > I know this patch is in -mm and hasn't been merged by Linus yet, but I'm 
> > wondering why the multiple /proc/sys/vm/drop_caches is helping?A  Would it 
> > simply suffice to put a sleep in there instead or is drop_caches actually 
> > doing something useful a second time around?
> 
> Initially I just retried setting nr_hugepages up to 10 times, which
> wasn't sufficient. A Then I added the drop_caches, and after that
> setting nr_hugepages tended to worked first time so I reduced the retry
> count. A It might not be necessary to retry at all.
> 

Ok, thanks.  I was just trying to make sure that the additional 
drop_caches wasn't actually required for the test, in which case we would 
have to fix drop_caches :)

      reply	other threads:[~2015-11-11  1:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1446334510.2595.13.camel@decadent.org.uk>
2015-10-31 23:39 ` Ben Hutchings
2015-11-10 20:01   ` David Rientjes
2015-11-10 20:05     ` Shuah Khan
2015-11-10 21:48     ` Ben Hutchings
2015-11-11  1:11       ` David Rientjes [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=alpine.DEB.2.10.1511101710470.19847@chino.kir.corp.google.com \
    --to=rientjes@google.com \
    --cc=ben@decadent.org.uk \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=shuahkh@osg.samsung.com \
    /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