projects
/
platform
/
core
/
system
/
resourced.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add 'CpuSched' & Rearrange 'Swap' sections
[platform/core/system/resourced.git]
/
conf
/
optimizer.conf
1
[MemorySwap]
2
SwapEnable=1
3
ReclaimAtBoot=yes
4
SwapType=zram+zswap
5
VipGroupSwappiness=0
6
HighGroupSwappiness=5
7
MediumGroupSwappiness=10
8
LowestGroupSwappiness=20
9
10
[MemoryZram]
11
CompAlgorithm=zstd
12
ZramRatio=0.4
13
14
[MemoryZswap]
15
PoolRatio=40
16
PoolType=z3fold
17
18
[MemoryDedup]
19
DedupEnable=1
20
DedupAtBoot=yes
21
ScanOnLowmem=true
22
23
[MemoryKsm]
24
KsmMode=oneshot
25
#KsmMode=periodic
26
27
PagesToScan=100
28
PagesToScanWithBoost=1000
29
30
[MemoryCompaction]
31
CompactionEnable=1
32
FragLevel=800
33
34
[CpuSched]
35
CpuSchedFeature=rt_runtime_share,rt_runtime_greed
36
CpuRTRunTime=950ms
37
CpuRTPeriod=1000ms
38
39
[CpuAffinity]
40
ForegroundApps=1,2,4-6