By mbp on Aug 07, 2009
I just integrated the fix for6850713 32bit openssl x86 performance can be greatly improved by enabling hand-crafted asm
The result is 32bit applications on x86 using OpenSSL will see large performance increases for many ciphers. Most modern Linux distributions enable the same ASM so fixing this brings us up to par with Linux. Especially nice are the speed-ups for AES. On my test machines I see a 2-3x speedup for AES.
One of the consumers of OpenSSL in OpenSolaris is SunSSH. By default SunSSH will prefer to use AES ciphers when possible - see Ciphers in ssh_config(1)/sshd_config(4).I ran a couple of quick tests to see what sort of performance improvement would be seen when using SunSSH with the updated OpenSSL libraries. I ran the following on my x2100 test machine with the old libraries and then again with the new libraries.
time dd if=/dev/zero bs=1024k count=500 | ssh hst cat >/dev/null'and got back:
First run (with original OpenSSL libraries).
real 17.7 user 0.0 sys 0.6
Second run (with updated OpenSSL libraries).
real 9.5 user 0.0 sys 0.6
Overall a very nice speed-up! Expect to see this in build 122.