Categories
Encryption Linux Performance

Linux dm-crypt Performance Improved

I recently installed a new home NAS server. For data protection all disks should be encrypted using dm-crypt. However performance was far from what I expected. After searching some time I found the reason (and a proposed solution) in a very interesting article of Ignat Korchagin (also a video talk about this topic is available […]

Categories
Encryption Kernel Linux Performance

Linux dm-crypt Performance – Modifications

Building kernel modules To build the kernel modules we first need to install the kernel sources matching the latest kernel. So first we download and install the required packages: And now prepare a kernel source tree for compilation: Now we should have the very same source tree that build our currently running kernel (well at […]

Categories
Encryption Kernel Linux Performance

Linux dm-crypt Performance – Theory

Interested in how performance estimates can be done and what’s the theory behind it? You’re lucky: Here we go. As a start we need some numbers to work with. We got them here by doing some benchmarks with a RAM disk and the Linux cryptsetup tool. Both tests report the maximum possible performance of each […]