I have a TP-link C7 v5, to save some flash space, I have decided to move to openvpn-mbedtls. When I do a speedtest, the performance was 6 mbps. When I move back to openvpn-ssl, I get 12 mbps. Why is the performance on openvpn-mbedtls so bad compare to openvpn-ssl?
openssl one can use dco to do crypto in kernel, mbedtls can not.
you need to try different algorithms, chacha is faster on low-end cpus while AES is accelerated on most PC-s.
My vpn provider cannot use poly chacha, but thanks for the heads up. dco is not currently compiled in 24.10?
Check HW / SW:
openssl engine -pre DUMP_INFO devcrypto