diff options
author | 2016-09-02 05:58:23 -0700 | |
---|---|---|
committer | 2016-09-02 17:22:51 +0200 | |
commit | 509879bdb30b8e12bd0b3cb0bc8429f01478df4b (patch) | |
tree | a2e9e25f47bec693795bd9493bdcce91bd61e38f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Drivers: hv: ring_buffer: count on wrap around mappings in get_next_pkt_raw() (diff) | |
download | wireguard-linux-509879bdb30b8e12bd0b3cb0bc8429f01478df4b.tar.xz wireguard-linux-509879bdb30b8e12bd0b3cb0bc8429f01478df4b.zip |
Drivers: hv: Introduce a policy for controlling channel affinity
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@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions