Hello,
I'd like to report and share data on a significant performance issue I've identified with LUKS full-disk encryption on a gmktec k6 running the latest Proxmox VE.
Summary
When performing an
Through extensive testing, I have confirmed that this is not due to a misconfiguration. The CPU governor, LUKS on-disk format, cipher, and data offset are all configured identically and optimally on both systems.
This table summarizes the key findings from both installations on the same machine.
I'd like to report and share data on a significant performance issue I've identified with LUKS full-disk encryption on a gmktec k6 running the latest Proxmox VE.
Summary
When performing an
fio benchmark on a standard LUKS-encrypted volume, the performance on Proxmox VE is approximately 8 times slower than on a fresh installation of Ubuntu 24.04 on the exact same hardware.Through extensive testing, I have confirmed that this is not due to a misconfiguration. The CPU governor, LUKS on-disk format, cipher, and data offset are all configured identically and optimally on both systems.
Hardware
- CPU: AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
- Storage: NVMe SSD
Comparative Analysis Summary
This table summarizes the key findings from both installations on the same machine.
[th]Feature / Test[/th][th]Proxmox VE Installation[/th][th]Ubuntu 24.04 Installation[/th][th]Result / Status[/th]
[td]fio Sequential Write[/td][td]~248 MB/s[/td][td]~1980 MB/s[/td][td]~8x Performance Difference[/td]
[td]NVMe Drive[/td][td]Samsung PM9B1 (PCIe 4.0)[/td][td]Samsung 980 (PCIe 3.0)[/td][td]Slower performance on faster hardware[/td]
[td]CPU Governor (under load)[/td][td]performance[/td][td]schedutil (Dynamic High-Perf)[/td][td]Identical (Optimal)[/td]
[td]Kernel Version[/td][td]6.8.12-11-pve[/td][td]6.11.0-26-generic[/td][td]Key Software Difference[/td]
[td]cryptsetup Version[/td][td]2.6.1[/td][td]2.7.0[/td][td](Minor Difference)[/td]
[td]LUKS Cipher[/td][td]aes-xts-plain64[/td][td]aes-xts-plain64[/td][td]Identical (Optimal)[/td]
[td]LUKS Data Offset[/td][td]16,777,216 bytes[/td][td]16,777,216 bytes[/td][td]Identical (Optimal)[/td]Export to Sheets
[th]
Feature / Test
[/th][th]Proxmox VE Installation
[/th][th]Ubuntu 24.04 Installation
[/th][th]Result / Status
[/th][td][/td][td]
fio Sequential Write~248 MB/s
[/td][td]~1980 MB/s
[/td][td]~8x Performance Difference
[/td][td]
NVMe Drive
[/td][td]Samsung PM9B1 (PCIe 4.0)
[/td][td]Samsung 980 (PCIe 3.0)
[/td][td]Slower performance on faster hardware
[/td][td][/td][td][/td][td]
CPU Governor (under load)
[/td][td]performanceschedutil (Dynamic High-Perf)Identical (Optimal)
[/td][td][/td][td][/td][td]
Kernel Version
[/td][td]6.8.12-11-pve6.11.0-26-genericKey Software Difference
[/td][td][/td][td][/td][td][/td][td]
cryptsetup Version2.6.12.7.0(Minor Difference)
[/td][td][/td][td][/td][td]
LUKS Cipher
[/td][td]aes-xts-plain64aes-xts-plain64Identical (Optimal)
[/td][td][/td][td][/td][td]
LUKS Data Offset
[/td][td]16,777,216 bytes16,777,216 bytesIdentical (Optimal)
[/td]