Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4917492pxj; Tue, 25 May 2021 21:09:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysy4FsFAt8B/AIXIVp8hV1EOYr0tBxcPOgUouh4lPwDtZMOGwz5SgcUCOPf4wJwaTnhw0S X-Received: by 2002:a17:906:4806:: with SMTP id w6mr31226515ejq.180.1622002143475; Tue, 25 May 2021 21:09:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622002143; cv=none; d=google.com; s=arc-20160816; b=fW7p3DXI8HQAVJ76rff1zuM4CGADgkAE9Yr2MTjDOYbo/5tZ0H80UDQvh+atWuNoEb 5/COwCX4Dp4iUUeQPDib3yhlgIhG/SglC36Qugjynu+Q2TbQzW1zK+An0th3MVpmPNni tA5z44omoyZYm06Gkq5c4pQZzd4kdvTFrVb7s9PKvVpmPlXdH3P0AVG8iru2qYr9867v rdeASsszWxcysNxMnwORfRi3NL5d2oQpDbuVaT7It+TjKfOeRWSKKhL+FVuMBDMbnx5V wH4RC3pHGPOVXZLVcVfqANMOHzne65UH5Dygi0Z4UeJ1enX1nEpVz+ixpX7TMmQD2ejB r9LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=G4VFPeUl5h2k+NLjOUvO593jlpb4kUqMeU0LbUhqvgo=; b=QCBl8dzh/6Z7hZev8F6jZyZG3iJqDz+cdoigL4JT8OwufAaRX01UrDDVBkQqWtzsYd oVbuKyMyAl2F97+dF43WveNuWor+q/7ZTtpJJW78J245U3+c1Y0Z+xhQC37SxlgBLVpa M6c5DjisI4Ryx4lz+ygiNBkBSyDE5wT40JQIB+6vsNfupt6e9Ayw2RjMz+XYRQ9Og/4Y CxmSqBk1V/hUDltaYnZ8W+EiW9c/x41XjMTYgLl6EP9X5o5E9feWeH9TNpozo50e+59C 2+DNTZvTng4qCEyWfuvuYEtQj84ucPTdlBUAWSRZa/3gnEQW3nVaAnId061gKXWWCG/4 Durg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id z27si17512051ejc.287.2021.05.25.21.08.38; Tue, 25 May 2021 21:09:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231364AbhEZBvm (ORCPT + 99 others); Tue, 25 May 2021 21:51:42 -0400 Received: from mga18.intel.com ([134.134.136.126]:25828 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229978AbhEZBvm (ORCPT ); Tue, 25 May 2021 21:51:42 -0400 IronPort-SDR: z8aWKyBeMhBimhOTDgzMzG/TK+95W4ZbMAv3tfrHgG260iCQqrTt++li/OsUmuQXwYIAPqsPgi i+D1bK3MvpUQ== X-IronPort-AV: E=McAfee;i="6200,9189,9995"; a="189729476" X-IronPort-AV: E=Sophos;i="5.82,330,1613462400"; d="scan'208";a="189729476" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2021 18:50:11 -0700 IronPort-SDR: nyA9quQLu82kgtjugpD+ctBZqdQgKaIoN/n0LYx7gIQb7mmIxboZ3bzAs7oxGTQJrb/HrjYc/p rDAigRoE4M9w== X-IronPort-AV: E=Sophos;i="5.82,330,1613462400"; d="scan'208";a="476697412" Received: from xingzhen-mobl.ccr.corp.intel.com (HELO [10.238.5.220]) ([10.238.5.220]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2021 18:50:08 -0700 Subject: Re: [LKP] Re: 2463a604a8: netperf.Throughput_tps 12.8% improvement To: Bart Van Assche , kernel test robot Cc: 0day robot , John Garry , Hannes Reinecke , LKML , lkp@lists.01.org, "Martin K . Petersen" , Christoph Hellwig , linux-scsi@vger.kernel.org, "James E.J. Bottomley" References: <20210525064427.GC7744@xsang-OptiPlex-9020> From: Xing Zhengjun Message-ID: <0c2d909a-d307-548b-473c-0c85d479573e@linux.intel.com> Date: Wed, 26 May 2021 09:50:05 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/26/2021 12:44 AM, Bart Van Assche wrote: > On 5/24/21 11:44 PM, kernel test robot wrote: >> FYI, we noticed a 12.8% improvement of netperf.Throughput_tps due to commit: >> >> commit: 2463a604a86728777ce4284214a52de46a808c9e ("[PATCH v3 2/3] Introduce enums for the SAM, message, host and driver status codes") >> url: https://github.com/0day-ci/linux/commits/Bart-Van-Assche/Introduce-enums-for-SCSI-status-codes/20210524-105751 >> base: https://git.kernel.org/cgit/linux/kernel/git/mkp/scsi.git for-next >> >> in testcase: netperf >> on test machine: 192 threads 4 sockets Intel(R) Xeon(R) Platinum 9242 CPU @ 2.30GHz with 192G memory >> with following parameters: >> >> ip: ipv4 >> runtime: 300s >> nr_threads: 16 >> cluster: cs-localhost >> test: TCP_CRR >> cpufreq_governor: performance >> ucode: 0x5003006 >> >> test-description: Netperf is a benchmark that can be use to measure various aspect of networking performance. >> test-url: http://www.netperf.org/netperf/ > The above email reports a performance improvement for the networking > subsystem while my patch only affects the SCSI subsystem and should not > have any performance impact. I'm confused by the above feedback ... I suspect it related with cache alignment, 2463a604a8 changes "u8" (size:1) to "enum xxx_status" (size: 4),  the cache alignment is better than before , so cause the improvement. > > Bart. > _______________________________________________ > LKP mailing list -- lkp@lists.01.org > To unsubscribe send an email to lkp-leave@lists.01.org -- Zhengjun Xing