Mimiko wrote
The best way to tweak is compile the source to your needs by eliminating unneeded options.
it doesn't seem that openvpn is the bottleneck, it's just the entry point to the server... the problem might be OS related, or... hardware related, or both
Would be interesting to know how far can you push max users on this type of hardware... Any experience with this?
defsdoor wrote
I'm guessing you have a 4 core CPU and it's 25% usage is one core loaded to the max.
You said you have multiple instances of openvpn running - bind each to a different core.
there are 7 instances of openvpn running.
exact core loads on peak would be something like:
core 1: 70%
core 2: 5%
core 3: 20%
core 4: 5%
that's average 25% usage. most of the time - cpu usage is lower than that and the load on a single openvpn instance is lower than 20% cpu usage.