Maintaining system responsiveness under heavy IO load due to FDE
Hi all.
I have a system with LUKS encryption enabled for the entire root partition. My processor is a bit older (i5-7600k + exploit mitigations), so during heavy IO load (upgrading packages, downloading large files), the CPU often spikes as the encryption occurs while things get written to disk.
I've tried tuning sysctls, and currently I can maintain minimal responsiveness (no lockups) with
vm.dirty_background_bytes = 402653200
vm.dirty_bytes = 402653200
but things are still quite sluggish.
Does anyone know of a better way to improve this?
About this post
- Posted
- Archived
- Score
- 3 · 100% up
- Kind
- Text
- ID
- mtgd48
3 comments
I have an old i7-4700mq and i don't have the issues you've described.. I have btrfs on luks with sway, but i doubt it would do as big of a difference considering it's a laptop with an old haswell chip.. While this does not directly help I'm a bit unsure you pinpointed the issue here.
I have an older, weaker processor (i7-6650U) and I also don't have the issue you described with an encrypted root partition.
For keeping my systems generally responsive I like to use ananicy but I haven't done in depth testing to determine if it's more than a placebo.
No problems here either: Thinkpad T570, Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz, 20GB ram, SSD, FDE.
I don't doubt you have a problem, except it's probably not dmcrypt related.