Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1747163imm; Thu, 21 Jun 2018 01:31:43 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKuiJBylkmqymG/w/5u0GhaYY0QCnBFKkt4mjNt0Y1oYRVgFzQ1UGseux+hKIJutEE/2aSj X-Received: by 2002:a63:b256:: with SMTP id t22-v6mr1393057pgo.101.1529569903225; Thu, 21 Jun 2018 01:31:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529569903; cv=none; d=google.com; s=arc-20160816; b=hUWNe11wBkjEAy6ew21o7OGTNQSWsjaUk/hFkFK0n4ysA5kwWYcFVc9vISsJRMhRIe NqVVLj67FcmDkzST1LX1Axs0VCIaVjpBK6T/N5BCJINGStfux47scwZE8duyzq6dNaql WAKzZAocodCCU8sKFXAfdYS7GRVYbHEvUEa1XZwqFpGNJ/4aZgsNeyLHPziRc5b77HEZ 2+3ejyVJKUXtp/CR+ss+wm8GJf9haqVZ/GAh57KSeuMwLMwRSZDjFNy98nbeIvtXE/Cu abyoX8517qfKKDHp9YYg/5CTUrO6UOsw2zZnomPnFY5X0wae2viuxRHonWLttsnRmzYt XYeQ== 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:message-id :in-reply-to:date:references:subject:cc:to:from :arc-authentication-results; bh=yurdoBxwywSMHHck2jo2Ek07ozSpc7GB3zWMf4bfnHE=; b=GivFS8VlYzprsqwjZzlDXPZ2pR0H1XJWbPZOLp70dpdrBM8fSZuXGL7MdVmjgxowQJ uIvbWq9rU1EFC2aADV2uEIsernGXz1RHov6d5OrAn3vlFxyQCL01vY6BQR1MqYyhJbwu ITS/WEo8ZhWCxO46ADcydctVA4Nxx3mIDbrhyGQthQ8KkwSAA8Jk32oVAlZYsM7vCyNP elTDbwzcz+JyZ/eucHaiGheq2rMYRg2dd9a85rgoj0qXpp5FhHwcCfJJzYIDG/eYlb3l M7cdLP7WQM/9zXCm7XLDxzE+Sqo5lSuUeRdJdlJ28hZnFb7S98LcNyEOste2oELLFKsR MvkQ== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n34-v6si4143896pld.91.2018.06.21.01.30.58; Thu, 21 Jun 2018 01:31:43 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932937AbeFUIZ5 (ORCPT + 99 others); Thu, 21 Jun 2018 04:25:57 -0400 Received: from mga07.intel.com ([134.134.136.100]:23697 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932466AbeFUIZ4 (ORCPT ); Thu, 21 Jun 2018 04:25:56 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Jun 2018 01:25:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,251,1526367600"; d="scan'208";a="239031151" Received: from yhuang-dev.sh.intel.com (HELO yhuang-dev) ([10.239.13.118]) by fmsmga005.fm.intel.com with ESMTP; 21 Jun 2018 01:25:53 -0700 From: "Huang\, Ying" To: Linus Torvalds Cc: kernel test robot , Masahiro Yamada , Linux Kernel Mailing List , LKP , Aaron Lu Subject: Re: [lkp-robot] [Kbuild] 050e9baa9d: netperf.Throughput_total_tps -5.6% regression (FYI) References: <20180621080624.GO11011@yexl-desktop> Date: Thu, 21 Jun 2018 16:25:53 +0800 In-Reply-To: (Linus Torvalds's message of "Thu, 21 Jun 2018 17:15:09 +0900") Message-ID: <87muvoh7fy.fsf@yhuang-dev.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Linus, Linus Torvalds writes: > On Thu, Jun 21, 2018 at 5:10 PM kernel test robot wrote: >> >> FYI, we noticed a -5.6% regression of netperf.Throughput_total_tps >> due to commit 050e9b ("Kbuild: rename CC_STACKPROTECTOR[_STRONG] >> config variables") > > That's perhaps a surprisingly large cost to stack protector, but you > did move from "no stack protector at all": > >> $ grep STACKPROTECTOR config-4.17.0-11782-gbe779f0 >> CONFIG_HAVE_CC_STACKPROTECTOR=y >> CONFIG_CC_HAS_STACKPROTECTOR_NONE=y >> # CONFIG_CC_STACKPROTECTOR is not set >> CONFIG_CC_HAS_SANE_STACKPROTECTOR=y > > To having the *strong* stack protector enabled: > >> $ grep STACKPROTECTOR config-4.17.0-11783-g050e9baa >> CONFIG_HAVE_CC_STACKPROTECTOR=y >> CONFIG_CC_HAS_STACKPROTECTOR_NONE=y >> CONFIG_STACKPROTECTOR=y >> CONFIG_STACKPROTECTOR_STRONG=y >> CONFIG_CC_HAS_SANE_STACKPROTECTOR=y > > so you're testing the "no overhead" case to the "worst overhead" case. Do you have interest in some other comparison? Best Regards, Huang, Ying