Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 78FBAC48BEC for ; Fri, 16 Feb 2024 07:07:58 +0000 (UTC) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by mx.groups.io with SMTP id smtpd.web11.13767.1708067277044774088 for ; Thu, 15 Feb 2024 23:07:57 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@ti.com header.s=ti-com-17Q1 header.b=ZUKK89rh; spf=pass (domain: ti.com, ip: 198.47.19.141, mailfrom: a-limaye@ti.com) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41G77uar126239 for ; Fri, 16 Feb 2024 01:07:56 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1708067276; bh=R9CXhHcm4n2uFs79dob79vUwO9EKuP8mJwo6wFChmJI=; h=Date:Subject:To:References:CC:From:In-Reply-To; b=ZUKK89rhDYAyeaQXDb2PVu7hM56p0TkE3FT/LF7b9N6qaKAm38rrZLDPDfnsU1oji /MPMXJSIZtKHsBxvrQnjx2sIyd4wCpMI2zzt0w01uYe1AQfuNRONgj+jBjhcAVXMab 1+2gsKVShmTCW+WGiUUMaeZ9dfO7ePSgYlyTqTY4= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41G77uqV017980 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 16 Feb 2024 01:07:56 -0600 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 16 Feb 2024 01:07:55 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 16 Feb 2024 01:07:55 -0600 Received: from [172.24.17.33] (lt5cd112gt3k.dhcp.ti.com [172.24.17.33]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 41G77sHp105417; Fri, 16 Feb 2024 01:07:55 -0600 Content-Type: multipart/alternative; boundary="------------wX6o9to5oaiKX32IbjyNxA0Q" Message-ID: Date: Fri, 16 Feb 2024 12:37:53 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [EXTERNAL] [meta-ti][master/kirkstone][PATCH] conf: machine: k3: Use Cortex-A53/A72 CPU tune Content-Language: en-US To: References: <20240215212613.57012-1-afd@ti.com> CC: "Kumar, Udit" From: "Limaye, Aniket" In-Reply-To: <20240215212613.57012-1-afd@ti.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 16 Feb 2024 07:07:58 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/17483 --------------wX6o9to5oaiKX32IbjyNxA0Q Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by fllv0015.ext.ti.com id 41G77uar126239 Hi Andrew, I was testing this patch locally, and wanted to see if we get some perf=20 improvements with some benchmarks available on the default image. What=20 benchmark do you recommend testing this against? I ran '/runLinpack/' on the tisdk-default-image on j7200 and did not see=20 any difference in the reported performance with and without this=20 patch... is this expected? With the default image built on latest SDK, WITHOUT the patch: Unrolled Single=C2=A0 Precision 1845878 Kflops ; 10 Reps With default image built WITH the patch: Unrolled Single=C2=A0 Precision 1857362 Kflops ; 10 Reps Thanks, Aniket On 2/16/2024 2:56 AM, Andrew Davis via lists.yoctoproject.org wrote: > All current K3 devices use either A53 or A72. Use the compile tune=20 > configuration specific for these to allow the compiler to make better=20 > optimizations. Signed-off-by: Andrew Davis ---=20 > meta-ti-bsp/conf/machine/include/k3.=E2=80=8Ainc > ZjQcmQRYFpfptBannerStart > This message was sent from outside of Texas Instruments. > Do not click links or open attachments unless you recognize the source=20 > of this email and know the content is safe. > ZjQcmQRYFpfptBannerEnd > All current K3 devices use either A53 or A72. Use the compile tune > configuration specific for these to allow the compiler to make > better optimizations. > > Signed-off-by: Andrew Davis > --- > meta-ti-bsp/conf/machine/include/k3.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf= /machine/include/k3.inc > index 2415f0ba..7c3579af 100644 > --- a/meta-ti-bsp/conf/machine/include/k3.inc > +++ b/meta-ti-bsp/conf/machine/include/k3.inc > @@ -3,7 +3,7 @@ > require conf/machine/include/ti-soc.inc > SOC_FAMILY:append =3D ":k3" > =20 > -require conf/machine/include/arm/arch-arm64.inc > +require conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc > =20 > BBMULTICONFIG +=3D "k3r5" > =20 > --=20 > 2.39.2 > > > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > Links: You receive all messages sent to this group. > View/Reply Online (#17482):https://urldefense.com/v3/__https://lists.yo= ctoproject.org/g/meta-ti/message/17482__;!!G3vK!T21e4UwMAwqmb2WXp3iTH2w5z= s9CtoI5wX4pmvJQk3-F9H6FDcANpOSFX7ctu-yvXLL-_io6FQngJ72BANL844OMEXw$ =20 > Mute This Topic:https://urldefense.com/v3/__https://lists.yoctoproject.= org/mt/104381861/6607860__;!!G3vK!T21e4UwMAwqmb2WXp3iTH2w5zs9CtoI5wX4pmvJ= Qk3-F9H6FDcANpOSFX7ctu-yvXLL-_io6FQngJ72BANL8UKq3aCI$ =20 > Group Owner:meta-ti+owner@lists.yoctoproject.org > Unsubscribe:https://urldefense.com/v3/__https://lists.yoctoproject.org/= g/meta-ti/unsub__;!!G3vK!T21e4UwMAwqmb2WXp3iTH2w5zs9CtoI5wX4pmvJQk3-F9H6F= DcANpOSFX7ctu-yvXLL-_io6FQngJ72BANL8aX0fg_c$ [a-limaye@ti.com] > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > --------------wX6o9to5oaiKX32IbjyNxA0Q Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by fllv0015.ext.ti.com id 41G77uar126239

Hi Andrew,

I was testing this patch locally, and wanted to see if we get some perf improvements with some benchmarks available on the default image. What benchmark do you recommend testing this against?

I ran 'runLinpack' on the tisdk-default-image on j7200 and did not see any difference in the reported performance with and without this patch... is this expected?

With the default image built on latest SDK, WITHOUT the patch:
Unrolled Single=C2=A0 Precision 1845878 Kflops ; 10 Reps

With default image built WITH the patch:
Unrolled Single=C2=A0 Precision 1857362 Kflops ; 10 Reps

Thanks,
Aniket

On 2/16/2024 2:56 AM, Andrew Davis via lists.yoctoproject.org wrote:
All current K3 devices use either A53 or A72. Use the compile tune configuration specific for these to allow the compiler to make better optimizations. Signed-off-by: Andrew Davis <afd@=E2=80=8Ati.=E2=80=8Acom> --- meta-ti-bsp/conf/machine/include/k3.=E2=80=8Ainc
ZjQcmQRYFpfptBannerStart
This message was sent from outside of Texas Instruments.
Do not click links or open attachments unless you recognize the source of this email and know the content is safe.
=C2=A0
ZjQcmQRYFpfptBannerEnd
All current K3 devices use either A53 or A72. Use=
 the compile tune
configuration specific for these to allow the compiler to make
better optimizations.

Signed-off-by: Andrew Davis <afd@ti.com>
---
 meta-ti-bsp/conf/machine/include/k3.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/m=
achine/include/k3.inc
index 2415f0ba..7c3579af 100644
--- a/meta-ti-bsp/conf/machine/include/k3.inc
+++ b/meta-ti-bsp/conf/machine/include/k3.inc
@@ -3,7 +3,7 @@
 require conf/machine/include/ti-soc.inc
 SOC_FAMILY:append =3D ":k3"
=20
-require conf/machine/include/arm/arch-arm64.inc
+require conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc
=20
 BBMULTICONFIG +=3D "k3r5"
=20
--=20
2.39.2


-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
Links: You receive all messages sent to this group.
View/Reply Online (#17482): https://urldefense.com/v3/__https:/=
/lists.yoctoproject.org/g/meta-ti/message/17482__;!!G3vK!T21e4UwMAwqmb2WX=
p3iTH2w5zs9CtoI5wX4pmvJQk3-F9H6FDcANpOSFX7ctu-yvXLL-_io6FQngJ72BANL844OME=
Xw$=20
Mute This Topic: https://urldefense.com/v3/__https://lists.yoctopr=
oject.org/mt/104381861/6607860__;!!G3vK!T21e4UwMAwqmb2WXp3iTH2w5zs9CtoI5w=
X4pmvJQk3-F9H6FDcANpOSFX7ctu-yvXLL-_io6FQngJ72BANL8UKq3aCI$=20
Group Owner: meta-ti+owner@lists.yoctoproject.org
Unsubscribe: https://urldefense.com/v3/__https://lists.yoctoproject.org=
/g/meta-ti/unsub__;!!G3vK!T21e4UwMAwqmb2WXp3iTH2w5zs9CtoI5wX4pmvJQk3-F9H6=
FDcANpOSFX7ctu-yvXLL-_io6FQngJ72BANL8aX0fg_c$  [a-limaye@ti.com]
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-

--------------wX6o9to5oaiKX32IbjyNxA0Q--