Topic: [SOLVED] Upload speeds slower in Windows?
I ran some upload speed tests recently using curl as a client to apache httpd on localhost and compared SSL backends OpenSSL 1.0.2g, WinSSL (Windows 7) and wolfSSL v3.9.0. wolfSSL was the slowest by a lot and I can't figure out why. I asked my colleague to test in Linux and he could not reproduce using v3.7.0. I tried v3.7.0 but I get the same speeds. I thought maybe it could be the options I was using so I recompiled wolfSSL v.3.9.0 in Visual Studio using nothing but OPENSSL_EXTRA. Still, the speeds are slower by comparison.
For example:
HTTPS: 'DLL Release - DLL OpenSSL' x64 - CURL_MAX_WRITE_SIZE 16384
Transfer rate: 224976 KB/sec (4000000000 bytes in 17 seconds)
HTTPS: 'DLL Release - DLL wolfSSL' x64 - CURL_MAX_WRITE_SIZE 16384
Transfer rate: 15148 KB/sec (4000000000 bytes in 258 seconds)
I did some profiling and GHASH was taking most of the time. Do you have any idea what would cause such a significant difference? Have you noticed a performance decrease in Windows at high speeds?