Merge "vRouter thread count options updated" into fuel9-kilo
This commit is contained in:
@@ -114,15 +114,6 @@ class contrail::compute::vrouter {
|
||||
'VIRTUAL-HOST-INTERFACE/ip': value => "${contrail::address}/${contrail::netmask_short}";
|
||||
'VIRTUAL-HOST-INTERFACE/physical_interface': value => $contrail::phys_dev;
|
||||
'SERVICE-INSTANCE/netns_command': value => '/usr/bin/opencontrail-vrouter-netns';
|
||||
} ->
|
||||
|
||||
ini_setting { 'vrouter-threadcount':
|
||||
ensure => present,
|
||||
path => '/etc/contrail/supervisord_vrouter.conf',
|
||||
section => 'supervisord',
|
||||
setting => 'environment',
|
||||
value => 'TBB_THREAD_COUNT=8',
|
||||
notify => Service['supervisor-vrouter'],
|
||||
}
|
||||
|
||||
if $contrail::gateway {
|
||||
@@ -135,6 +126,11 @@ class contrail::compute::vrouter {
|
||||
'DEFAULT/physical_interface_address' : value => $contrail::phys_dev_pci;
|
||||
'DEFAULT/physical_interface_mac': value => $dpdk_dev_mac;
|
||||
}
|
||||
} else {
|
||||
contrail_vrouter_agent_config {
|
||||
'TASK/thread_count': value => '8';
|
||||
'FLOWS/thread_count': value => '2';
|
||||
}
|
||||
}
|
||||
|
||||
contrail_vrouter_nodemgr_config {
|
||||
|
||||
Reference in New Issue
Block a user