[dm-crypt] [PATCH] Speed up keyfile reading

Michael Kjörling michael at kjorling.se
Sun Aug 13 18:56:56 CEST 2017

On 13 Aug 2017 17:33 +0200, from rz at linux-m68k.org (Richard Z):
> no huge surprise, you are measuring the library, syscall and VFS overhead.

Good point, though; if I'm not messing up the powers of ten involved
(which has happened before), ~8M syscalls in ~30 seconds means on the
order of four microseconds per syscall all the way from userspace and
back. Put that way, it's not quite as horrible as needing half a
minute to read an 8 MB file.

Michael Kjörling • https://michael.kjorling.semichael at kjorling.se
                 “People who think they know everything really annoy
                 those of us who know we don’t.” (Bjarne Stroustrup)

More information about the dm-crypt mailing list