[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <050F889A-AE47-47E4-8334-0D6FC7170721@akamai.com>
Date: Fri, 2 Oct 2020 23:25:25 +0000
From: "Jayaramappa, Srilakshmi" <sjayaram@...mai.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
John Hubbard <jhubbard@...dia.com>
CC: Shuah Khan <shuah@...nel.org>, LKML <linux-kernel@...r.kernel.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"linux-kselftest@...r.kernel.org" <linux-kselftest@...r.kernel.org>
Subject: Re: [PATCH 1/1] selftests/vm: 8x compaction_test speedup
On 10/2/20, 6:05 PM, "Andrew Morton" <akpm@...ux-foundation.org> wrote:
On Fri, 2 Oct 2020 01:06:21 -0700 John Hubbard <jhubbard@...dia.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
Powered by blists - more mailing lists