Re: [PATCH 1/1] selftests/vm: 8x compaction_test speedup

2020-10-02 Thread Jayaramappa, Srilakshmi
On 10/2/20, 6:05 PM, "Andrew Morton" wrote: On Fri, 2 Oct 2020 01:06:21 -0700 John Hubbard 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

Re: [PATCH 1/1] selftests/vm: 8x compaction_test speedup

2020-10-02 Thread Andrew Morton
On Fri, 2 Oct 2020 01:06:21 -0700 John Hubbard 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

[PATCH 1/1] selftests/vm: 8x compaction_test speedup

2020-10-02 Thread John Hubbard
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.