We need to land the 2.11 version of apparmor which provides several performance improvements. Its can be up to about 35% faster.
Another potential solution not discussed so far is kicking off a low priority background process. This has its own issues, it would take memory and processing resources from the foreground task potentially causing a laggy user experience while it runs. However with a low enough priority and a proper OOM score (kill it before the foreground task) I think its a potential interim solution.
Sure we want a good user experience.
We need to land the 2.11 version of apparmor which provides several performance improvements. Its can be up to about 35% faster.
Another potential solution not discussed so far is kicking off a low priority background process. This has its own issues, it would take memory and processing resources from the foreground task potentially causing a laggy user experience while it runs. However with a low enough priority and a proper OOM score (kill it before the foreground task) I think its a potential interim solution.