Performance Tuning

From Tech-Wiki
Jump to: navigation, search

Back to Gaia

Set these on $FWDIR/boot/modules/fwkern.conf

fwmultik_input_queue_len=4096
fwkern_optimize_drops_support=1
activate_optimize_drops_support_now=1
fwha_freeze_state_machine_timeout=90
fwha_enable_state_machine_by_vs=1
cphwd_nat_templates_support=1
cphwd_nat_templates_enabled=1

On clish:

set interface eth0 rx-ringsize 2048

In SmartDashboard, open Security Gateway object and Go to 'Optimizations' pane. The 'Calculate the maximum limit for concurrent connections' should be set to 'Automatically', or put 150k (the default 50k is too tight)

Ensure CoreXL is enabled in cpconfig, and SecureXL (using 'fwaccel stat')

Consider to use CPU Affinity for interfaces (using 'sim affinity -s')

Enable Multi-queue (using 'cpmq set')

Check the sk98348 for proper documentation on performance optimization Best Practices.

Disable the monitoring performance counters for Traffic Connections and Traffic Throughput on gateway properties.

Disable log for DNS and Proxy rules as the information is stored in application's log, thus the firewall log adds almost no value.

And on Dashboard filter for Hits:High and Very High and move these rules upwards.

Check the Performance Tuning Administration Guide for R77 / R80