From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f72.google.com (mail-pg0-f72.google.com [74.125.83.72]) by kanga.kvack.org (Postfix) with ESMTP id B72266B0062 for ; Fri, 30 Mar 2018 16:26:17 -0400 (EDT) Received: by mail-pg0-f72.google.com with SMTP id q9so5767554pgp.16 for ; Fri, 30 Mar 2018 13:26:17 -0700 (PDT) Received: from mga12.intel.com (mga12.intel.com. [192.55.52.136]) by mx.google.com with ESMTPS id j197si3227336pgc.809.2018.03.30.13.26.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Mar 2018 13:26:16 -0700 (PDT) Subject: Re: [PATCH 00/11] Use global pages with PTI References: <20180323174447.55F35636@viggo.jf.intel.com> <20180327200719.lvdomez6hszpmo4s@gmail.com> <0d6ea030-ec3b-d649-bad7-89ff54094e25@linux.intel.com> <20180330120920.btobga44wqytlkoe@gmail.com> <20180330121725.zcklh36ulg7crydw@gmail.com> From: Dave Hansen Message-ID: <3cdc23a2-99eb-6f93-6934-f7757fa30a3e@linux.intel.com> Date: Fri, 30 Mar 2018 13:26:14 -0700 MIME-Version: 1.0 In-Reply-To: <20180330121725.zcklh36ulg7crydw@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Ingo Molnar Cc: Thomas Gleixner , Linus Torvalds , Linux Kernel Mailing List , linux-mm , Andrea Arcangeli , Andrew Lutomirski , Kees Cook , Hugh Dickins , =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= , the arch/x86 maintainers , namit@vmware.com On 03/30/2018 05:17 AM, Ingo Molnar wrote: > BTW., the expectation on !PCID Intel hardware would be for global pages to help > even more than the 0.6% and 1.7% you measured on PCID hardware: PCID already > _reduces_ the cost of TLB flushes - so if there's not even PCID then global pages > should help even more. > > In theory at least. Would still be nice to measure it. I did the lseek test on a modern, non-PCID system: No Global pages (baseline): 6077741 lseeks/sec 94 Global pages (this set): 8433111 lseeks/sec +2355370 lseeks/sec (+38.8%)