High CPU/slow after enabling TLS 1.3

book

Article ID: CTX697208

calendar_today

Updated On:

Description

TLS 1.3 introduces more computationally intensive cryptographic requirements. Without RSS configured optimally, the hashing algorithm may steer a disproportionate amount of SSL/TLS traffic to a single or a few Packet Engines, maxing out their CPU utilization while other cores remain idle. This imbalance leads to packet drops, latency, and an overall slow user experience. By enabling RSS and setting the RSS key type to symmetric, the appliance ensures that both forward and return traffic for a given connection are processed by the same Packet Engine, allowing for efficient, balanced CPU distribution and eliminating the single-core bottleneck.

100.00% NSPPE-01

60.00% NSPPE-02

60.00% NSPPE-03

Environment

This configuration change impacts core packet processing and traffic distribution on the appliance. It is highly recommended to test these changes in a non-production or staging environment first. Because altering RSS settings typically requires a system reboot to take full effect, this change should only be applied during an approved maintenance window to avoid unexpected traffic disruption or downtime. Proceed at your own risk.

Cause

Uneven distribution of computationally intensive TLS 1.3 cryptographic processing across the appliance's CPU cores (Packet Engines). Without Receive Side Scaling (RSS) enabled and configured with a symmetric key, the hardware network interface card (NIC) fails to distribute traffic evenly. It may hash and forward the inbound and outbound packets of a single traffic flow to different Packet Engines, or funnel a disproportionate amount of traffic onto a single core. This creates a severe bottleneck, driving specific cores to 100% CPU utilization while others remain underutilized, which ultimately causes packet queuing, dropped connections, and degraded performance.

Resolution

Execute the following commands in the CLI to enable RSS and set the symmetric key type:

Enable the RSS mode:


enable ns mode RSS
Set the RSS key type to symmetric:


set rsskeytype -rsstype SYMMETRIC
Save the running configuration:


save ns config
Note: Changing the RSS mode on a NetScaler/ADC appliance typically requires a system reboot for the hardware NICs to apply the new receive-side scaling queues. Plan to restart the appliance during a maintenance window.

Issue/Introduction

Enabling TLS 1.3 on the ADC/NetScaler appliance can result in high CPU utilization and degraded performance due to uneven traffic distribution across Packet Engines (PEs). This issue is resolved by enabling Receive Side Scaling (RSS) with a symmetric key, which evenly distributes the cryptographic processing load across all available CPU cores.