1ba5c3796Sopenharmony_ci<?xml version="1.0" encoding="UTF-8"?>
2ba5c3796Sopenharmony_ci<!-- Copyright (c) 2022 Huawei Device Co., Ltd.
3ba5c3796Sopenharmony_ci
4ba5c3796Sopenharmony_ci     Licensed under the Apache License, Version 2.0 (the "License");
5ba5c3796Sopenharmony_ci     you may not use this file except in compliance with the License.
6ba5c3796Sopenharmony_ci     You may obtain a copy of the License at
7ba5c3796Sopenharmony_ci
8ba5c3796Sopenharmony_ci          http://www.apache.org/licenses/LICENSE-2.0
9ba5c3796Sopenharmony_ci
10ba5c3796Sopenharmony_ci     Unless required by applicable law or agreed to in writing, software
11ba5c3796Sopenharmony_ci     distributed under the License is distributed on an "AS IS" BASIS,
12ba5c3796Sopenharmony_ci     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13ba5c3796Sopenharmony_ci     See the License for the specific language governing permissions and
14ba5c3796Sopenharmony_ci     limitations under the License.
15ba5c3796Sopenharmony_ci-->
16ba5c3796Sopenharmony_ci<Memmgr>
17ba5c3796Sopenharmony_ci  <availBufferConfig>
18ba5c3796Sopenharmony_ci      <availBuffer>300</availBuffer>
19ba5c3796Sopenharmony_ci      <minAvailBuffer>250</minAvailBuffer>
20ba5c3796Sopenharmony_ci      <highAvailBuffer>350</highAvailBuffer>
21ba5c3796Sopenharmony_ci      <swapReserve>200</swapReserve>
22ba5c3796Sopenharmony_ci  </availBufferConfig>
23ba5c3796Sopenharmony_ci  <reclaimConfig>
24ba5c3796Sopenharmony_ci    <ZswapdParam id="1">
25ba5c3796Sopenharmony_ci        <minScore>0</minScore>
26ba5c3796Sopenharmony_ci        <maxScore>1000</maxScore>
27ba5c3796Sopenharmony_ci        <mem2zramRatio>60</mem2zramRatio>
28ba5c3796Sopenharmony_ci        <zram2ufsRatio>10</zram2ufsRatio>
29ba5c3796Sopenharmony_ci        <refaultThreshold>50</refaultThreshold>
30ba5c3796Sopenharmony_ci    </ZswapdParam>
31ba5c3796Sopenharmony_ci  </reclaimConfig>
32ba5c3796Sopenharmony_ci  <reclaimPriorityConfig>
33ba5c3796Sopenharmony_ci    <killalbeSystemApps>
34ba5c3796Sopenharmony_ci      <killableSysApp></killableSysApp>
35ba5c3796Sopenharmony_ci    </killalbeSystemApps>
36ba5c3796Sopenharmony_ci    <importantBgApps>
37ba5c3796Sopenharmony_ci      <importantBgApp>
38ba5c3796Sopenharmony_ci            <procName>default</procName>
39ba5c3796Sopenharmony_ci            <minPriority>400</minPriority>
40ba5c3796Sopenharmony_ci      </importantBgApp>
41ba5c3796Sopenharmony_ci    </importantBgApps>
42ba5c3796Sopenharmony_ci  </reclaimPriorityConfig>
43ba5c3796Sopenharmony_ci  <systemMemoryLevelConfig>
44ba5c3796Sopenharmony_ci      <purgeable>1024</purgeable>
45ba5c3796Sopenharmony_ci      <moderate>800</moderate>
46ba5c3796Sopenharmony_ci      <low>700</low>
47ba5c3796Sopenharmony_ci      <critical>600</critical>
48ba5c3796Sopenharmony_ci  </systemMemoryLevelConfig>
49ba5c3796Sopenharmony_ci  <killConfig>
50ba5c3796Sopenharmony_ci      <killLevel id="1">
51ba5c3796Sopenharmony_ci          <memoryMB>500</memoryMB>
52ba5c3796Sopenharmony_ci          <minPriority>400</minPriority>
53ba5c3796Sopenharmony_ci      </killLevel>
54ba5c3796Sopenharmony_ci      <killLevel id="2">
55ba5c3796Sopenharmony_ci          <memoryMB>400</memoryMB>
56ba5c3796Sopenharmony_ci          <minPriority>300</minPriority>
57ba5c3796Sopenharmony_ci      </killLevel>
58ba5c3796Sopenharmony_ci      <killLevel id="3">
59ba5c3796Sopenharmony_ci          <memoryMB>300</memoryMB>
60ba5c3796Sopenharmony_ci          <minPriority>200</minPriority>
61ba5c3796Sopenharmony_ci      </killLevel>
62ba5c3796Sopenharmony_ci      <killLevel id="4">
63ba5c3796Sopenharmony_ci          <memoryMB>200</memoryMB>
64ba5c3796Sopenharmony_ci          <minPriority>100</minPriority>
65ba5c3796Sopenharmony_ci      </killLevel>
66ba5c3796Sopenharmony_ci      <killLevel id="5">
67ba5c3796Sopenharmony_ci          <memoryMB>100</memoryMB>
68ba5c3796Sopenharmony_ci          <minPriority>0</minPriority>
69ba5c3796Sopenharmony_ci      </killLevel>
70ba5c3796Sopenharmony_ci  </killConfig>
71ba5c3796Sopenharmony_ci  <nandLifeConfig>
72ba5c3796Sopenharmony_ci    <dailySwapOutQuotaMB>0</dailySwapOutQuotaMB>
73ba5c3796Sopenharmony_ci    <totalSwapOutQuotaMB>0</totalSwapOutQuotaMB>
74ba5c3796Sopenharmony_ci  </nandLifeConfig>
75ba5c3796Sopenharmony_ci  <switchConfig>
76ba5c3796Sopenharmony_ci    <bigMemKillSwitch>0</bigMemKillSwitch>
77ba5c3796Sopenharmony_ci  </switchConfig>
78ba5c3796Sopenharmony_ci  <purgeablememConfig>
79ba5c3796Sopenharmony_ci    <purgeWhiteAppList>
80ba5c3796Sopenharmony_ci      <procName>default</procName>
81ba5c3796Sopenharmony_ci    </purgeWhiteAppList>
82ba5c3796Sopenharmony_ci  </purgeablememConfig>
83ba5c3796Sopenharmony_ci</Memmgr>
84