On Fri, 8 Jun 2018 17:30:15 +0200
Dimitry Sibiryakov <s...@ibphoenix.com> wrote:

> 08.06.2018 17:19, Hristo Stefanov wrote:
> > After running some benchmarks of CBC and XTS mode it turns out XTS
> > is about 4 times faster on the following hardware:
> > 
> > Intel(R) Core(TM) i5-2500 CPU
> 

It has 4 cores but the openssl benchmark is single threaded. Here are
the repeated benchmarks with the openssl process pinned to a single
core on the Intel(R) Core(TM) i5-2500 CPU:

$ sudo taskset -c 0 openssl speed -elapsed -evp aes-128-cbc

The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  
16384 bytes
aes-128-cbc     582968.81k   677468.97k   700901.55k   714349.57k   714599.08k  
 712927.91k

$ sudo taskset -c 0 openssl speed -elapsed -evp aes-128-xts

The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  
16384 bytes
aes-128-xts     274685.32k   966377.81k  2179320.66k  3372390.40k  4011008.00k  
4068474.88k

Another thing proving I didn't screw up the test result is that 
Intel(R) Xeon(R) W-2155 CPU has 10 physical cores and the difference
is not 10 times.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to