diff options
author | Damjan Marion <damarion@cisco.com> | 2019-03-12 19:59:22 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-03-12 19:57:26 +0000 |
commit | 6459315569f49bcc2b3572f169192ded7323598f (patch) | |
tree | 902c010613326a07c8516994b9455cd44cebb849 /src/vcl/vcl_locked.c | |
parent | 176bcb28d845f74be5782fc676d0dd1adf0c12bb (diff) |
Use AVX2 as default even on AVX512 systems
Use of scalar AVX512 instructions impacts the maximum CPU frequency
as they require CPU to request level 1 power license.
So sparse use of AVX512 like we do, typically causes more harm than
improvement.
This patch makes AVX2 higher priority than AVX512, but still there
is option to change it on per-node basis:
vpp# set node function ethernet-input avx512
Change-Id: I42e03510a6efc1756e22fbb70e8c76d7f74f59d7
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vcl/vcl_locked.c')
0 files changed, 0 insertions, 0 deletions