[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160831104409.GA22845@kroah.com>
Date: Wed, 31 Aug 2016 12:44:09 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: kys@...rosoft.com
Cc: linux-kernel@...r.kernel.org, devel@...uxdriverproject.org,
olaf@...fle.de, apw@...onical.com, vkuznets@...hat.com,
jasowang@...hat.com, leann.ogasawara@...onical.com,
"K. Y. Srinivasan" <kys@...hange.microsoft.com>
Subject: Re: [PATCH 1/1] Drivers: hv: Introduce a policy for controlling
channel affinity
On Wed, Jul 06, 2016 at 06:02:15PM -0700, kys@...hange.microsoft.com wrote:
> From: K. Y. Srinivasan <kys@...hange.microsoft.com>
>
> Introduce a mechanism to control how channels will be affinitized. We will
> support two policies:
>
> 1. HV_BALANCED: All performance critical channels will be dstributed
> evenly amongst all the available NUMA nodes. Once the Node is assigned,
> we will assign the CPU based on a simple round robin scheme.
>
> 2. HV_LOCALIZED: Only the primary channels are distributed across all
> NUMA nodes. Sub-channels will be in the same NUMA node as the primary
> channel. This is the current behaviour.
>
> The default policy will be the HV_BALANCED as it can minimize the remote
> memory access on NUMA machines with applications that span NUMA nodes.
>
> Signed-off-by: K. Y. Srinivasan <kys@...hange.microsoft.com>
> Signed-off-by: K. Y. Srinivasan <kys@...rosoft.com>
> ---
> drivers/hv/channel_mgmt.c | 68 +++++++++++++++++++++++++-------------------
> include/linux/hyperv.h | 23 +++++++++++++++
> 2 files changed, 62 insertions(+), 29 deletions(-)
Also doesn't apply cleanly :(
Powered by blists - more mailing lists