Re: [vpp-dev] how to enable avx512 for all plugins and drivers?

2021-11-08 Thread Damjan Marion via lists.fd.io


There is no easy way. You can do node by node with ""set node function 
 ” CLI.

Problem is that in older versions of VPP we kept AVX512 off due to impact of 
power level transitions.

In newer versions we have AVX512 enabled for sklylake X / cascadelake but with 
256-bit register sizes
as in such situations use of AVX-512 instructions doesn’t trigger power level 
transitions.

So in your case turning on AVX512 will likely make things to be slower 
(assuming that you use skylake x, cascadelake).
I suggest using newer version of VPP.

— 
Damjan



> On 08.11.2021., at 02:58, haiyan...@ilinkall.cn wrote:
> 
> I'm using vpp 20.01, is there any way that I can enable it manually ?
> 
> haiyan...@ilinkall.cn
>  
> From: Damjan Marion via lists.fd.io
> Date: 2021-11-05 22:25
> To: haiyan.li
> CC: vpp-dev
> Subject: Re: [vpp-dev] how to enable avx512 for all plugins and drivers?
> 
> Based on your output looks like you are using quite old version of vpp.
> In the recent versions of VPP AVX-512 instructions are used automatically if 
> CPU supports them…
> 
> — 
> Damjan
> 
>> On 05.11.2021., at 10:52, haiyan...@ilinkall.cn wrote:
>> 
>> 
>> 
>> Dear vpp group:
>> 
>>I changed dpdk-input node to avx512 as this message said 
>> "vpp-dev@lists.fd.io | A question about enable AVX512 instruction in VPP", 
>> but others still uses avx2 as below
>> 
>> so how could i enable it for all the plugins and all the drivers? Thanks for 
>> any reply


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20445): https://lists.fd.io/g/vpp-dev/message/20445
Mute This Topic: https://lists.fd.io/mt/86836650/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] how to enable avx512 for all plugins and drivers?

2021-11-07 Thread haiyan...@ilinkall.cn
I'm using vpp 20.01, is there any way that I can enable it manually ?



haiyan...@ilinkall.cn
 
From: Damjan Marion via lists.fd.io
Date: 2021-11-05 22:25
To: haiyan.li
CC: vpp-dev
Subject: Re: [vpp-dev] how to enable avx512 for all plugins and drivers?

Based on your output looks like you are using quite old version of vpp.
In the recent versions of VPP AVX-512 instructions are used automatically if 
CPU supports them…

— 
Damjan

On 05.11.2021., at 10:52, haiyan...@ilinkall.cn wrote:

 

Dear vpp group:

   I changed dpdk-input node to avx512 as this message said 
"vpp-dev@lists.fd.io | A question about enable AVX512 instruction in VPP", but 
others still uses avx2 as below
so how could i enable it for all the plugins and all the drivers? Thanks for 
any reply






-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20442): https://lists.fd.io/g/vpp-dev/message/20442
Mute This Topic: https://lists.fd.io/mt/86836650/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] how to enable avx512 for all plugins and drivers?

2021-11-05 Thread Damjan Marion via lists.fd.io

Based on your output looks like you are using quite old version of vpp.
In the recent versions of VPP AVX-512 instructions are used automatically if 
CPU supports them…

— 
Damjan

> On 05.11.2021., at 10:52, haiyan...@ilinkall.cn wrote:
> 
> 
> 
> Dear vpp group:
> 
>I changed dpdk-input node to avx512 as this message said 
> "vpp-dev@lists.fd.io | A question about enable AVX512 instruction in VPP", 
> but others still uses avx2 as below
> 
> so how could i enable it for all the plugins and all the drivers? Thanks for 
> any reply
> 
> 
> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20436): https://lists.fd.io/g/vpp-dev/message/20436
Mute This Topic: https://lists.fd.io/mt/86836650/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] how to enable avx512 for all plugins and drivers?

2021-11-05 Thread haiyan...@ilinkall.cn

Dear vpp group:

   I changed dpdk-input node to avx512 as this message said 
"vpp-dev@lists.fd.io | A question about enable AVX512 instruction in VPP", but 
others still uses avx2 as below
so how could i enable it for all the plugins and all the drivers? Thanks for 
any reply



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20435): https://lists.fd.io/g/vpp-dev/message/20435
Mute This Topic: https://lists.fd.io/mt/86836650/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-