cryptsetup benchmark vs openssl speed, huge difference

John Smith <[email protected]> Tue, 24 Oct 2023 05:10:32 +0000
Newsgroups dev.linux.lists.cryptsetup
Message-ID <CA+5JoNqPHYVNKp+8LGj8tQtCfU4fK=GKOSgihfQko=_rCiLpGw@mail.gmail.com>
Is there a reason why the AES-XTS speed is vastly inferior to openssl?

cryptsetup benchmark
aes-xts        512b      2503.5 MiB/s      2514.3 MiB/s

openssl speed -evp aes-256-xts
type             16 bytes    64 bytes     256 bytes    1024 bytes
8192 bytes   16384 bytes
AES-256-XTS      633950.11k  2343011.04k  4795982.60k  6688253.60k
7698595.84k  7806526.67k

This is also borne out by the NVMe performance, or lack thereof.