FortiGate NPU vs CPU Processing: Hardware Acceleration Limits
FortiGate firewalls use two primary processing paths: the Network Processing Unit (NPU) for hardware-accelerated traffic and the CPU for policy enforcement, inspection, and logging. Understanding which traffic gets offloaded, which models support NPU acceleration, and how to identify CPU bottlenecks is essential for diagnosing performance issues and right-sizing deployments.
NPU Offloading Architecture
FortiGate NPUs are custom-built silicon designed to handle stateful packet forwarding, NAT, and basic security checks at line rate without consuming CPU cycles. When a flow meets offload criteria, the NPU establishes a session and processes subsequent packets in hardware. This frees the CPU to handle complex tasks: deep packet inspection, antivirus scanning, SSL decryption, and logging.
Not all traffic can be offloaded. Flows requiring application layer inspection, user authentication, or advanced threat detection must be punted back to the CPU. Similarly, traffic matching policies with logging enabled, those using certain proxy modes, or involving unsupported protocols will bypass the NPU entirely.
NPU Support by Model Generation
- →FortiGate 3000 series and above: All models include NPU; older firmware may require enabling via npu-offload command
- →FortiGate 1000 series: NPU present on 1500DT and higher; 1000D, 1000A lack NPU
- →FortiGate 500 series: NPU available on 501F and newer; 500A, 500D have CPU-only architecture
- →FortiGate 100 series and below: CPU-only processing; no hardware acceleration available
- →FortiGate 6000 and 7000 series: Multi-NPU designs with per-NPU throughput limits; CPU still required for inspection
Firmware version also matters. Older releases may not fully utilize available NPU resources, and performance enhancements are common in maintenance updates. Always verify your model's NPU capability in the datasheet before assuming acceleration is active.
Identifying CPU Bottlenecks
When CPU utilization climbs while NPU throughput remains low, traffic is being punted to the CPU faster than it can be processed. Common causes include policies with logging enabled, SSL inspection on all flows, antivirus scanning, or traffic patterns that don't match offload-friendly criteria.
Use the FortiGate CLI to inspect session offloading status and CPU load:
diagnose hardware npu np6 port list diagnose hardware npu np6 session list get system performance get system resources
The first two commands show which sessions are offloaded to the NPU and which remain on the CPU. The get system performance output displays real-time CPU, memory, and session counts. High CPU with low offloaded session count indicates policy or feature misalignment.
Troubleshooting and Optimization
- →Verify NPU is enabled: check npu-offload in system settings and confirm no errors in system logs
- →Review policies: disable unnecessary logging, use flow-based inspection instead of proxy mode where possible
- →Check SSL inspection scope: limit decryption to necessary traffic; exclude trusted internal sites
- →Monitor session distribution: use diagnose commands to confirm offloading is occurring for expected flows
- →Update firmware: performance and offload efficiency improve significantly in maintenance releases
- →Validate hardware health: run diagnose hardware npu status to detect NPU failures or degradation
If CPU remains saturated despite offload-friendly policies, the model may be undersized for your workload. Compare actual throughput against datasheet specifications for your model and feature set. Remember that published throughput assumes specific traffic profiles; real-world mixes often perform lower.