nss-threads-option {4T-EIF | 4T-NOEIF | 2T}
On FortiGates with multiple NP7 processors operating with hyperscale enabled, you can use the following command to optimize NP7 network session setup (NSS) engine performance.
config system npu
set nss-threads-option {4T-EIF | 4T-NOEIF | 2T}
end
Where:
4T-EIF
the NSS is configured with four threads and the Endpoint Independent Filtering (EIF) feature is allowed (the default). NSS with four threads supports the maximum NP7 Connections Per Second (CPS) performance.
4T-NOEIF
the NSS is configured with four threads and the EIF feature is not allowed. Also supports the maximum NP7 CPS performance.
2T
the NSS is configured with two threads and the EIF feature is allowed. This setting reduces the maximum NP7 CPS performance.
Changing the nss-threads-option
causes the FortiGate to restart.
A configuration change that causes a FortiGate to restart can disrupt the operation of an FGCP cluster. If possible, you should make this configuration change to the individual FortiGates before setting up the cluster. If the cluster is already operating, you should temporarily remove the secondary FortiGate(s) from the cluster, change the configuration of the individual FortiGates and then re-form the cluster. You can remove FortiGate(s) from a cluster using the Remove Device from HA cluster button on the System > HA GUI page. For more information, see Disconnecting a FortiGate. |
If your system includes hyperscale firewall policies with EIF enabled, you can keep the default setting of 4T-EIF
for the best maximum CPS performance. However, in heavy traffic conditions, operating the NSS with four threads with hyperscale firewall policies with EIF enabled may cause errors and lead to sessions being lost. If your hyperscale system with EIF enabled experiences these issues under heavy traffic, you can select 2T
to operate the NSS with two threads. Operating the NSS with two threads reduces maximum CPS performance, but with two threads NP7 CPS performance is still much better than CPS performance on non-hyperscale systems.
If all of your hyperscale firewall policies disable EIF you can select 4T-NOEIF
for optimal CPS performance and stability.