Benchmarking The Performance Overhead To The Linux Kernel Runtime Guard
When kicking things off with the very common SQLite embedded database library, the cost of running just one set of SQLite tests saw minimal overhead from having LKRG active.
But when moving to eight concurrent tests of SQLite for much more I/O activity, LKRG saw a very noticeable hit to the performance.
Fortunately though for most of the I/O benchmarks conducted by FIO the hit was small but noticeable.
Having LKRG did yield a minor impact to the Linux kernel's paging performance as measured by pmbench.