From: Jerin Jacob <jerin.jacob@caviumnetworks.com>
To: "Van Haaren, Harry" <harry.van.haaren@intel.com>
Cc: "Eads, Gage" <gage.eads@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v2] event/sw: perform partial burst enqueues
Date: Tue, 20 Mar 2018 12:31:20 +0530 [thread overview]
Message-ID: <20180320070119.GA31671@jerin> (raw)
In-Reply-To: <E923DB57A917B54B9182A2E928D00FA65E00095B@IRSMSX102.ger.corp.intel.com>
-----Original Message-----
> Date: Tue, 13 Mar 2018 14:08:20 +0000
> From: "Van Haaren, Harry" <harry.van.haaren@intel.com>
> To: "Eads, Gage" <gage.eads@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
> CC: "jerin.jacob@caviumnetworks.com" <jerin.jacob@caviumnetworks.com>
> Subject: RE: [PATCH v2] event/sw: perform partial burst enqueues
>
> > From: Eads, Gage
> > Sent: Monday, March 12, 2018 2:55 PM
> > To: dev@dpdk.org
> > Cc: jerin.jacob@caviumnetworks.com; Van Haaren, Harry
> > <harry.van.haaren@intel.com>
> > Subject: [PATCH v2] event/sw: perform partial burst enqueues
> >
> > Previously, the sw PMD would enqueue either all or no events, depending on
> > if enough inflight credits were available for the new events in the burst.
> > If a port is enqueueing a large burst (i.e. a multiple of the credit update
> > quanta), this can result in suboptimal performance, and requires an
> > understanding of the sw PMD implementation (in particular, its credit
> > scheme) to tune an application's burst size.
> >
> > This affects software that enqueues large bursts of new events, such as the
> > ethernet event adapter which uses a 128-deep event buffer, when the input
> > packet rate is sufficiently high.
> >
> > This change makes the sw PMD enqueue as many events as it has credits, if
> > there are any new events in the burst.
> >
> > Signed-off-by: Gage Eads <gage.eads@intel.com>
>
>
> Agree that making forward progress by enqueuing what we have credits for
> makes sense for the application.
>
> No performance degradation here, thanks for the patch:
>
> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
Applied to dpdk-next-eventdev/master. Thanks.
prev parent reply other threads:[~2018-03-20 7:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-08 22:55 [dpdk-dev] [PATCH] " Gage Eads
2018-03-12 14:55 ` [dpdk-dev] [PATCH v2] " Gage Eads
2018-03-13 14:08 ` Van Haaren, Harry
2018-03-20 7:01 ` Jerin Jacob [this message]
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=20180320070119.GA31671@jerin \
--to=jerin.jacob@caviumnetworks.com \
--cc=dev@dpdk.org \
--cc=gage.eads@intel.com \
--cc=harry.van.haaren@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).