Received: by 10.213.65.68 with SMTP id h4csp903422imn; Tue, 27 Mar 2018 10:54:07 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+0hno4OBoyKa1duDnTtRP0AwKYjDNFSNhGswhhgrcVQLhnyxTfjluziaNLgnX39MIJGYPY X-Received: by 2002:a17:902:2ac3:: with SMTP id j61-v6mr294929plb.224.1522173247335; Tue, 27 Mar 2018 10:54:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522173247; cv=none; d=google.com; s=arc-20160816; b=TOZf2BgLc6A65rNSefK/fz3DBOgDItLKuzGANHGIfs5X+M1gvPm8Fshn+DEXrNs3bh Vg1FW4QjHCA/uCWassJRviYu8IsY4Vx0bKD6sq6xDRj+osLHsUr1eHaTAq8WzNe8Jh9c lqkKqQ9AH/+mcGh4j5i3cCJaDSSRtKZkGk61NbNcuMVSHV4MrvUvhLzaPEV7VQmV+Vwk bJ9V/o3HMQYM/gYGXhKIeQoe5C3Kz/E/ePTK8FOvc13YjEn9V5Ei5KYkT6iakI9P0cCj gY0GeA5q3sXBpv2iTUsB7QH38UWI2vwcxCCYtSoXMPR7Y2qS2gOJGwkQZQjmkJnozjkU sG+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=2XxZ5//IVHL70Wt6WPVS9vqnuPnox4M9t9rE4jh33M0=; b=cby3KvRYs7WdB1FNqYhUdB+TEFZKpM/dATMtXnY8qrrgxJB8kR4PQxrdAdQHXQ1Wew Yo/6/8i0x0+/dmyn6Xgb4yribEOUunlBfSPU8TudKBORT+JgyKrDEVR1rrt9t8kM6E2H Uq27nec1IkvfFHUcXRCIWSPGx4kqu4+CyqNKISsUgdRvBRHBdC5MJRsYqiTmdKR3pOKh yb5wBeUw/JEUWZAkGdyx5SBF95D2IhKfsEFjp2nhOAu1UaRAKwUqDnnLVM6U1vYucVEI nOM6hEYuOnQU7X0Gv/tCyJ7aJLOdmiqnlhKZpa5GUo7Th0MrNgFuwXL0tn5AJym+Zomt 4pxw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f5-v6si1492877plr.243.2018.03.27.10.53.52; Tue, 27 Mar 2018 10:54:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753228AbeC0RvQ (ORCPT + 99 others); Tue, 27 Mar 2018 13:51:16 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:48665 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752123AbeC0RvP (ORCPT ); Tue, 27 Mar 2018 13:51:15 -0400 Received: from p4fea5f09.dip0.t-ipconnect.de ([79.234.95.9] helo=nanos.glx-home) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1f0skZ-000666-7z; Tue, 27 Mar 2018 19:51:11 +0200 Date: Tue, 27 Mar 2018 19:51:07 +0200 (CEST) From: Thomas Gleixner 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 Subject: Re: [PATCH 00/11] Use global pages with PTI In-Reply-To: Message-ID: References: <20180323174447.55F35636@viggo.jf.intel.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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