heart-cpu: Remove double unlock code
[platform/core/system/resourced.git] / conf / optimizer.conf
1 [MemorySwap]
2 ReclaimAtBoot=yes
3 SwapType=zram
4 BackgroundLruSwappiness=80
5
6 [MemoryZram]
7 CompAlgorithm=zstd
8 ZramRatio=0.4
9
10 [MemoryZswap]
11 PoolRatio=40
12 PoolType=z3fold
13
14 [MemoryDedup]
15 DedupAtBoot=yes
16 ScanOnLowmem=yes
17
18 [MemoryKsm]
19 KsmMode=oneshot
20 #KsmMode=periodic
21
22 PagesToScan=100
23 PagesToScanWithBoost=1000
24
25 [MemoryCompaction]
26 FragLevel=800
27
28 [MemoryBackgroundReclaim]
29 # Unset this option if it causes any unexepcted issue (e.g. jerky animation).
30 AfterScreenDim=yes
31
32 [CpuSched]
33 CpuSchedFeature=no_rt_runtime_share
34 CpuRTRuntime=950ms
35 CpuRTPeriod=1000ms
36
37 [CpuAffinity]
38 #ForegroundApps=1,2,4-6
39
40 [CpuBoostingLevelStrong]
41 CpuSched=rr
42 CpuRTPriority=50
43
44 [CpuBoostingLevelMedium]
45 CpuSched=rr
46 CpuRTPriority=1
47
48 [CpuBoostingLevelWeak]
49 CpuSched=other
50 CpuNice=-20 # Priority=100
51
52 [CpuBoostingStallGovernor]
53 CpuBoostingStallGovernor=no