From: "Rosen, Rami" <rami.rosen@intel.com>
To: Anand Prasad <anandnprasad@yahoo.com>, "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Running DPDK application in Linux init level 3
Date: Wed, 11 Apr 2018 10:18:42 +0000 [thread overview]
Message-ID: <9B0331B6EBBD0E4684FBFAEDA55776F9531A2C97@HASMSX110.ger.corp.intel.com> (raw)
In-Reply-To: <2020209594.128339.1523429671281@mail.yahoo.com>
Hi Anad,
Happy to hear that it worked for you.
Regarding the performance: this is strange to hear.
Are you sure that you are running DPDK the same way in
both cases (same parameters, same /proc/cmdline, etc)?
Regards,
Rami
From: Anand Prasad [mailto:anandnprasad@yahoo.com]
Sent: Wednesday, April 11, 2018 09:55
To: users@dpdk.org; Rosen, Rami <rami.rosen@intel.com>
Subject: Re: RE: [dpdk-users] Running DPDK application in Linux init level 3
Thanks Rami Rosen
I tried the steps you have suggested, and with that, I am able to boot in command line.
But still I face the same packet drop issue.
Any guess, what causing problem?
Regards,
Anand Prasad
On Wednesday, 11 April, 2018, 1:02:47 AM IST, Rosen, Rami <rami.rosen@intel.com<mailto:rami.rosen@intel.com>> wrote:
Hi Anan,
You better use the same Grub kernel command line parameters both in
run level 5 and in run level 3.
In order to be able to do so, keep the GRUB_CMDLINE_LINUX as what you had in init level 5, and assuming you are using one of the popular distros (like Fedora or recent Ubuntus), which runs systemd, the recommended way to what you call "disable the gui" is by a systemd command called systemctl.
So, when the gui mode is enabled, you will get:
systemctl get-default
graphical.target
And to disable the gui you can run:
sudo systemctl enable multi-user.target --force
sudo systemctl set-default multi-user.target
After boot, both in run level 3 and in run level 5, you will be able to verify that the kernel command line is as expected with:
cat /proc/cmdline
Regards,
Rami Rosen
-----Original Message-----
From: users [mailto:users-bounces@dpdk.org<mailto:users-bounces@dpdk.org>] On Behalf Of Anand Prasad
Sent: Tuesday, April 10, 2018 15:12
To: users@dpdk.org<mailto:users@dpdk.org>
Subject: [dpdk-users] Running DPDK application in Linux init level 3
Hi DPDK Team,
I am trying to run DPDK application in Linux with init level 3 (no gui) and I am observing continuous packet drops on Rx side. But, If I boot Linux in init level 5 (GUI), then I dont see drops.
I have provided linux command line arguments (for isolating the cpu cores and hugepates etc in "GRUB_CMDLINE_LINUX_DEFAULT" variable, and with those it's working fine in init level 5. But, not sureif these configuration are applicable when I boot in Init level 3?
To boot in init level 3, I am setting GRUB_CMDLINE_LINUX="3" , is it correct? If not please suggest what is theother method.
Thanks in advance.Anand
prev parent reply other threads:[~2018-04-11 10:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1465823149.1239131.1523362339494.ref@mail.yahoo.com>
2018-04-10 12:12 ` Anand Prasad
2018-04-10 19:32 ` Rosen, Rami
2018-04-11 6:54 ` Anand Prasad
2018-04-11 10:18 ` Rosen, Rami [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=9B0331B6EBBD0E4684FBFAEDA55776F9531A2C97@HASMSX110.ger.corp.intel.com \
--to=rami.rosen@intel.com \
--cc=anandnprasad@yahoo.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).