DPDK patches and discussions
 help / color / mirror / Atom feed
From: Balazs Nemeth <balazs.nemeth@student.uhasselt.be>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] Non-argv dependant rte_eal_init() call
Date: Thu, 1 Aug 2013 22:22:56 +0200	[thread overview]
Message-ID: <CAKk4rHy467s7K9movKd8tY2LZR_Qf87SDNPwiEMKAfzV99wCYQ@mail.gmail.com> (raw)
In-Reply-To: <20130801122309.5d8d100b@samsung-9>

[-- Attachment #1: Type: text/plain, Size: 1126 bytes --]

Letting DPDK deduce de cpus and memchannels is just a move of feautures in
your application. In some cases you might want to limit the number of
cores. It's just simple a way to allow more control when initializing DPDK.

Kind Regards

Balazs Nemeth
Hasselt University, Belgium
2nd Master in Computer Science
On Aug 1, 2013 9:23 PM, "Stephen Hemminger" <stephen@networkplumber.org>
wrote:

> On Thu, 01 Aug 2013 20:17:43 +0200
> Marc Sune <marc.sune@bisdn.de> wrote:
>
> > Thanks Stephen for the hack.
> >
> > Unfortunately, our main already has parameters, and are all
> > platform(architecture) agnostic, so this would break the assumption that
> > arguments should be platform agnostic.
> >
> > But anyway thanks ;)
> > marc
> >
>
> Also, our application is started by an init script and there is some shell
> magic to attempt to deduce number of cpus (not hard) and number of memory
> channels (kind of messy).  I do think the DPDK should work without any
> arguments
> and do this itself. The CPU part is easy by looking at /sys, but the memory
> channel information has to come from DMI which is a real ugly mess.
>
>
>

[-- Attachment #2: Type: text/html, Size: 1562 bytes --]

      reply	other threads:[~2013-08-01 20:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-01 15:37 Marc Sune
2013-08-01 16:01 ` Thomas Monjalon
2013-08-01 16:13   ` Marc Sune
2013-08-01 16:47     ` Antti Kantee
2013-08-01 18:14       ` Marc Sune
2013-08-01 17:06 ` Stephen Hemminger
2013-08-01 18:17   ` Marc Sune
2013-08-01 19:23     ` Stephen Hemminger
2013-08-01 20:22       ` Balazs Nemeth [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=CAKk4rHy467s7K9movKd8tY2LZR_Qf87SDNPwiEMKAfzV99wCYQ@mail.gmail.com \
    --to=balazs.nemeth@student.uhasselt.be \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.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).