[PATCH 15/18] staging: fsl-dpaa2/eth: Reorder priv fields
Ruxandra Ioana Radulescu
ruxandra.radulescu at nxp.com
Wed Jun 14 06:09:47 PDT 2017
> -----Original Message-----
> From: Greg KH [mailto:gregkh at linuxfoundation.org]
> Sent: Tuesday, June 13, 2017 1:04 PM
> To: Ruxandra Ioana Radulescu <ruxandra.radulescu at nxp.com>
> Cc: devel at driverdev.osuosl.org; stuyoder at gmail.com; arnd at arndb.de;
> linux-kernel at vger.kernel.org; agraf at suse.de; Bharat Bhushan
> <bharat.bhushan at nxp.com>; Bogdan Purcareata
> <bogdan.purcareata at nxp.com>; linux-arm-kernel at lists.infradead.org;
> Laurentiu Tudor <laurentiu.tudor at nxp.com>
> Subject: Re: [PATCH 15/18] staging: fsl-dpaa2/eth: Reorder priv fields
>
> On Tue, Jun 06, 2017 at 10:00:38AM -0500, Ioana Radulescu wrote:
> > Reorder fields in the device's private structure such that
> > the ones most used on the hotpath are at the beginning of
> > the structure.
> >
> > This brings a small performance improvement due to better
> > cache usage.
>
> Really? What kind of performance improvement? Always be specific.
Fair point, thanks.
The test scenario was ipfwd with small frames and the improvement ~1%,
but I took this patch from an internal repo, so I need to redo the
measurements on the current tree before resending.
>
> Please fix up and resend.
We're preparing a larger patchset with several optimizations, I'll
probably include the v2 there.
Thanks,
Ioana
More information about the linux-arm-kernel
mailing list