▲ | vlovich123 3 days ago | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> these days latest SSD are way faster than memory compression That's a really provocative claim. Any benchmarks to support this? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
▲ | fpoling 3 days ago | parent [-] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
On my laptop with Samsung PRO 990 SSD and Intel Core Ultra 7 165U CPU with 64G RAM under Debian 13: Read test via coping to RAM memory from LUKS-encrypted BTRFS against /tmp that is a standard RAM disk:
Write test:
Preparing RAM disk with zram compression to emulate zram:
Write test to lz4-compressed ZRAM:
Read test from lz4-compressed ZRAM:
So SSD with LUKS is 1.5 times faster than zram for read and 5 times faster than zram for write.Note without LUKS but native SSD encryption the speed of SSD will be at least 2 times faster. Also using recent kernel is important so LUKS uses CPU instructions for AES encryptions. Without that SSD under LUKS will be several times slower. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|