EXT4 fscrypt vs. eCryptfs vs. LUKS dm-crypt Benchmarks
Written by Michael Larabel in Storage on 14 June 2018. Page 2 of 3. 5 Comments

Under the PostgreSQL database benchmark, LUKS dm-crypt yielded the least performance hit followed by EXT4's fscrypt and then the eCryptfs-based solution.

When it came to the CPU usage under the different scenarios, in this instance there wasn't any measurable difference comparing the unencrypted EXT4 tests to the different encrypted results.

While under SQLite, eCryptfs was no longer the slowest option but in fact the fastest of the encrypted-based tests. The Fscrypt solution was now the slowest albeit though not too much of a peformance hit in this test over the stock benchmark results.

Again, with a modern processor, no real difference in the CPU usage.

Under FS-Mark with multiple threads, LUKS dm-crypt provided the fastest encryption while fscrypt was the slowest.


Related Articles

Trending Linux News