From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f198.google.com (mail-pf0-f198.google.com [209.85.192.198]) by kanga.kvack.org (Postfix) with ESMTP id 6D77C6B000D for ; Tue, 27 Mar 2018 16:19:43 -0400 (EDT) Received: by mail-pf0-f198.google.com with SMTP id k17so68755pfj.10 for ; Tue, 27 Mar 2018 13:19:43 -0700 (PDT) Received: from mga17.intel.com (mga17.intel.com. [192.55.52.151]) by mx.google.com with ESMTPS id a7si1375690pgn.327.2018.03.27.13.19.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Mar 2018 13:19:42 -0700 (PDT) Subject: Re: [PATCH 00/11] Use global pages with PTI References: <20180323174447.55F35636@viggo.jf.intel.com> <20180327200719.lvdomez6hszpmo4s@gmail.com> From: Dave Hansen Message-ID: Date: Tue, 27 Mar 2018 13:19:40 -0700 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: owner-linux-mm@kvack.org List-ID: To: Ingo Molnar , Thomas Gleixner 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 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.