Monday, 18 June 2018

EXT4 fscrypt vs. eCryptfs vs. LUKS dm-crypt Benchmarks

Given the recent advancements of the EXT4 file-system with its native file-system encryption support provided by the fscrypt framework, here are benchmarks comparing the performance of an EXT4 file-system with no encryption, fscrypt-based encryption, eCryptfs-based encryption, and a LUKS dm-crypt encrypted volume.

For those wondering how these different file-system encryption options compare for performance, I ran some fresh benchmarks using a Linux 4.18 development kernel as of 14 June from the Linux Git tree. The options tested were EXT4, fscrypt, eCryptfs, and LUKS dm-crypt encryption with the EXT4 file-system and tested with the defaults unless otherwise noted. A Toshiba TR150 SATA 3.0 SSD was used as the drive under test for all of the benchmarking. Ubuntu 18.04 LTS was the basis for this benchmarking aside from the Linux kernel upgrade.

All of thes Linux file-system encryption benchmarks were carried out in a standardized and fully reproducible manner using the open-source Phoronix Test Suite benchmarking software.



Read the full article here by Phoronix

3 comments:

pg said...

The comparison of EXT4 fscrypt, eCryptfs, and LUKS dm-crypt provides a useful perspective on how different encryption approaches can influence filesystem performance. Information Security Projects can help students explore practical topics involving encryption, secure storage, authentication, and data protection while connecting security concepts with real-world system implementations.

pg said...

Benchmarking encrypted filesystems also demonstrates the importance of evaluating security solutions under reproducible conditions rather than considering protection in isolation. Cybersecurity Projects for Final Year Students can provide opportunities to investigate cybersecurity concepts through practical experiments, including security mechanisms, system protection, and performance-oriented evaluations.

pg said...

Benchmarking different filesystem encryption methods is valuable for understanding how security mechanisms behave under real workloads. Cybersecurity Projects for Final Year Students can provide practical opportunities to explore encryption, secure storage, system protection, and cybersecurity performance testing.