How Linux dm-crypt Encrypts Your Drives Without Breaking Performance
from The Linux Podcast with Fexingo: Open Source Operating Systems, Distros, and Server Stack Hosted by Fexingo
Lucas and Luna dive into Linux's dm-crypt subsystem — the kernel-level disk encryption that powers LUKS and underpins everything from laptop full-disk encryption to cloud VM storage. They break down how dm-crypt uses a device-mapper target to sit transparently between the filesystem and the physical disk, encrypting data in flight with AES-XTS on block boundaries. Lucas explains why the crypto overhead is often smaller than you think — modern CPUs with AES-NI instructions can sustain multi-gigabyte-per-second throughput, and the real bottleneck is usually the drive itself. They cover practical trade-offs: cryptsetup defaults, key derivation with Argon2 in LUKS2, the performance hit from using a slow passphrase vs. a key file, and how dm-crypt interacts with TRIM on SSDs. Luna asks about side-channel attacks and whether dm-crypt protects against cold-boot attacks — the answer is nuanced. This episode is for anyone who locks their laptop, provisions encrypted cloud instances, or just wants to know what happens when they type 'cryptsetup luksOpen'. No prior crypto background needed. #Linux #dm-crypt #LUKS #DiskEncryption #Kernel #DeviceMapper #AES-NI #Cryptsetup #Argon2 #FullDiskEncryption #SSD #TRIM #ColdBootAttack #Technology #OpenSource #FexingoBusiness #BusinessPodcast #LinuxPodcast Keep every episode free: buymeacoffee.com/fexingo
Embed this episode
No transcript yet.