3 ms·
SSL/TLS & Perfect Forward Secrecy
- willvarfar 15y agoGood stuff, and well explained. Of course I got a bit surprised by the numbers; with a RSA 2K key can you only do one handshake per core every 3 seconds? IIRC you were benchmarking over 1K connections, but perhaps you want to clarify that, and describe the hardware its on and how it scales with core-count. And what are the benchmarks for resumed sessions?
- obtu 15y agoAre you referring to the second graph, with bars of CPU time? It shows the CPU time spent making 1K handshakes (with six hardware threads proceeding sequentially, but since CPU time is summed, using a single thread would have given the same total).
- vbernat 15y agoThe bar are the time spent in CPU for 1000 handshakes. This means that it takes 3.81 s to do 1000 handshakes. CPU was a Q9400 @ 2.66GHz. However, this should not be taken as a general purpose benchmark since only one handshake is running at any moment. The benchmark is only here to compare with other conditions. You can find more accurate benchmarks here: http://vincent.bernat.im/en/blog/2011-ssl-benchmark-round2.html http://vincent.bernat.im/en/blog/2011-ssl-benchmark-round2.h...