Comment 2 for bug 949891

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: apparmor upload has severely regressed 2012-03-06 boot time

This corresponds to the evince upload and is related to bug #940362 somewhat. Any time a profile changes or the kernel changes in a way that requires recompiling the profiles there is a one time performance cost of recompiling those profiles. evince in particular takes a long time to compile on some systems. We had to back out the minimization patch to workaround bug #940362, but even with minimization you would still have seen a significant spike (guessing here-- on same system it might have been 20-25 seconds).

We should be using binary caches now so that if the profile doesn't change and the kernel doesn't change then we don't have to recompile and we just load the profiles from cache. It looks like the 2.7.99 upload isn't updating the cache properly as I only see one profile in /etc/apparmor.d/cache, but we should have six.