Received: by 10.223.185.116 with SMTP id b49csp5157063wrg; Tue, 27 Feb 2018 08:38:50 -0800 (PST) X-Google-Smtp-Source: AH8x225ik4GjX7MbLEo8ymoVzlu5yPPXFjvYEkdIijVScvgq8FnXv9Wrcmw9SH/zmnLovVeBzcmx X-Received: by 2002:a17:902:624:: with SMTP id 33-v6mr15125226plg.126.1519749530870; Tue, 27 Feb 2018 08:38:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519749530; cv=none; d=google.com; s=arc-20160816; b=oa6tiElTgGOEA/cBlpIUp2tAqYON+UXm7NCeIw/Lmmbw5/23hG6uA5uhE7rWuMfC3w BNoOKqZsQ20cW+3mFXM/I58fw8zq100AnraItAlr2k2zmj5ItReBRoyFTWAzsyMEb3u9 Lzi6Xzl5LxxrkzoYwRGc1O3aZWqVzeGj8qZWVMLEixRkODRtKeKVaZOH6o9gUUQt6fUo v6vEiblIwVLwJ95zfWKeXsB9T4W6tZ82MFxqag6jNFKc21ZIosjsoDypwZD7g3DqiOeJ CaraaA3Sh7ZKJjpeyrLcyDPv3gIWYcWkfLRxxv96vmXWRmhC3N97XIdBpwTRYg+XsjSh 3O6g== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=LnYst8H49uAmECIdHCSY83Yv4/fnIMKqcp9tP1jzUtk=; b=JHVyWMEtiC5Xn/eqbOCm88nGCqR2n7g7EXpF/MzEIeJqU2aNUu0dkSgXZb4z3W6XTd 9lwHnPY0errMsLxswkpjs3h8so8i5GneeSGtO74aE1XtdKyJqTR0vWw2748pb6zBaQv1 SFXDgOOPsgVsHt1wPuEKnGGVc9PPmf8vvjm5xxuhCO8nR8RWOhjMj0sjJRMYdr3WpdGW SlgdrVMcLskGTPLOxoz4mV2YiDPR1T0gZXHd8YkFUGTPCKpNQ5KkPrqZp2JZk4TyPop9 i29OSBcvXahmnOGFS27jgrQ2FyRfH+QtnfteSvaX596CUVK2Yws2Nwhnsp0o429HetxD fHNw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4-v6si8804107plp.253.2018.02.27.08.38.36; Tue, 27 Feb 2018 08:38:50 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932126AbeB0P1z (ORCPT + 99 others); Tue, 27 Feb 2018 10:27:55 -0500 Received: from mail-qk0-f180.google.com ([209.85.220.180]:46421 "EHLO mail-qk0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752930AbeB0P1x (ORCPT ); Tue, 27 Feb 2018 10:27:53 -0500 Received: by mail-qk0-f180.google.com with SMTP id 130so19170843qkd.13 for ; Tue, 27 Feb 2018 07:27:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=LnYst8H49uAmECIdHCSY83Yv4/fnIMKqcp9tP1jzUtk=; b=pKKUXv0W6NV20hEngY+MgDsphO68TEUpXjGvZNJt3Sy8289ucN46+vYp/AUTdn61jr oYTmrKN/PV55B/Y6icR/78jcNXOGH9qopowZ9ALpwqW6pYWvVc59qvZyT1gFLN69sSy6 xUCxgyUUwxsy7U2SCeTzxfvnJH0H1qfUNayalsz9RGYfH5GZ8q+Sc+7t0t8vJbewBeqk aCm5PP708kje6lm/3b5i1rnvZusxr4mo+8bA8I7ZVM/TQ+VHDGshzX/9cMMx/IuGZF1T A+bWISjLlDce6t70mVKKLLdaPXIVA3evC1FTKXKUrTMXSntYlUsTd7YXtO0NEuymXegT qJtA== X-Gm-Message-State: APf1xPD4n4M1MJbVCuvbIKa8imKLzqw6B30RovU94EGZucx8iRk15YWG uCNC6vNzJdiioy+PTfK9q2ajhA== X-Received: by 10.55.209.137 with SMTP id o9mr22945354qkl.253.1519745273011; Tue, 27 Feb 2018 07:27:53 -0800 (PST) Received: from tleilax.poochiereds.net (cpe-2606-A000-1100-DB-0-0-0-C3D.dyn6.twc.com. [2606:a000:1100:db::c3d]) by smtp.gmail.com with ESMTPSA id x28sm7859735qtx.20.2018.02.27.07.27.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Feb 2018 07:27:52 -0800 (PST) Message-ID: <1519745270.4300.83.camel@redhat.com> Subject: Re: [LKP] [lkp-robot] [iversion] c0cef30e4f: aim7.jobs-per-min -18.0% regression From: Jeff Layton To: David Howells Cc: kemi , Ye Xiaolong , lkp@01.org, Linus Torvalds , LKML Date: Tue, 27 Feb 2018 10:27:50 -0500 In-Reply-To: <666.1519738993@warthog.procyon.org.uk> References: <1519738149.4300.45.camel@redhat.com> <20180225150505.GD7144@yexl-desktop> <1519573271.4702.10.camel@redhat.com> <20180226083807.GE8942@yexl-desktop> <1519645434.4443.15.camel@redhat.com> <1519648433.4443.18.camel@redhat.com> <8b48844f-7f9a-a9d7-b5bc-3bc403e0fa78@intel.com> <666.1519738993@warthog.procyon.org.uk> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.5 (3.26.5-1.fc27) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2018-02-27 at 13:43 +0000, David Howells wrote: > Jeff Layton wrote: > > > 0xffffffff813ae828 <+136>: je 0xffffffff813ae83a > > 0xffffffff813ae82a <+138>: mov 0x150(%rbp),%rcx > > 0xffffffff813ae831 <+145>: shr %rcx > > 0xffffffff813ae834 <+148>: cmp %rcx,0x20(%rax) > > 0xffffffff813ae838 <+152>: je 0xffffffff813ae862 > > Is it possible there's a stall between the load of RCX and the subsequent > instructions because they all have to wait for RCX to become available? > > The interleaving between operating on RSI and RCX in the older code might > alleviate that. > > In addition, the load if the 20(%rax) value is now done in the CMP instruction > rather than earlier, so it might not get speculatively loaded in time, whereas > the earlier code explicitly loads it up front. > Thanks David, that makes sense. At this point, I think we ought to wait and see what the results look like without IMA compiled in at all. It's possible we're misunderstanding this completely. At most, we'll be hitting this once on every close of a file. It doesn't seem like that ought to be causing something this noticeable though. -- Jeff Layton