Does AppArmor decrease the system performance?

Does AppArmor decrease the system performance? I have a slow system (900 MHz CPU) which has AppArmor because it was installed by default I would like to know if it become faster if I remove it, security is less important than performance on that system.

Answer

Of course, it slows down your system. To which extent depends on what your applications do. File system accesses are slower (because they have to be checked) and all the other things that can be configured. But if a process does not open files or sockets and so on then it should not be affected at all (after initialization).

I just had a short look at my favorite search engine (why didn’t you?) and the result is that the impact is irrelevant in most cases.

Attribution
Source : Link , Question Author : Petr , Answer Author : Hauke Laging

Leave a Comment