Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1473762

RE: [PATCH 1/1] Drivers: hv: Introduce a policy for controlling channel affinity

From KY Srinivasan <kys@microsoft.com>
Newsgroups linux.kernel
Subject RE: [PATCH 1/1] Drivers: hv: Introduce a policy for controlling channel affinity
Date 2016-08-31 20:00 +0200
Message-ID <schXQ-5q6-5@gated-at.bofh.it> (permalink)
References <rS4gN-7eR-5@gated-at.bofh.it> <scbfI-1kx-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



> -----Original Message-----
> From: Greg KH [mailto:gregkh@linuxfoundation.org]
> Sent: Wednesday, August 31, 2016 4:14 PM
> To: KY Srinivasan <kys@microsoft.com>
> Cc: linux-kernel@vger.kernel.org; devel@linuxdriverproject.org;
> olaf@aepfle.de; apw@canonical.com; vkuznets@redhat.com;
> jasowang@redhat.com; leann.ogasawara@canonical.com; K. Y. Srinivasan
> <kys@exchange.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@exchange.microsoft.com
> wrote:
> > From: K. Y. Srinivasan <kys@exchange.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@exchange.microsoft.com>
> > Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
> > ---
> >  drivers/hv/channel_mgmt.c |   68 +++++++++++++++++++++++++---------------
> ----
> >  include/linux/hyperv.h    |   23 +++++++++++++++
> >  2 files changed, 62 insertions(+), 29 deletions(-)
> 
> Also doesn't apply cleanly :(
> 

I will fix this and resend.

K. Y

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 1/1] Drivers: hv: Introduce a policy for controlling  channel affinity Greg KH <gregkh@linuxfoundation.org> - 2016-08-31 12:50 +0200
  RE: [PATCH 1/1] Drivers: hv: Introduce a policy for controlling  channel affinity KY Srinivasan <kys@microsoft.com> - 2016-08-31 20:00 +0200

csiph-web