Why OWASP's 'equal' Argon2id configs ran at different speeds on a Linux server
A developer timed the five Argon2id configurations in OWASP's Password Storage Cheat Sheet, which the guidance describes as offering equal defense, on an 8 vCPU AMD EPYC VPS running Ubuntu. Four of the configurations performed similarly, but the 46 MiB setting took roughly three times longer. Page-fault counts showed that glibc's malloc was mmapping and zero-filling the full memory buffer on every call, because that allocation exceeded the 32 MiB dynamic threshold cap. Pinning the mmap threshold confirmed the explanation, and the smaller configurations slowed down once they lost buffer reuse. Scrypt and PBKDF2 settings that were also presented as equivalent showed similar spreads in timing on the same machine.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in