From: "Mattias Rönnblom" <hofors@lysator.liu.se>
To: "Jerin Jacob" <jerinjacobk@gmail.com>,
"Mattias Rönnblom" <mattias.ronnblom@ericsson.com>
Cc: "Jerin Jacob" <jerinj@marvell.com>,
dev@dpdk.org, bruce.richardson@intel.com,
"Peter Nilsson J" <peter.j.nilsson@ericsson.com>,
"Svante Järvstråt" <svante.jarvstrat@ericsson.com>,
"Heng Wang" <heng.wang@ericsson.com>
Subject: Re: [PATCH] event/dsw: support explicit release only mode
Date: Mon, 27 May 2024 18:08:01 +0200 [thread overview]
Message-ID: <74e169b4-3b28-498d-9af1-c60e6aeb82fa@lysator.liu.se> (raw)
In-Reply-To: <CALBAE1PxJqmUWh4U4FzAUSz7-K_YbrjKZ3jfUbV1Gq7wC9rukg@mail.gmail.com>
On 2024-05-27 17:35, Jerin Jacob wrote:
> On Sat, May 25, 2024 at 1:13 AM Mattias Rönnblom
> <mattias.ronnblom@ericsson.com> wrote:
>>
>> Add the RTE_EVENT_DEV_CAP_IMPLICIT_RELEASE_DISABLE capability to the
>> DSW event device.
>>
>> This feature may be used by an EAL thread to pull more work from the
>> work scheduler, without giving up the option to forward events
>> originating from a previous dequeue batch. This in turn allows an EAL
>> thread to be productive while waiting for a hardware accelerator to
>> complete some operation.
>>
>> Prior to this change, DSW didn't make any distinction between
>> RTE_EVENT_OP_FORWARD and RTE_EVENT_OP_NEW type events, other than that
>> new events would be backpressured earlier.
>>
>> After this change, DSW tracks the number of released events (i.e.,
>> events of type RTE_EVENT_OP_FORWARD and RTE_EVENT_OP_RELASE) that has
>> been enqueued.
>>
>> For efficency reasons, DSW does not track the *identity* of individual
>> events. This in turn implies that a certain stage in the flow
>> migration process, DSW must wait for all pending releases (on the
>> migration source port, only) to be received from the application, to
>> assure that no event pertaining to any of the to-be-migrated flows are
>> being processed.
>>
>> With this change, DSW starts making a distinction between forward and
>> new type events for credit allocation purposes. Only RTE_EVENT_OP_NEW
>> events needs credits. All events marked as RTE_EVENT_OP_FORWARD must
>> have a corresponding dequeued event from a previous dequeue batch.
>>
>> Flow migration for flows on RTE_SCHED_TYPE_PARALLEL queues remains
>> unaffected by this change.
>>
>> A side-effect of the tweaked DSW migration logic is that the migration
>> latency is reduced, regardless if implicit relase is enabled or not.
>>
>> Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
>
>
> 1) Update releases for PMD specific section for this new feature
Should the release note update be in the same patch, or a separate?
> 2) Fix CI issue as applicable
>
> https://patches.dpdk.org/project/dpdk/patch/20240524192437.183960-1-mattias.ronnblom@ericsson.com/
> http://mails.dpdk.org/archives/test-report/2024-May/672848.html
> https://github.com/ovsrobot/dpdk/actions/runs/9229147658
next prev parent reply other threads:[~2024-05-27 16:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-09 18:33 [RFC] " Mattias Rönnblom
2024-05-24 19:24 ` [PATCH] " Mattias Rönnblom
2024-05-27 15:35 ` Jerin Jacob
2024-05-27 16:08 ` Mattias Rönnblom [this message]
2024-05-27 17:17 ` Jerin Jacob
2024-06-05 13:38 ` [PATCH v2] " Mattias Rönnblom
2024-06-06 9:59 ` Jerin Jacob
2024-06-07 13:36 ` [PATCH v3] " Mattias Rönnblom
2024-06-08 6:14 ` Jerin Jacob
2024-06-08 16:02 ` Mattias Rönnblom
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=74e169b4-3b28-498d-9af1-c60e6aeb82fa@lysator.liu.se \
--to=hofors@lysator.liu.se \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=heng.wang@ericsson.com \
--cc=jerinj@marvell.com \
--cc=jerinjacobk@gmail.com \
--cc=mattias.ronnblom@ericsson.com \
--cc=peter.j.nilsson@ericsson.com \
--cc=svante.jarvstrat@ericsson.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).