DPDK patches and discussions
 help / color / mirror / Atom feed
From: Shirley Avishour <shirley@imvisiontech.com>
To: Rami Rosen <ramirose@gmail.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] running dpdk application on the same machine with other none dpdk application
Date: Wed, 30 Jan 2019 09:05:06 +0200	[thread overview]
Message-ID: <CACn717hy2uAJ1mV-UHLtm1cTvsvYdHe_v_Xs=sUu+TVhsZF=5Q@mail.gmail.com> (raw)
In-Reply-To: <CAHLOa7SOjF+kGy5QcKPJjGHrprvdEj-RCMESsLJv=c+JNbMGCw@mail.gmail.com>

Hi Rami,

This is the printout for cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.15.0-43-generic
root=UUID=6f1a210b-a30f-456d-bf16-bbb210da5666 ro default_hugepagesz=2M
hugepagesz=2M hugepages=4096 isolcpus=1-5 nohz_full=1-5 rcu_nocbs=1-5

The requires cpus are in fact isolated but jvm generate some kernel threads
as well and I'm afraid that these kernel space threads eventually use all
cores. isolcpus is not applies on kernel space threads.

Shirley.



On Wed, Jan 30, 2019 at 8:57 AM Rami Rosen <ramirose@gmail.com> wrote:

> Hi Shirley,
> >Running java based applications on the same server with a dpdk based
> application has an impact on the dpdk performance.
> Probably since the JVM generates kernel based processes. I
>
> This is true, but as far as I know, using isolcpus should prevent these
> processes to run on the isolated cores.
>
> Just to be on the safe side: did you make sure with cat /proc/cmdline on
> the kernel you are actually running indeed
> has the "isolcpus=1-5" you added in grub ? sometimes, especially in multi
> OS hosts, adding entries in /etc/default/grub and running grub2-mkconfig is
> not enough, if you boot from a different partition.
>
> Regards,
> Rami Rosen
>
>
>

  reply	other threads:[~2019-01-30  7:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-29 16:32 Shirley Avishour
2019-01-30  6:09 ` Rami Rosen
2019-01-30  6:31   ` Shirley Avishour
2019-01-30  6:57     ` Rami Rosen
2019-01-30  7:05       ` Shirley Avishour [this message]
2019-01-30  7:26         ` Rami Rosen
2019-01-30  7:47           ` Shirley Avishour
2019-01-30  8:18             ` Rami Rosen
2019-01-30  8:27               ` Shirley Avishour
2019-01-30  8:30                 ` Shirley Avishour
2019-01-30  8:40                   ` Rami Rosen
2019-01-30  8:45                     ` Shirley Avishour

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='CACn717hy2uAJ1mV-UHLtm1cTvsvYdHe_v_Xs=sUu+TVhsZF=5Q@mail.gmail.com' \
    --to=shirley@imvisiontech.com \
    --cc=dev@dpdk.org \
    --cc=ramirose@gmail.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).