DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: "Van Haaren, Harry" <harry.van.haaren@intel.com>
Cc: dev <dev@dpdk.org>, "Rao, Nikhil" <nikhil.rao@intel.com>
Subject: Re: [dpdk-dev] [PATCH] service: improve service run performance
Date: Fri, 18 Oct 2019 06:10:39 +0200	[thread overview]
Message-ID: <CAJFAV8xK-eNVgT0o+9z-nqvn4x40NwEjO=6Y2OFipcJ8RBvJbQ@mail.gmail.com> (raw)
In-Reply-To: <E923DB57A917B54B9182A2E928D00FA6759078D3@IRSMSX102.ger.corp.intel.com>

On Mon, Oct 7, 2019 at 5:37 PM Van Haaren, Harry
<harry.van.haaren@intel.com> wrote:
>
> > -----Original Message-----
> > From: David Marchand [mailto:david.marchand@redhat.com]
> > Sent: Monday, October 7, 2019 3:53 PM
> > To: Van Haaren, Harry <harry.van.haaren@intel.com>
> > Cc: dev <dev@dpdk.org>; Rao, Nikhil <nikhil.rao@intel.com>
> > Subject: Re: [dpdk-dev] [PATCH] service: improve service run performance
> >
> > On Mon, Sep 16, 2019 at 12:01 PM Nikhil Rao <nikhil.rao@intel.com> wrote:
> > >
> > > For a valid service, the core mask of the service
> > > is checked against the current core and the corresponding
> > > entry in the active_on_lcore array is set or reset.
> > >
> > > Upto 8 cores share the same cache line for their
> > > service active_on_lcore array entries since each entry is a uint8_t.
> > > Some number of these entries also share the cache line with
> > > the internal_flags member of struct rte_service_spec_impl,
> > > hence this false sharing also makes the service_valid() check
> > > expensive.
> > >
> > > Eliminate false sharing by moving the active_on_lcore array to
> > > a per-core data structure. The array is now indexed by service id.

Acked-by: Gage Eads <gage.eads@intel.com>

> >
> > Harry, any comments on this patch?
>
>
> Looks good to me, thanks Nikhil & David for the ping;
>
> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>

Applied, thanks.



--
David Marchand


  reply	other threads:[~2019-10-18  4:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-16 10:01 Nikhil Rao
2019-10-07 14:52 ` David Marchand
2019-10-07 15:37   ` Van Haaren, Harry
2019-10-18  4:10     ` David Marchand [this message]
2019-10-07 14:52 Eads, Gage

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='CAJFAV8xK-eNVgT0o+9z-nqvn4x40NwEjO=6Y2OFipcJ8RBvJbQ@mail.gmail.com' \
    --to=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=harry.van.haaren@intel.com \
    --cc=nikhil.rao@intel.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).