All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: longli@linuxonhyperv.com
Cc: Wei Hu <weh@microsoft.com>, dev@dpdk.org, Long Li <longli@microsoft.com>
Subject: Re: [PATCH v2] bus/vmbus: add device argument to configure if NUMA information on the device should be ignored
Date: Wed, 20 Aug 2025 12:49:52 -0700	[thread overview]
Message-ID: <20250820124952.7cd930cb@hermes.local> (raw)
In-Reply-To: <1755563066-2592-1-git-send-email-longli@linuxonhyperv.com>

On Mon, 18 Aug 2025 17:24:26 -0700
longli@linuxonhyperv.com wrote:

> From: Long Li <longli@microsoft.com>
> 
> In most cases, netvsc is used with a VF device. The application generally
> runs with better performance when all the device memory is allocated on
> VF's NUMA node, as the VF device carries most of the data packets.
> 
> But sometimes netvsc may run on a different NUMA node than that of the VF.
> This patch adds a device argument "numa" to allow the application to
> configure if this vmbus device (netvsc) should be NUMA aware. The default
> behavior is NUMA aware. Setting "numa=0" specifies this vmbus device is
> not NUMA aware.
> 
> The device argument is parsed at the time of vmbus device probe to ensure
> all the following memory allocations are done on the configured NUMA node.
> 
> Signed-off-by: Long Li <longli@microsoft.com>

Putting all the args in vmbus seems confusing, and not what I meant.
Was more thing that ethdev and queues should be on same NUMA node.

If NUMA is better why wouldn't it always be on?
Since netvsc is really a virtual device not sure.
I suspect 99% of users will be using with VF, that should be the default.

  reply	other threads:[~2025-08-20 19:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-19  0:24 [PATCH v2] bus/vmbus: add device argument to configure if NUMA information on the device should be ignored longli
2025-08-20 19:49 ` Stephen Hemminger [this message]
2025-08-20 23:08   ` [EXTERNAL] " Long Li

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=20250820124952.7cd930cb@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=longli@linuxonhyperv.com \
    --cc=longli@microsoft.com \
    --cc=weh@microsoft.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.