Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1333760pxu; Fri, 27 Nov 2020 05:12:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJylunUJGcPrEhJTzvjvU6DKx+zVHcqS20wm9oeLhZNQMHqy2oK/7+xv0HI2eDjS+kM7PGIu X-Received: by 2002:a17:907:94c6:: with SMTP id dn6mr7688293ejc.13.1606482722417; Fri, 27 Nov 2020 05:12:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606482722; cv=none; d=google.com; s=arc-20160816; b=Nk+13XrAHiwEhG6ivSl1d3zPmTAe6J9Yl3Zcuz9jsBgJFikDafzdqJQqPfHAuawLTt 13zc/lS6TmL9X90Iueinwb5jrrY0ADNxAxzOpiQlLGRviPbdUfSZZIHwJ438KiOrpXKd Mossxf31EuoKcbTZjHDH4EefDm7Zcja5nSZa8BhSyov+RO4BE7OOZ6U8djjj5JEnNgjc JlmLPQU/tM6QJiDFvVcfGKOIOH+ES7F/qmxEvBOhuvvsJhCZJhejh9ToLmNCsadIYPiA 4G4skSomByAK5mORaKoJFwO4lp+6flnUnoubfig70FnIhczLIdIW+i/CPuJy5pJ40eTn iFbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version; bh=hh9nvBFBeEH4+y5Plwboeqr/REk4SkAz6f3rO9it8c8=; b=RsH3EXo2XF+XEyZPKYWKWm7IlSlo4peajOSiZo+klW4kWDHLrLMEK3ifXrn2JwBBS4 e9NQSATzMD3ZSTzsAs+04YSNZbfP/tAL+e3DHkjasAhpqRB6xrF5nT/hGA+oyBWGjq2n 9ABPMo8gUlZx9VU4xzlamcSa6Hw0FSVtRZy7DZyxsIMLyD4SFXi7CHn+IWifOtfMUWFE FTUctxu2wM1BRSyPf2HNZVCoh1t2DqjROmMogzOIkSynGZzbuqG6FwIuQ9COniU9cOpL VClbheINNfKpLlpDIJ7ZCj85vWvi267sc2y39ebJ8CKDpQWLvnRH1bzPsR/AYrK18M7W Xzdw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r4si5995289edc.537.2020.11.27.05.11.33; Fri, 27 Nov 2020 05:12:02 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730041AbgK0NH5 convert rfc822-to-8bit (ORCPT + 99 others); Fri, 27 Nov 2020 08:07:57 -0500 Received: from mail.fireflyinternet.com ([77.68.26.236]:54633 "EHLO fireflyinternet.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730030AbgK0NH4 (ORCPT ); Fri, 27 Nov 2020 08:07:56 -0500 X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=78.156.65.138; Received: from localhost (unverified [78.156.65.138]) by fireflyinternet.com (Firefly Internet (M1)) with ESMTP (TLS) id 23133040-1500050 for multiple; Fri, 27 Nov 2020 13:07:20 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT In-Reply-To: References: <20201111155811.GB24657@xsang-OptiPlex-9020> <160527763346.5566.3471508802857132043@jlahtine-mobl.ger.corp.intel.com> <20201119072018.GA15197@xsang-OptiPlex-9020> <160625087275.29168.7080737993781611765@build.alporthouse.com> <160642644736.15379.9850669928715684163@build.alporthouse.com> Subject: Re: [Intel-gfx] [drm/i915/gem] 59dd13ad31: phoronix-test-suite.jxrendermark.RadialGradientPaint.1024x1024.operations_per_second -54.0% regression From: Chris Wilson Cc: feng.tang@intel.com, tiejun.li@intel.com, guangli.li@intel.com, frank.du@intel.com, guobing.chen@intel.com, jiebin.sun@intel.com, Shuhua.Fan@intel.com, Matthew Auld , fan.zhao@intel.com, ying.huang@intel.com, shan.kang@intel.com, zhengjun.xing@intel.com, Wenhuan.Huang@intel.com, intel-gfx@lists.freedesktop.org, lkp@lists.01.org, ming.a.chen@intel.com, yu.ma@intel.com, jessica.ji@intel.com, dapeng1.mi@intel.com, wangyang.guo@intel.com, LKML , gengxin.xie@intel.com To: Joonas Lahtinen , Oliver Sang , Xing Zhengjun Date: Fri, 27 Nov 2020 13:07:19 +0000 Message-ID: <160648243984.2925.329587293172518864@build.alporthouse.com> User-Agent: alot/0.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Xing Zhengjun (2020-11-27 01:51:41) > > > On 11/27/2020 5:34 AM, Chris Wilson wrote: > > Quoting Xing Zhengjun (2020-11-26 01:44:55) > >> > >> > >> On 11/25/2020 4:47 AM, Chris Wilson wrote: > >>> Quoting Oliver Sang (2020-11-19 07:20:18) > >>>> On Fri, Nov 13, 2020 at 04:27:13PM +0200, Joonas Lahtinen wrote: > >>>>> Hi, > >>>>> > >>>>> Could you add intel-gfx@lists.freedesktop.org into reports going > >>>>> forward. > >>>>> > >>>>> Quoting kernel test robot (2020-11-11 17:58:11) > >>>>>> > >>>>>> Greeting, > >>>>>> > >>>>>> FYI, we noticed a -54.0% regression of phoronix-test-suite.jxrendermark.RadialGradientPaint.1024x1024.operations_per_second due to commit: > >>>>> > >>>>> How many runs are there on the bad version to ensure the bisect is > >>>>> repeatable? > >>>> > >>>> test 4 times. > >>>> zxing@inn:/result/phoronix-test-suite/performance-true-Radial_Gradient_Paint-1024x1024-jxrendermark-1.2.4-ucode=0xd6-monitor=da39a3ee/lkp-cfl-d1/debian-x86_64-phoronix/x86_64-rhel-8.3/gcc-9/59dd13ad310793757e34afa489dd6fc8544fc3da$ grep -r "operations_per_second" */stats.json > >>>> 0/stats.json: "phoronix-test-suite.jxrendermark.RadialGradientPaint.1024x1024.operations_per_second": 4133.487932, > >>>> 1/stats.json: "phoronix-test-suite.jxrendermark.RadialGradientPaint.1024x1024.operations_per_second": 4120.421503, > >>>> 2/stats.json: "phoronix-test-suite.jxrendermark.RadialGradientPaint.1024x1024.operations_per_second": 4188.414835, > >>>> 3/stats.json: "phoronix-test-suite.jxrendermark.RadialGradientPaint.1024x1024.operations_per_second": 4068.549514, > >>> > >>> a w/o revert (drm-tip) > >>> b w/ revert > >>> +mB----------------------------------------------------------------------------+ > >>> | ..b | > >>> | ..b.aa | > >>> | ....a.a | > >>> | ....a.a | > >>> | b b ........a | > >>> | b b b b......... a | > >>> | b bb bbb........... | > >>> |b ab bbab.bb.b............ba b a a ab a| > >>> | |__A__| | > >>> | |MA_| | > >>> +------------------------------------------------------------------------------+ > >>> N Min Max Median Avg Stddev > >>> a 120 3621.8761 7356.4442 4606.7895 4607.9132 156.17693 > >>> b 120 2664.0563 6359.9686 4519.5036 4534.4463 95.471121 > >>> > >>> The patch is not expected to have any impact on the machine you are testing on. > >>> -Chris > >>> > >> > >> What's your code base? > >> For my side: > >> 1) sync the code to the head of Linux mainline > >> 2) git reset --hard 59dd13ad31 > >> 3) git revert 59dd13ad3107 > >> We compare the test result of commit 59dd13ad3107 (step 2) and > >> 2052847b06f8 (step 3, revert 59dd13ad3107), the regression should > >> related with 59dd13ad3107. Each test case we run 5 times. > > > > a 59dd13ad31 > > b revert > > +mB----------------------------------------------------------------------------+ > > | a | > > | aa | > > | .b....ba | > > | .b....baa b | > > | .........b . b b | > > | a b.......... ..bb b b | > > | b a b.............b.a b b | > > |a a b. .aaa..b.............b..b....ab b a .| > > | |__A__| | > > | |___A_____| | > > +------------------------------------------------------------------------------+ > > N Min Max Median Avg Stddev > > a 120 3658.3435 6363.7812 4527.4406 4536.612 86.095459 > > b 120 3928.9643 6375.829 4576.0482 4585.4224 157.284 > > > > Could you share with me your test commands and the hardware info, then I > can reproduce it on my side? Thanks. It was a i7-8809G, identical i915 behaviour as the i7-8700 the report was generated on. sudo Xorg & for i in $(seq 1 120); do ./jx 13 1024 | awk '{print $1}' ; done using -modesetting + iris (i965 makes no difference, just slightly slower) -Chris