Page 1 of 1

High ksoftirqd/1 cpu usage with openvpn

Posted: Wed Feb 21, 2024 3:55 pm
by dedicatedorange
Hi,
Using openvpn on an aws instance using Amazon Linux 2. When a client connects and tries to transfer a file (from a file on another server), it goes quite slow and on the instance the cpu usage is almost entirely used (99%) by ksoftirqd/1 for the duration of the transfer.

Is there any pointers to troubleshoot this, I can find very little in relation to ksoftirqd/1 in relation to openvpn, has anyone else seen this?

Re: High ksoftirqd/1 cpu usage with openvpn

Posted: Wed Feb 21, 2024 5:25 pm
by TinCanTech
A quick search for ksoftirqd using duckduckgo gives plenty of results about CPU usage.

Re: High ksoftirqd/1 cpu usage with openvpn

Posted: Fri Jan 10, 2025 10:05 am
by allan735
High CPU usage by ksoftirqd/1 during OpenVPN file transfers on your Amazon Linux 2 instance can be addressed by optimizing OpenVPN configuration (e.g., cipher selection, multithreading), checking network interface settings (MTU, offloading), and monitoring for network congestion. Consider increasing CPU resources if necessary and use tools like perf for in-depth analysis.