DPDK patches and discussions
 help / color / mirror / Atom feed
From: "De Lara Guarch, Pablo" <pablo.de.lara.guarch@intel.com>
To: Rajesh R <rajesh.arr@gmail.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] how to change binding of NIC ports to NUMA nodes
Date: Fri, 4 Sep 2015 07:20:48 +0000	[thread overview]
Message-ID: <E115CCD9D858EF4F90C690B0DCB4D8973C7F08E0@IRSMSX108.ger.corp.intel.com> (raw)
In-Reply-To: <CAAh6R8KMwkUenet8vjtDnoTfd89rJRkxNWVef_DxD+Co1Di2hQ@mail.gmail.com>

Hi Rajesh,

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Rajesh R
> Sent: Friday, September 04, 2015 5:29 AM
> To: dev@dpdk.org
> Subject: [dpdk-dev] how to change binding of NIC ports to NUMA nodes
> 
> Hi,
> 
> I am trying an application based on dpdk on a 4- processor server i.e. 4
> numa nodes.
> The server is having with 4 NIC cards out of which 2 cards get binded to
> numa node 0 and other 2 cards get binded to numa node 2 (as per the
> /sys/pci/.../numa_node for each card)
> 
> 
> How to evenly distribute the cards to all the numa nodes so that one card
> each gets binded to one numa node?
> 
> Can we control the binding from dpdk, either pmd_ixgbe or igb_uio?

The drivers cannot change the numa node where your NICs are,
as those nodes are associated to the different physical sockets (CPU and memory) 
that you have on your platform, and your NICs are connected physically
to these sockets via the PCI slots.

So, if you want to change the numa node, you will have to move the NIC(s)
to another PCI slot that is connected to a different socket.
Look at the user guide of your platform to find out which PCI slots are connected to which socket.

Regards,

Pablo
> 
> 
> --
> Regards
> 
> Rajesh R

  reply	other threads:[~2015-09-04  7:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-04  4:29 Rajesh R
2015-09-04  7:20 ` De Lara Guarch, Pablo [this message]
2015-09-04 17:29   ` Rajesh R

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=E115CCD9D858EF4F90C690B0DCB4D8973C7F08E0@IRSMSX108.ger.corp.intel.com \
    --to=pablo.de.lara.guarch@intel.com \
    --cc=dev@dpdk.org \
    --cc=rajesh.arr@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).