From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f72.google.com (mail-wm0-f72.google.com [74.125.82.72]) by kanga.kvack.org (Postfix) with ESMTP id 5DAAE6B0012 for ; Tue, 27 Mar 2018 13:51:17 -0400 (EDT) Received: by mail-wm0-f72.google.com with SMTP id u68so77207wmd.5 for ; Tue, 27 Mar 2018 10:51:17 -0700 (PDT) Received: from Galois.linutronix.de (Galois.linutronix.de. [2a01:7a0:2:106d:700::1]) by mx.google.com with ESMTPS id b9si1368067wrh.124.2018.03.27.10.51.15 for (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 27 Mar 2018 10:51:16 -0700 (PDT) Date: Tue, 27 Mar 2018 19:51:07 +0200 (CEST) From: Thomas Gleixner Subject: Re: [PATCH 00/11] Use global pages with PTI In-Reply-To: Message-ID: References: <20180323174447.55F35636@viggo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Dave Hansen Cc: Linus Torvalds , Linux Kernel Mailing List , linux-mm , Andrea Arcangeli , Andrew Lutomirski , Kees Cook , Hugh Dickins , =?ISO-8859-15?Q?J=FCrgen_Gro=DF?= , the arch/x86 maintainers , namit@vmware.com On Tue, 27 Mar 2018, Dave Hansen wrote: > On 03/27/2018 06:36 AM, Thomas Gleixner wrote: > >> User Time Kernel Time Clock Elapsed > >> Baseline ( 0 GLB PTEs) 803.79 67.77 237.30 > >> w/series (28 GLB PTEs) 807.70 (+0.7%) 68.07 (+0.7%) 238.07 (+0.3%) > >> > >> Without PCIDs, it behaves the way I would expect. > > What's the performance benefit on !PCID systems? And I mean systems which > > actually do not have PCID, not a PCID system with 'nopcid' on the command > > line. > > Do you have something in mind for this? Basically *all* of the servers > that I have access to have PCID because they are newer than ~7 years old. > > That leaves *some* Ivybridge and earlier desktops, Atoms and AMD AMD is not interesting as it's not PTI and uses GLOBAL anyway. > systems. Atoms are going to be the easiest thing to get my hands on, > but I tend to shy away from them for performance work. What I have in mind is that I wonder whether the whole circus is worth it when there is no performance advantage on PCID systems. Thanks, tglx