From: Jerin Jacob Kollanukkaran <jerinj@marvell.com>
To: "Honnappa.Nagarahalli@arm.com" <Honnappa.Nagarahalli@arm.com>,
"Gavin.Hu@arm.com" <Gavin.Hu@arm.com>,
"yskoh@mellanox.com" <yskoh@mellanox.com>
Cc: "nd@arm.com" <nd@arm.com>,
"russell@mellanox.com" <russell@mellanox.com>,
"mrosenbluth@mellanox.com" <mrosenbluth@mellanox.com>,
"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [EXT] Default cacheline size for ARM
Date: Mon, 28 Jan 2019 12:56:26 +0000 [thread overview]
Message-ID: <ccd579b18f5161ed694ba1573be7f0bfd0911531.camel@marvell.com> (raw)
In-Reply-To: <AM6PR08MB3672E097871580EC6EE6A35398990@AM6PR08MB3672.eurprd08.prod.outlook.com>
On Wed, 2019-01-23 at 16:28 +0000, Honnappa Nagarahalli wrote:
> > On Fri, 2019-01-18 at 05:50 +0000, Honnappa Nagarahalli wrote:
> > > > > > > > > > Hi,
> > > > > > > > > >
> > > > > > > > > > The cacheline size (RTE_CACHE_LINE_SIZE) for ARM
> > > > > > > > > > CPUs is
> > > > > > > > > > set to be 128B by default. Mellanox's BlueField is
> > > > > > > > > > an
> > > > > > > > > > ARM CPU having
> > > > > > > > > > Cortex-A72
> > > > > > > > > > and its CL size is 64B.
> > > > > > > > Just wondering how many devices are out there with 128B
> > > > > > > > cache line? I also have not heard about any future
> > > > > > > > devices
> > > > > > > > with 128B cache line. If the majority is 64B, why not
> > > > > > > > keep
> > > > > > > > 64B as the default?
> > > > > > >
> > > > > > > The problem is, In the armv8 spec the cache line size is
> > > > > > > IMPLEMENTATION DEFINED. Marvell's embedded processors has
> > 128B
> > > > CL
> > > > > > > and Server processors has 64B CL.
> > > > > > >
> > > > > > > Assuming the defconfig_arm64-armv8a-linuxapp-gcc will be
> > > > > > > used
> > > > > > > by distro folks then that configuration should support
> > > > > > > all the
> > > > > > > devices with
> > > > > > > armv8.1 spec. For instance, marvells new chips are
> > > > > > > armv8.2 but
> > > > > > > we can not make that as default.
> > > > > > What will happen in the future when we will have v9, v10
> > > > > > etc? I
> > > > > > think the distro(generic/binary portable) config should get
> > > > > > rid
> > > > > > of v8.
> > > > >
> > > > > Will it be too much overhead if the image is same for v8, v9
> > > > > and
> > > > > v10.
> > > > > I think, we can inline with what distro folks are doing for
> > > > > other
> > > > > packages, I think, DPDK package does not need any exception.
> > > > Yes, we need to be inline with any other package. My
> > > > understanding
> > > > is that the image will be same for v8,v9,v10 (any input from
> > > > distro
> > > > engineers will help here). So, my question is, should the
> > > > config
> > > > file/name used by distros contain anything specific to armv8?
> > > Jerin, after following [1], I am not unable to understand when
> > > the
> > > file config/arm/arm64_armv8_linuxapp_gcc gets used. Is this file
> > > required?
> >
> > If I understand it correctly, only for cross compiling on x86.
> > distro folks build the generic image on arm64 with
> > -Dmachine=default for
> > arm64.
> I thought for cross compilation we have target specific config files
> in config/arm. For ex: arm64_dpaa2_linuxapp_gcc,
> arm64_thunderx_linuxapp_gcc
Yes. config/arm/arm64_armv8_linuxapp_gcc will be used for cross compile
arm64 image, equivalent to config/defconfig_arm64-armv8a-linuxapp-gcc
in cross compiling domain for meson.
>
> >
> > > 1. http://mails.dpdk.org/archives/dev/2019-January/123272.html
next prev parent reply other threads:[~2019-01-28 12:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-04 19:59 [dpdk-dev] " Yongseok Koh
2019-01-05 5:14 ` [dpdk-dev] [EXT] " Jerin Jacob Kollanukkaran
2019-01-05 22:47 ` Honnappa Nagarahalli
2019-01-06 7:56 ` Jerin Jacob Kollanukkaran
2019-01-14 7:47 ` Honnappa Nagarahalli
2019-01-14 8:05 ` Jerin Jacob Kollanukkaran
2019-01-16 1:57 ` Honnappa Nagarahalli
2019-01-18 5:50 ` Honnappa Nagarahalli
2019-01-23 9:05 ` Jerin Jacob Kollanukkaran
2019-01-23 16:28 ` Honnappa Nagarahalli
2019-01-28 12:56 ` Jerin Jacob Kollanukkaran [this message]
2019-01-31 18:09 ` Honnappa Nagarahalli
2019-02-01 17:16 ` Jerin Jacob Kollanukkaran
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ccd579b18f5161ed694ba1573be7f0bfd0911531.camel@marvell.com \
--to=jerinj@marvell.com \
--cc=Gavin.Hu@arm.com \
--cc=Honnappa.Nagarahalli@arm.com \
--cc=dev@dpdk.org \
--cc=mrosenbluth@mellanox.com \
--cc=nd@arm.com \
--cc=russell@mellanox.com \
--cc=yskoh@mellanox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).