linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Jayaramappa, Srilakshmi" <sjayaram@akamai.com>
To: Andrew Morton <akpm@linux-foundation.org>,
	John Hubbard <jhubbard@nvidia.com>
Cc: Shuah Khan <shuah@kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	"linux-kselftest@vger.kernel.org"
	<linux-kselftest@vger.kernel.org>
Subject: Re: [PATCH 1/1] selftests/vm: 8x compaction_test speedup
Date: Fri, 2 Oct 2020 23:25:25 +0000	[thread overview]
Message-ID: <050F889A-AE47-47E4-8334-0D6FC7170721@akamai.com> (raw)
In-Reply-To: <20201002150520.2ea3db53d88f8d10ba8348c9@linux-foundation.org>


On 10/2/20, 6:05 PM, "Andrew Morton" <akpm@linux-foundation.org> wrote:

    On Fri, 2 Oct 2020 01:06:21 -0700 John Hubbard <jhubbard@nvidia.com> wrote:

    > This patch reduces the running time for compaction_test from about 27
    > sec, to 3.3 sec, which is about an 8x speedup.
    > 
    > These numbers are for an Intel x86_64 system with 32 GB of DRAM.
    > 
    > The compaction_test.c program was spending most of its time doing
    > mmap(), 1 MB at a time, on about 25 GB of memory.
    > 
    > Instead, do the mmaps 100 MB at a time. (Going past 100 MB doesn't make
    > things go much faster, because other parts of the program are using the
    > remaining time.)

    Seems nice.  It's been 5 years, but hopefully Sri is still at Akamai?

    Looks good to me.

    Thanks
    -Sri



      reply	other threads:[~2020-10-02 23:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-02  8:06 [PATCH 0/1] " John Hubbard
2020-10-02  8:06 ` [PATCH 1/1] " John Hubbard
2020-10-02 22:05   ` Andrew Morton
2020-10-02 23:25     ` Jayaramappa, Srilakshmi [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=050F889A-AE47-47E4-8334-0D6FC7170721@akamai.com \
    --to=sjayaram@akamai.com \
    --cc=akpm@linux-foundation.org \
    --cc=jhubbard@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=shuah@kernel.org \
    /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