DPDK patches and discussions
 help / color / mirror / Atom feed
From: Luca Boccassi <lboccass@Brocade.com>
To: "christian.ehrhardt@canonical.com"
	<christian.ehrhardt@canonical.com>,
	"thomas.monjalon@6wind.com" <thomas.monjalon@6wind.com>
Cc: "bruce.richardson@intel.com" <bruce.richardson@intel.com>,
	"dev@dpdk.org" <dev@dpdk.org>,
	"stefan.bader@canonical.com" <stefan.bader@canonical.com>
Subject: Re: [dpdk-dev] [PATCH v2] SDK: Add scripts to initialize DPDK runtime
Date: Wed, 22 Mar 2017 19:15:47 +0000	[thread overview]
Message-ID: <1490210146.16111.24.camel@brocade.com> (raw)
In-Reply-To: <3213326.Aurjhl68Q7@xps13>

On Thu, 2017-03-16 at 19:13 +0100, Thomas Monjalon wrote:
> 2017-01-12 15:43, Christian Ehrhardt:
> > On Mon, Dec 19, 2016 at 4:15 PM, Thomas Monjalon <thomas.monjalon@6
> > wind.com>
> > wrote:
> > 
> > > Thanks for sending your Debian/Ubuntu work.
> > > 
> > > 2016-12-13 16:47, Luca Boccassi:
> > > > From: Christian Ehrhardt <christian.ehrhardt@canonical.com>
> > > > 
> > > > A tools/init directory is added with dpdk-init, a script that
> > > > can be
> > > > used to initialize a DPDK runtime environment. 2 config files
> > > > with
> > > > default options, dpdk.conf and interfaces, are provided as well
> > > > together with a SysV init script and a systemd service unit.
> > > 
> > > I have 2 concerns:
> > > 
> > > - What does exactly mean "initialize a DPDK runtime environment"?
> > > Should it be documented somewhere?
> > > 
> > 
> > Sorry for the late reply, Luca made me aware that this was lost in
> > the
> > Christmas hole.
> > It means that you make a system config ready to be used in a
> > persistent way
> > e.g. cross reboots.
> > 
> > The common steps to prep a system in that regard are assigning a
> > set of
> > cards to dpdk (=>dpdk-devbind) and furthermore to set up hugepages
> > as
> > needed.
> > The latter is only a simple helper for the convenience of the
> > admin. It can
> > suit 95% of the cases but if someone has something very specific in
> > mind a
> > manual hugepage setup might be needed.
> > 
> > The conf files themself have comment on their usage.
> > I'm not sure how much more (on top of the comments in the config
> > files) a
> > doc might be useful.
> > But then that might just be because I happen to know about that
> > stuff.
> > We could hapilly copy the bit we have about it at
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__help.ubuntu.co
> > m_16.04_serverguide_DPDK.html-23dpdk-2Dconfig-
> > 2Ddev&d=DwICAg&c=IL_XqQWOjubgfqINi2jTzg&r=QTEM8ICX7t_SLgWP3qPWtKiwK
> > Mps487LPWQx-B9AqIc&m=X_JtVB7P0d5cTRB-
> > yJXEWkNqF9aFR2rwY3msJouYpu0&s=3sa5mS7FIMFEPWKx021Dz5ySB2uax-
> > MOf1UoGWeErwI&e= 
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__help.ubuntu.co
> > m_16.04_serverguide_DPDK.html-23dpdk-2Dconfig-
> > 2Dhp&d=DwICAg&c=IL_XqQWOjubgfqINi2jTzg&r=QTEM8ICX7t_SLgWP3qPWtKiwKM
> > ps487LPWQx-B9AqIc&m=X_JtVB7P0d5cTRB-
> > yJXEWkNqF9aFR2rwY3msJouYpu0&s=093ENfa7qUYJMU4ki9kM4yUkibUOgDbMZUcbL
> > mKsnn4&e= 
> > 
> > Luca/Thomas - what do you think about that?
> 
> I was just thinking about indicating in the Linux starting guide that
> the DPDK environment can be configured in some system files.
> 
> While I see the benefit of such configuration, I am not sure we
> should
> configure the DPDK itself. We could have several applications using
> DPDK
> with different configurations.
> Do you think you could rework it in a way it can be integrated by
> applications in their own configuration?
> 
> More opinions from users and integrators would be welcome here.

Hello Thomas,

Chatted with Christian today, and as far as we can see this script
doesn't do anything that could be application specific - it just mounts
the hugepages and rebinds the PCI devices. As far as I can see how DPDK
applications use these through EAL is a bit separate. Are we missing
something?

Thanks!

-- 
Kind regards,
Luca Boccassi

  reply	other threads:[~2017-03-22 19:15 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-12 19:24 [dpdk-dev] [PATCH] " Luca Boccassi
2016-12-12 21:12 ` Bruce Richardson
2016-12-12 21:58   ` Luca Boccassi
2016-12-13  7:00     ` Christian Ehrhardt
     [not found]       ` <22e6b726-79f5-5c2b-2cc6-b11fba6384c7@canonical.com>
2016-12-13 15:19         ` Christian Ehrhardt
2019-01-17 17:38           ` Stephen Hemminger
2019-01-18 15:04             ` Ferruh Yigit
2016-12-12 23:41   ` Jay Rolette
2016-12-13 16:47 ` [dpdk-dev] [PATCH v2] " Luca Boccassi
2016-12-19 14:15   ` Thomas Monjalon
2017-01-12 13:43     ` Christian Ehrhardt
2017-03-16 18:13       ` Thomas Monjalon
2017-03-22 19:15         ` Luca Boccassi [this message]
2019-01-17 17:22     ` Ferruh Yigit
2017-09-18 20:44   ` Ferruh Yigit
2017-09-19  5:42     ` Christian Ehrhardt
2023-06-08 16:45   ` Stephen Hemminger

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=1490210146.16111.24.camel@brocade.com \
    --to=lboccass@brocade.com \
    --cc=bruce.richardson@intel.com \
    --cc=christian.ehrhardt@canonical.com \
    --cc=dev@dpdk.org \
    --cc=stefan.bader@canonical.com \
    --cc=thomas.monjalon@6wind.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).