Ubuntu 19.10 Laptop Disk Encryption Benchmarks
A Phoronix Premium reader recently inquired about the performance impact of LUKS LVM-based disk encryption that continues to be offered by Ubuntu's Ubiquity installer on new installations and if it's worthwhile. As I've said for many years, it's certainly recommended for production systems -- particularly laptops where there are greater chances of theft -- and the performance impact isn't generally all that bad with modern CPUs and the likes of AES-NI.
For that reader who was weighing his options for a holiday laptop upgrade, I ran some fresh tests of Ubuntu Linux installed with its default EXT4 setup without any encryption and then again employing the standard encrypted option for Ubuntu.
With this Dell XPS laptop, there was a minor performance hit -- much more pronounced for synthetic I/O workloads but much less for the real-world workloads.
SQLite took a pronounced hit from full-disk encryption on Ubuntu 19.10, but in this test it's relentless SQLite operations compared to most applications leveraging SQLite to non-continuous reads/writes (SELECT / UPDATE / INSERT operations). FIO also took some hits, but it's a synthetic disk test in this configuration.
In more of the real-world workloads, the Ubuntu 19.10 hit from full-disk encryption was quite limited as shown by all the results on this OpenBenchmarking.org result file. For those setting up new Linux installations this holiday, I continue to definitively recommend full-disk encryption over other options.
For that reader who was weighing his options for a holiday laptop upgrade, I ran some fresh tests of Ubuntu Linux installed with its default EXT4 setup without any encryption and then again employing the standard encrypted option for Ubuntu.
With this Dell XPS laptop, there was a minor performance hit -- much more pronounced for synthetic I/O workloads but much less for the real-world workloads.
SQLite took a pronounced hit from full-disk encryption on Ubuntu 19.10, but in this test it's relentless SQLite operations compared to most applications leveraging SQLite to non-continuous reads/writes (SELECT / UPDATE / INSERT operations). FIO also took some hits, but it's a synthetic disk test in this configuration.
In more of the real-world workloads, the Ubuntu 19.10 hit from full-disk encryption was quite limited as shown by all the results on this OpenBenchmarking.org result file. For those setting up new Linux installations this holiday, I continue to definitively recommend full-disk encryption over other options.
6 Comments