[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPRrrxVFof1C6ch1uV5hA2tn+kvNiyiHZ_ygEcpdnSA-La-fSw@mail.gmail.com>
Date: Mon, 9 Oct 2017 15:00:58 -0400
From: Patrick Talbert <ptalbert@...hat.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/1] [net] bonding: Add NUMA notice
On Sat, Oct 7, 2017 at 6:20 PM, David Miller <davem@...emloft.net> wrote:
> From: Patrick Talbert <ptalbert@...hat.com>
> Date: Thu, 5 Oct 2017 16:23:45 -0400
>
>> Network performance can suffer when a load balancing bond uses slave
>> interfaces which are in different NUMA domains.
>>
>> This compares the NUMA domain of a newly enslaved interface against any
>> existing enslaved interfaces and prints a warning if they do not match.
>>
>> Signed-off-by: Patrick Talbert <ptalbert@...hat.com>
>
> This is a bit over the top, and doesn't even handle cases where
> the device has no specific NUMA node (-1).
Hello David,
The motivation was simply to have a notification in place if the
interface to-be-enslaved does not match the existing one(s). We have
seen performance issues with bonding which were eventually tracked
down to this mismatched NUMA domain issue. I thought it was worth
having the *mild* warning because it can have a decent impact yet is
probably not an obvious thing to check for most users.
Though I now see your point. If the bonded interfaces are VLANs, and
their underlying physical interfaces happen to be in different NUMA
domains, then my check will not know as the VLAN interface numa_node
member will be -1 no matter what. That's probably a pretty common
setup but adding the logic to check for it probably isn't worth it.
Patrick
Powered by blists - more mailing lists