touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #28224
[Bug 1383858] [NEW] use 'no-expr-simplify' parser option for clicks
Public bug reported:
AppArmor has several optimization options that can be used to help speed
up policy compiles for certain types of policy. Currently, we are using
expr tree simplification option by default, which has dramatic affects
on policy compiles for the evince profile. However, with click profiles
not using expr tree simplification (ie, adding the '-O no-expr-simplify'
option) can improve click policy generation by 44%.
The proper fix is to adjust expr tree simplification to not be more
efficient, however, in the short term we can adjust the apparmor upstart
job to use '-O no-expr-simplify' when compiling policy in
/var/lib/apparmor/profiles but leave /etc/apparmor.d alone. We can do
the same with click-apparmor.
** Affects: apparmor (Ubuntu)
Importance: High
Status: Triaged
** Affects: click-apparmor (Ubuntu)
Importance: High
Status: Triaged
** Also affects: click-apparmor (Ubuntu)
Importance: Undecided
Status: New
** Changed in: apparmor (Ubuntu)
Status: New => Triaged
** Changed in: click-apparmor (Ubuntu)
Status: New => Triaged
** Changed in: apparmor (Ubuntu)
Importance: Undecided => High
** Changed in: click-apparmor (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1383858
Title:
use 'no-expr-simplify' parser option for clicks
Status in “apparmor” package in Ubuntu:
Triaged
Status in “click-apparmor” package in Ubuntu:
Triaged
Bug description:
AppArmor has several optimization options that can be used to help
speed up policy compiles for certain types of policy. Currently, we
are using expr tree simplification option by default, which has
dramatic affects on policy compiles for the evince profile. However,
with click profiles not using expr tree simplification (ie, adding the
'-O no-expr-simplify' option) can improve click policy generation by
44%.
The proper fix is to adjust expr tree simplification to not be more
efficient, however, in the short term we can adjust the apparmor
upstart job to use '-O no-expr-simplify' when compiling policy in
/var/lib/apparmor/profiles but leave /etc/apparmor.d alone. We can do
the same with click-apparmor.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1383858/+subscriptions
Follow ups
-
[Bug 1383858] Re: expr-simplify optimization slows click policy compilation
From: Launchpad Bug Tracker, 2014-10-30
-
[Bug 1383858] Re: expr-simplify optimization slows click policy compilation
From: Launchpad Bug Tracker, 2014-10-29
-
[Bug 1383858] Re: expr-simplify optimization slows click policy compilation
From: Launchpad Bug Tracker, 2014-10-29
-
[Bug 1383858] Re: expr-simplify optimization slows click policy compilation
From: Jamie Strandboge, 2014-10-29
-
[Bug 1383858] Re: expr-simplify optimization slows click policy compilation
From: Launchpad Bug Tracker, 2014-10-29
-
[Bug 1383858] Re: expr-simplify optimization slows click policy compilation
From: Ubuntu Foundations Team Bug Bot, 2014-10-29
-
[Bug 1383858] Re: expr-simplify optimization slows click policy compilation
From: Jamie Strandboge, 2014-10-28
-
[Bug 1383858] Re: expr-simplify optimization slows click policy compilation
From: Jamie Strandboge, 2014-10-28
-
[Bug 1383858] Re: expr-simplify optimization slows click policy compilation
From: Jamie Strandboge, 2014-10-28
-
[Bug 1383858] Re: expr-simplify optimization slows click policy compilation
From: Jamie Strandboge, 2014-10-26
-
[Bug 1383858] Re: expr-simplify optimization slows click policy compilation
From: Jamie Strandboge, 2014-10-23
-
[Bug 1383858] Re: expr-simplify optimization slows click policy compilation
From: Jamie Strandboge, 2014-10-22
-
[Bug 1383858] Re: expr-simplify optimization slows click policy compilation
From: Launchpad Bug Tracker, 2014-10-22
-
[Bug 1383858] Re: expr-simplify optimization slows click policy compilation
From: Launchpad Bug Tracker, 2014-10-22
-
[Bug 1383858] Re: expr-simplify optimization slows click policy compilation
From: Jamie Strandboge, 2014-10-22
-
[Bug 1383858] Re: expr-simplify optimization slows click policy compilation
From: Jamie Strandboge, 2014-10-22
-
[Bug 1383858] Re: expr-simplify optimization slows click policy compilation
From: Jamie Strandboge, 2014-10-22
-
[Bug 1383858] Re: improve click apparmor policy times by using 'no-expr-simplify' parser option for click policy
From: Jamie Strandboge, 2014-10-21
-
[Bug 1383858] Re: improve click apparmor policy times by using 'no-expr-simplify' parser option for click policy
From: Jamie Strandboge, 2014-10-21
-
[Bug 1383858] [NEW] use 'no-expr-simplify' parser option for clicks
From: Jamie Strandboge, 2014-10-21
References