DPDK usage discussions
 help / color / mirror / Atom feed
From: Baptiste Wicht <baptistewicht@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Reduce latency of DPDK RX Interrupts
Date: Mon, 26 Nov 2018 11:48:22 +0100	[thread overview]
Message-ID: <CAG1Vf3PmZ41fHjZi5fkxgbuoZSJ1QU3iEo+DYWzpG+TVvysTvg@mail.gmail.com> (raw)

Hi,

In order to reduce latency in a project, I'm trying to use RX interrupts
instead of busy-polling with sleep in between. It works well, but I would
like to reduce the latency even further.

I have two questions regarding the use of RX interrupts:

1) Do I have to enable/disable interrupts on the queue around the
rte_epoll_wait call? Currently, I'm doing
enable/rte_epoll_wait/disable/recv on each wait. Wouldn't it be possible to
enable once and never disable the interrupts?
2) Is there any configuration option I could play with to try to reduce the
latency further?

Thanks a lot for your help

-- 
Dr. Baptiste Wicht
My personal website - http://baptiste-wicht.com

                 reply	other threads:[~2018-11-26 10:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAG1Vf3PmZ41fHjZi5fkxgbuoZSJ1QU3iEo+DYWzpG+TVvysTvg@mail.gmail.com \
    --to=baptistewicht@gmail.com \
    --cc=users@dpdk.org \
    /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).