OVS Revalidator and handler threads
Revalidator and handler threads are not coherent with lcore
Configure these threads accoding to confgiure lcores
Conflicts:
puppet/services/openvswitch.yaml
Change-Id: Idc3328658a4c5c21fd011c6c4f791e7993559f1a
Closes-Bug: #1822571
Depends-On: https://review.opendev.org/#/c/664239/
(cherry picked from commit 3c5ad2aab9
)
This commit is contained in:
parent
1c43d4985d
commit
87ba898133
|
@ -40,6 +40,20 @@ parameters:
|
|||
default: ""
|
||||
tags:
|
||||
- role_specific
|
||||
OvsHandlerCores:
|
||||
description: >
|
||||
Number of cores to be used for ovs handler threads.
|
||||
type: number
|
||||
default: 1
|
||||
tags:
|
||||
- role_specific
|
||||
OvsRevalidatorCores:
|
||||
description: >
|
||||
Number of cores to be used for ovs revalidator threads.
|
||||
type: number
|
||||
default: 1
|
||||
tags:
|
||||
- role_specific
|
||||
OvsDpdkMemoryChannels:
|
||||
description: Number of memory channels per socket to be used for DPDK
|
||||
type: string
|
||||
|
@ -150,6 +164,8 @@ outputs:
|
|||
vswitch::dpdk::memory_channels: OvsDpdkMemoryChannels
|
||||
vswitch::dpdk::socket_mem: OvsDpdkSocketMemory
|
||||
vswitch::dpdk::disable_emc: OvsDisableEMC
|
||||
vswitch::dpdk::revalidator_cores: OvsRevalidatorCores
|
||||
vswitch::dpdk::handler_cores: OvsHandlerCores
|
||||
- values: {get_param: [RoleParameters]}
|
||||
- values:
|
||||
OvsDpdkCoreList: {if: [l_cores_empty, {get_param: HostCpusList}, {get_param: OvsDpdkCoreList}]}
|
||||
|
@ -158,6 +174,8 @@ outputs:
|
|||
OvsDpdkDriverType: {if: [driver_not_set, {get_param: NeutronDpdkDriverType}, {get_param: OvsDpdkDriverType}]}
|
||||
OvsPmdCoreList: {if: [pmd_cores_empty, {get_param: NeutronDpdkCoreList}, {get_param: OvsPmdCoreList}]}
|
||||
OvsDisableEMC: {get_param: OvsDisableEMC}
|
||||
OvsRevalidatorCores: {get_param: OvsRevalidatorCores}
|
||||
OvsHandlerCores: {get_param: OvsHandlerCores}
|
||||
|
||||
upgrade_tasks:
|
||||
- name: Check openvswitch version.
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
features:
|
||||
- Introduced two new numeric parameters OvsRevalidatorCores and OvsHandlerCores to set values of n-revalidator-threads and n-handler-threads on openvswitch.
|
Loading…
Reference in New Issue