Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1098200pxu; Mon, 23 Nov 2020 11:34:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJz8qSQMo1BYOJFfnU2ugFy72jyUCqgUaVW9mdHic0r/0BIEUUKsNyfoYKXdQkmq0CCnEx1A X-Received: by 2002:a17:906:d8c9:: with SMTP id re9mr1064504ejb.266.1606160061857; Mon, 23 Nov 2020 11:34:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606160061; cv=none; d=google.com; s=arc-20160816; b=wbRM4r5GUI82FlihSJ0S9/UtpOa9VeRo2ZUkjgn+ljiOt1lUp1C0DSfCBQRkBGR3vz Pc1D+3Rc1LMVTsbjLKcz2vqdImluDv8cHLMaW/npwVZKpCfbnrrntK8pafsKsE768u9C HtXIkZdmb+KvDwF9/NmgIJxk5pFarQgj8+DkH/naiT5ZEM0J6Y+Ly/sACPGGcAzKshM+ FgXjXBAu5iZxME120VMjcAFwJWixLiGkWJ5WgJsZbEZXBcRETLYE8Y3pglqrY9z3xD1k FvSuXGsFWSf+xanrcgwESzTIBs+si9GNSr1uFYxptzMSZ9r66wmbrcdYSoMvk+KzdLwr y5JA== 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:organization :from:references:cc:to:subject:dkim-signature; bh=35zTyk9zZ1bzwx+hvEhXskWjgKi8Ryp4QK7yWth92P4=; b=xMzqEoHcEPnKP/iqClvAKgN+d6Yt5qlB3cAA0YFRg/yZ4XLeaahZBT8aFVKrY9tYPr 2Y//ImlwyNcZMg/pK+OKmCoYXlAsQHsukixAqiWeZKLQsgvQ2MWqNcQfGEMSKnbZ1fI7 OvKEjR0kOE829y66Uz7iFp5G59SeS6q6nq/IgkeqHML/2WV8FOI9zHzN05+6p6kye40f E7t04YYiRJwuMhLk3FhZjFs/ZMuaOUvnUVbe7AUcswNnvnycT8mM6bOVvI8zRCr0Pgsj B1YpGwpMVN7x/Gydi2sXWZj5G2nP2LkH7NoYXOFvc1zausasZjBFK1YoFgamj1WGw6Wf HFUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=in9xqrZC; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si7252086ejs.111.2020.11.23.11.33.56; Mon, 23 Nov 2020 11:34:21 -0800 (PST) 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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=in9xqrZC; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730699AbgKWT2e (ORCPT + 99 others); Mon, 23 Nov 2020 14:28:34 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:22692 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729183AbgKWT2d (ORCPT ); Mon, 23 Nov 2020 14:28:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606159711; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=35zTyk9zZ1bzwx+hvEhXskWjgKi8Ryp4QK7yWth92P4=; b=in9xqrZCiAYBET1CyGbIAAxRnb+X/vaxZ2PNFfn8vqDfNi5Q915JRKnzboQ7VzJvAQAY1x sCXkILerGPojJxjGWjwBUXiQNqkXA6rujyQEx88PXHkdoCdMkuBsa9HQr6p5vLwuMj2ZLE X/obzmcDyj/VU2+2/rTLtcFcpoHQkgA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-345-YUgBIwujPNCRmisBaTHhuw-1; Mon, 23 Nov 2020 14:28:27 -0500 X-MC-Unique: YUgBIwujPNCRmisBaTHhuw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BA3C03E748; Mon, 23 Nov 2020 19:28:25 +0000 (UTC) Received: from llong.remote.csb (ovpn-116-131.rdu2.redhat.com [10.10.116.131]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5228A60C04; Mon, 23 Nov 2020 19:28:24 +0000 (UTC) Subject: Re: [locking/rwsem] 10a59003d2: unixbench.score -25.5% regression To: kernel test robot Cc: Peter Zijlstra , Ingo Molnar , Will Deacon , linux-kernel@vger.kernel.org, Davidlohr Bueso , Phil Auld , 0day robot , lkp@lists.01.org, ying.huang@intel.com, feng.tang@intel.com, zhengjun.xing@intel.com References: <20201123155327.GA26172@xsang-OptiPlex-9020> From: Waiman Long Organization: Red Hat Message-ID: <2fe05c84-fe0b-c7da-7ba8-c5bac2e6fb56@redhat.com> Date: Mon, 23 Nov 2020 14:28:23 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20201123155327.GA26172@xsang-OptiPlex-9020> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/23/20 10:53 AM, kernel test robot wrote: > > Greeting, > > FYI, we noticed a -25.5% regression of unixbench.score due to commit: > > > commit: 10a59003d29fbfa855b2ef4f3534fee9bdf4e575 ("[PATCH v2 5/5] locking/rwsem: Remove reader optimistic spinning") > url: https://github.com/0day-ci/linux/commits/Waiman-Long/locking-rwsem-Rework-reader-optimistic-spinning/20201121-122118 > base: https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git 932f8c64d38bb08f69c8c26a2216ba0c36c6daa8 > > in testcase: unixbench > on test machine: 16 threads Intel(R) Xeon(R) E-2278G CPU @ 3.40GHz with 32G memory > with following parameters: > > runtime: 300s > nr_task: 30% > test: shell8 > cpufreq_governor: performance > ucode: 0xde > > test-description: UnixBench is the original BYTE UNIX benchmark suite aims to test performance of Unix-like system. > test-url: https://github.com/kdlucas/byte-unixbench > > In addition to that, the commit also has significant impact on the following tests: > > +------------------+---------------------------------------------------------------------------+ > | testcase: change | fio-basic: fio.write_iops -29.9% regression | > | test machine | 192 threads Intel(R) Xeon(R) CPU @ 2.20GHz with 192G memory | > | test parameters | bs=4k | > | | cpufreq_governor=performance | > | | disk=1SSD | > | | fs=xfs | > | | ioengine=sync | > | | nr_task=32 | > | | runtime=300s | > | | rw=randwrite | > | | test_size=256g | > | | ucode=0x4003003 | > +------------------+---------------------------------------------------------------------------+ > | testcase: change | aim7: aim7.jobs-per-min 952.6% improvement | > | test machine | 96 threads Intel(R) Xeon(R) Platinum 8260L CPU @ 2.40GHz with 128G memory | > | test parameters | cpufreq_governor=performance | > | | disk=4BRD_12G | > | | fs=f2fs | > | | load=100 | > | | md=RAID0 | > | | test=sync_disk_rw | > | | ucode=0x4003003 | > +------------------+---------------------------------------------------------------------------+ A performance drop in some benchmark is expected. However, there are others that can show improvement. Will take a look to see if we can reduce the performance regression. Thanks, Longman