CRYPTSETUP-BENCHMARK(8) (NAME) cryptsetup-benchmark - KDF (SYNOPSIS) cryptsetup benchmark [<>] (DESCRIPTION) (KDF: key derivation function) . . --cipher --key-size . PBKDF --pbkdf --hash --iter-time --pbkdf-memory --pbkdf-parallel . (RAM) . . (kernel userspace crypto API) . <> <> ( CRYPTO_USER_API_SKCIPHER .config). <> : [--cipher, --key-size, --hash, --pbkdf, --iter-time, --pbkdf-memory, --pbkdf-parallel]. (OPTIONS) --batch-mode, -q . ! --verify-passphrase . --cipher, -c . --debug --debug-json . # . --debug-json JSON LUKS2 . --hash, -h PBKDF2 AF . --help, -? . --iter-time, -i ( ) PBKDF . 0 . --key-size, -s bits . . . /proc/crypto . /proc/crypto . open --type plain luksFormat . LUKS LUKS . cryptsetup --help . --pbkdf (PBKDF) LUKS. PBKDF : pbkdf2 ( PBKDF2 RFC2898) argon2i Argon2i argon2id Argon2id ( Argon2 ). LUKS1 PBKDF2 ( ). PBKDF LUKS2 cryptsetup --help . PBKDF (dictionary) (brute-force) . . PBKDF2 ( ) . Argon2i/id ( ) ( ) . . (--iter-time) --pbkdf-memory . . --pbkdf-parallel (CPU) . PBKDF LUKS2 cryptsetup-luksDump(8) . --pbkdf-force-iterations --pbkdf-memory --pbkdf-parallel . . (out-of-memory) . (embedded) . PBKDF: PBKDF2 ( ). PBKDF2 . Argon2i Argon2id ( CPU) ( ). (KiB) (GiB) . ( ) (MiB) (GiB) . ( ) --pbkdf-memory . ( ). : PBKDF . (brute-force) (dictionary) . . PBKDF . LUKS . Cryptsetup ( ) ( ) () . PBKDF (RAM) . (swap) . (overcommit) . PBKDF (out-of-memory) cryptsetup . --pbkdf-memory number PBKDF ( Argon2i/id ). PBKDF . PBKDF2 . --pbkdf-parallel number PBKDF ( ). CPU . PBKDF2 . --usage . --version, -V . (REPORTING BUGS) cryptsetup . --debug . (SEE ALSO) Cryptsetup FAQ cryptsetup(8) integritysetup(8) veritysetup(8) CRYPTSETUP cryptsetup . cryptsetup 2.8.7 2026-07-21 CRYPTSETUP-BENCHMARK(8)