From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-f177.google.com (mail-qc0-f177.google.com [209.85.216.177]) by kanga.kvack.org (Postfix) with ESMTP id 931B56B0035 for ; Wed, 5 Mar 2014 17:21:02 -0500 (EST) Received: by mail-qc0-f177.google.com with SMTP id w7so1925116qcr.8 for ; Wed, 05 Mar 2014 14:21:02 -0800 (PST) Received: from mail-qa0-x22d.google.com (mail-qa0-x22d.google.com [2607:f8b0:400d:c00::22d]) by mx.google.com with ESMTPS id o92si2019067qgd.107.2014.03.05.14.21.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Mar 2014 14:21:01 -0800 (PST) Received: by mail-qa0-f45.google.com with SMTP id hw13so1678049qab.18 for ; Wed, 05 Mar 2014 14:21:01 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1393625931-2858-1-git-send-email-quning@google.com> References: <1393625931-2858-1-git-send-email-quning@google.com> From: Ning Qu Date: Wed, 5 Mar 2014 14:20:41 -0800 Message-ID: Subject: Re: [PATCH 0/1] mm, shmem: map few pages around fault address if they are in page cache Content-Type: multipart/alternative; boundary=001a1139b8768f30e004f3e36f23 Sender: owner-linux-mm@kvack.org List-ID: To: Linus Torvalds , Andrew Morton , Mel Gorman , Rik van Riel , "Kirill A. Shutemov" Cc: Andi Kleen , Matthew Wilcox , Dave Hansen , Alexander Viro , Dave Chinner , Ning Qu , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Ning Qu --001a1139b8768f30e004f3e36f23 Content-Type: text/plain; charset=UTF-8 Sorry for the delay, here comes the new results from usemem which Kirill used in the previous patch. Tested on Xeon machine with 64GiB of RAM, using the current default fault order 4. Sequential access 16GiB file Baseline with-patch 1 thread minor fault 4,194,406 262,194 time, seconds 6.38 5.08 8 thread minor fault 33,554,768 3,466,150 time, seconds 10.92 7.33 32 thread minor fault 134,220,140 8,450,265 time, seconds 40.77 34.24 60 thread minor fault 251,661,943 15,790,478 time, seconds 77.23 65.19 120 thread minor fault 503,330,421 31,578,717 time, seconds 143.11 130.58 Random access 16GiB file Baseline with-patch 1 thread minor fault 263,568 16,667 time, seconds 10.08 10.57 8 thread minor fault 2,097,700 184,134 time, seconds 13.65 13.66 32 thread minor fault 8,389,948 579,089 time, seconds 39.44 38.56 60 thread minor fault 15,733,099 1,019,478 time, seconds 73.67 72.63 120 thread minor fault 31,467,940 2,009,898 time, seconds 148.48 145.81 --001a1139b8768f30e004f3e36f23 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sorry for the delay, here comes the new results from usemem which Ki= rill used in the previous patch.

Te= sted on Xeon machine with 64GiB of RAM, using the current default fault=C2= =A0order= 4.

Sequential access 16GiB file
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 Baseline =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0with-patch
1 thread=
=C2=A0 =C2=A0 minor fault =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 4,194,406 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 262,194
=C2=A0 =C2=A0 t= ime, seconds =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A06.38 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A05.08

8 thread
=C2=A0 =C2=A0 m= inor fault =C2=A0 =C2=A0 =C2=A0 =C2=A0 33,554,768 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A03,466,150
=C2=A0= =C2=A0 time, seconds =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A010.92 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 7.33

= 32 thread
<= span style=3D"font-size:13px;font-family:arial,sans-serif">=C2=A0 =C2=A0 mi= nor fault =C2=A0 =C2=A0 =C2=A0 134,220,140 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A08,450,265
=C2=A0 =C2=A0 t= ime, seconds =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 40.77 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A034.24

60 thread =C2=A0 =C2=A0 m= inor fault =C2=A0 =C2=A0 =C2=A0 251,661,943 =C2=A0 =C2=A0 =C2=A0 =C2=A015,7= 90,478
=C2=A0 =C2=A0 time,= seconds =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 77.23 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A065.19

120 thread
=C2= =A0 =C2=A0 minor fault =C2=A0 =C2=A0 =C2=A0 503,330,421 =C2=A0 =C2=A0 =C2= =A0 =C2=A031,578,717
=C2=A0 =C2=A0 t= ime, seconds =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0143.11 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0130.58

Random access 16GiB file
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 Baseline =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0with-pa= tch
1 thread
=C2=A0 =C2=A0 m= inor fault =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0263,568 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 16,667
=C2=A0 =C2=A0 time, seconds =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A010.08 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 10.57

8 thread
=C2=A0 =C2=A0 minor fault = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 2,097,700 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0184,134
=C2=A0 =C2=A0 t= ime, seconds =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A013.65 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 13.66

32 thread
=C2=A0 =C2=A0 m= inor fault =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A08,389,948 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 579,089
=C2=A0 =C2=A0 time, seconds =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 39.44 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A038.56

60 thread
=C2=A0 =C2= =A0 minor fault =C2=A0 =C2=A0 =C2=A0 =C2=A015,733,099 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 1,019,478
=C2=A0 =C2=A0 t= ime, seconds =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 73.67 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 72.63

120 thread=
=C2=A0 =C2=A0 m= inor fault =C2=A0 =C2=A0 =C2=A0 =C2=A031,467,940 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 2,009,898
=C2= =A0 =C2=A0 time, seconds =C2=A0 =C2=A0 =C2=A0 =C2=A0 148.48 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0145.81

--001a1139b8768f30e004f3e36f23-- -- 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: email@kvack.org