When multiple wired forwarding flows are processed by a single CPU core, OpenWrt's Packet Steering can distribute some of the receive processing. The actual benefit depends on the hardware queues, drivers, and software paths of the device. Readings before and after processing the same load on the device best illustrate the effect of this feature.
Only change this setting
Keep the original offload and SQM settings. Test the same set of single and multi-stream scenarios with Packet Steering disabled and enabled. The router reads /proc/softirqs and /sys/class/net/<设备>/queues/rx-*/rps_cpus. The latter determines which queues are available and can offload processing to additional CPU queues.
Measuring packet steering with the same traffic batch before and after enabling/disabling the switch
Fix the network interface and packet length, and separately run single-connection and multi-connection tests. After enabling Packet Steering, record soft interrupt distribution, packet loss, and test application performance.
When multi-core load becomes more balanced and throughput improves, retain this configuration. If good hardware RSS is already available, or if single-stream endpoints are rate-limited, or if full load causes increased latency, adjust based on actual business requirements. Archive per-core utilization and packet loss before and after the change.
Retain only when more balanced and actual business performance does not degrade. Observe separately when encountering wireless driver or hardware offload state changes; do not mix with baseline measurements.
Check the terminal output

Comments