mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 10:07:12 +00:00
Update CompilerImprovements
parent
ebb3277b1d
commit
6cc8ac0920
@ -68,15 +68,28 @@ performance over each release.
|
||||
- since each stage is separate but dependent, separate threads could work on a given thread
|
||||
|
||||
|
||||
I# Tunables to reduce memory
|
||||
# Tunables to reduce memory
|
||||
|
||||
- O expr-simplify
|
||||
- O diff-encode
|
||||
- j 0
|
||||
- ensure parser is stripped
|
||||
* -O expr-simplify (may slow small policy compiles, will speed up large compiles)
|
||||
* -O diff-encode (will slow down small compiles slightly, will speed up large compiles)
|
||||
* -j N (will slow policy compiles that can happen in parallel)
|
||||
** N=0 (no workers, everything done by driver, requires 3.0)
|
||||
** N=1 (one worker)
|
||||
** N=xC where C is less than the default of 8
|
||||
* --max-jobs=N (cap workers used by -j irrespective of number of cpus
|
||||
* ensure parser is stripped
|
||||
|
||||
# Tunables to reduce policy size
|
||||
|
||||
* -O minimize (may slow small policy compiles, will speed-up large compiles)
|
||||
* -O compress-small (will slow down compiles)
|
||||
* -O diff-encode (may slow small policy compiles, will speed-up large compiles)
|
||||
|
||||
# Tunables to trade compiler memory for speed
|
||||
|
||||
???
|
||||
|
||||
|
||||
# Improvements per Release
|
||||
|
||||
- 2.1 DFA introduced
|
||||
|
Loading…
x
Reference in New Issue
Block a user