From: Daniel Bristot de Oliveira <bristot@redhat.com>
To: Adrien Mazarguil <adrien.mazarguil@6wind.com>,
Marcelo Tosatti <mtosatti@redhat.com>
Cc: dev@dpdk.org, Luiz Capitulino <lcapitulino@redhat.com>
Subject: Re: [dpdk-dev] [PATCH] testpmd: add nanosleep in main loop
Date: Fri, 10 Nov 2017 11:13:30 +0100 [thread overview]
Message-ID: <fcd3bd23-3add-9cda-3ead-671126be0c91@redhat.com> (raw)
In-Reply-To: <20171110091219.GE24849@6wind.com>
On 11/10/2017 10:12 AM, Adrien Mazarguil wrote:
> Since testpmd is a development tool not supposed to run in a production
> environment, is there really a need for it to be patched to work around a
> (temporary) Linux kernel bug?
>From the kernel side... not even...
> If so, why is I/O the only forwarding mode impacted?
>
> If it's used in a production environment and such a fix can't wait, have
> other workarounds been considered:
>
> - Replacing testpmd in I/O mode with a physical cable or switch?
using proper options like:
> - Using proper options on the kernel command line as described in [1], such
> as isolcpus, rcu_nocbs, nohz_full?
Guarantees you that a CPU is completely isolated. In the current state
of the art, it is not possible to assume that a CPU can be fully
isolated from OS housekeeping threads.
For example, some kernel sub-systems rely on executing on every CPU,
e.g., using kworkers, and they are not only tracing or debugging
options. That case Marcelo showed is just a straightforward to use use-case.
If a busy-loop-isolated task runs with rt priority, it will end up
delaying such workers to run, making system to complain about hung tasks.
-- Daniel
next prev parent reply other threads:[~2017-11-10 10:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-10 6:02 Marcelo Tosatti
2017-11-10 9:12 ` Adrien Mazarguil
2017-11-10 10:13 ` Daniel Bristot de Oliveira [this message]
2017-11-10 10:14 ` Ananyev, Konstantin
2017-11-10 10:42 ` Daniel Bristot de Oliveira
2017-11-10 11:14 ` Bruce Richardson
2017-11-10 13:51 ` Luiz Capitulino
2017-11-11 3:59 ` Marcelo Tosatti
2017-11-11 4:01 ` Marcelo Tosatti
2017-11-11 3:54 ` Marcelo Tosatti
2017-11-11 3:49 ` Marcelo Tosatti
2017-11-12 23:14 ` Ananyev, Konstantin
2017-11-13 18:01 ` Marcelo Tosatti
2017-11-11 3:45 ` Marcelo Tosatti
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=fcd3bd23-3add-9cda-3ead-671126be0c91@redhat.com \
--to=bristot@redhat.com \
--cc=adrien.mazarguil@6wind.com \
--cc=dev@dpdk.org \
--cc=lcapitulino@redhat.com \
--cc=mtosatti@redhat.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).