Skip to content
How Linux dm-crypt Encrypts Your Drives Without Breaking Performance episode artwork

Jul 20, 2026 9 min

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

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

How Linux dm-crypt Encrypts Your Drives Without Breaking Performance

0:00 9:52

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of The Linux Podcast with Fexingo: Open Source Operating Systems, Distros, and Server Stack?

This episode is 9 minutes long.

When was this The Linux Podcast with Fexingo: Open Source Operating Systems, Distros, and Server Stack episode published?

This episode was published on July 20, 2026.

Can I download this The Linux Podcast with Fexingo: Open Source Operating Systems, Distros, and Server Stack episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.