Received: by 10.213.65.68 with SMTP id h4csp1029261imn; Tue, 27 Mar 2018 13:21:17 -0700 (PDT) X-Google-Smtp-Source: AIpwx49Cqe4zLgDa+UYSarGvWWiNYRkev7O9CUN6eFhBPT3KuQWVYbMtieZLAhJGgCjRFyCNk+oU X-Received: by 10.98.180.24 with SMTP id h24mr565459pfn.213.1522182077769; Tue, 27 Mar 2018 13:21:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522182077; cv=none; d=google.com; s=arc-20160816; b=05qC1Yy6ua4sRX0iks1dEpQy30EjmTpxmsaq8PtsbwBK/FePHMeyPxRNm7JRL+SQcy 0ORNfz+XX6XtQAjuOg+JIGifMkF/kmYUvf5gw8WIuShxHdwDiVaGq0guC9Jz37AiusSM lg72ALTyk+0aAnTwj2urzqQmjgfUXmgIxKQOVzfApaw7qxqEkUNgB/XTx1s2k7RVUEAX S8/hSStBiXcwPcHrEZTusn90gastvZkZrx5paKfWoA6qNV350ifQyX0+JLkGb4xcCqmv qesJW+nG1QUAcb7Hl8PNUhBt6+xUo6zygQj2YyGS7qm/GaLSFMOvPMOBEMkBBeutKwrB uRiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:cc:references:to:subject:arc-authentication-results; bh=Vr0o3Uu7eMd9wTj1r4PHlhGxDnjmmwBLchf9EY5lQQ4=; b=H2u/gIAhOhRDRrjPrhG2yueqMASfmrm1rOqcZlMZeplt8aoZOCZJlOMPs/EGiNZWJe SZW/2lgMU0Vbz7PuX83f+uVO7qtlc+oehRX/ij89ZQFJ7SR+gT4RCSDi14egj1CT/LGi QRMrQXHE5lcZ6u38ejOcCFltJQTbVJ+B3FIgJoRGa1WhLWHCsvcN+ekeAU1dZao35eYY kNkhM36EnhPZ0UpzvDYUML6kYcefrpfuKQUsh/OUY21PtXd84HhmaSB3j99fmhre1Pfk mtRh/QBLdldTJsK/18y0rhCpZBI9P1Kji6ufZ5AFOnC4Pm1hNFnW1ZCMLpipwBAfErxr qMPg== 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 e12si1365499pgv.507.2018.03.27.13.20.47; Tue, 27 Mar 2018 13:21:17 -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 S1751207AbeC0UTn (ORCPT + 99 others); Tue, 27 Mar 2018 16:19:43 -0400 Received: from mga12.intel.com ([192.55.52.136]:36761 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751008AbeC0UTm (ORCPT ); Tue, 27 Mar 2018 16:19:42 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Mar 2018 13:19:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,368,1517904000"; d="scan'208";a="45795143" Received: from ray.jf.intel.com (HELO [10.7.201.16]) ([10.7.201.16]) by orsmga002.jf.intel.com with ESMTP; 27 Mar 2018 13:19:41 -0700 Subject: Re: [PATCH 00/11] Use global pages with PTI To: Ingo Molnar , Thomas Gleixner References: <20180323174447.55F35636@viggo.jf.intel.com> <20180327200719.lvdomez6hszpmo4s@gmail.com> Cc: 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 From: Dave Hansen Message-ID: Date: Tue, 27 Mar 2018 13:19:40 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180327200719.lvdomez6hszpmo4s@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/27/2018 01:07 PM, Ingo Molnar wrote: > - To see at minimum stddev numbers, to make sure we are not looking at some weird > statistical artifact. (I also outlined a more robust measurement method.) > > - If the numbers are right, a CPU engineer should have a look if possible, > because frankly this effect is not expected and is not intuitive. Where global > pages can be used safely they are almost always an unconditional win. > Maybe we are missing some limitation or some interaction with PCID. > > Since we'll be using PCID even on Meltdown-fixed hardware, maybe the same negative > performance effect already exists on non-PTI kernels as well, we just never > noticed? Yep, totally agree. I'll do the more robust collection and also explore on "real" !PCID hardware. I also know the right CPU folks to go ask about this, I just want to do the second round of robust data collection before I bug them.