Ben momenteel bezig met een Chinees geimporteerd toestel (type deel ik niet, NDA ed). Waar ik echter mee worstel zijn de specificaties, na veel op internet zoeken kom je er echter dat er nogal word geklust om de UI van Android zaken te laten melden die niet waar zijn.
Nu wil ik de ware feiten graag op tafel hebben, alles is gelukt behalve het geheugen.
Laat ik voorop stellen dat ik geen unix pro ben, en misschien dus domme dingen roep, maak me daar vooral op attent, het liefts met informatie, zodat ik die onnozelheid kan verbeteren
Met adb shell kan je een hoop uitlezen, hetgeen waar ik niet uitkom is: hoeveel fysiek geheugen zit er nu werkelijk in het toestel?
Hier begon mijn twijfel, een swap welke is ingericht met ZRAM.
Affijn voor zover ik het snap zijn PPS calls waar aan gezeten is (beter dan dat kan ik t niet uitleggen) een OOM zou staan voor out of memory calls, en dat zijn er een hele boel.
Nu wil ik de ware feiten graag op tafel hebben, alles is gelukt behalve het geheugen.
Laat ik voorop stellen dat ik geen unix pro ben, en misschien dus domme dingen roep, maak me daar vooral op attent, het liefts met informatie, zodat ik die onnozelheid kan verbeteren
Met adb shell kan je een hoop uitlezen, hetgeen waar ik niet uitkom is: hoeveel fysiek geheugen zit er nu werkelijk in het toestel?
Hier begon mijn twijfel, een swap welke is ingericht met ZRAM.
code:
1
2
3
4
5
| shell@Chinaphone:/ $ cat /proc/swaps cat /proc/swaps Filename Type Size Used Priority /dev/block/zram0 partition 524284 0 -1 |
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
| C:\Users\Backoffice\AppData\Local\Android\sdk\platform-tools>adb shell dumpsys m eminfo Applications Memory Usage (kB): Uptime: 26284802 Realtime: 111794918 Total PSS by process: 103151 kB: org.mozilla.firefox (pid 3932 / activities) 77140 kB: com.supercell.clashofclans (pid 4822 / activities) 67768 kB: com.skype.raider (pid 15646 / activities) 58486 kB: system (pid 742) 50615 kB: com.whatsapp (pid 1406 / activities) 43520 kB: com.google.android.gm (pid 4396 / activities) 38716 kB: com.android.systemui (pid 922) 36493 kB: com.google.android.gms (pid 1327) 33942 kB: com.google.android.inputmethod.latin (pid 1067) 31519 kB: com.veclink.vecsipsimple (pid 1225 / activities) 30734 kB: com.soundcloud.android (pid 17262) 26525 kB: com.android.launcher3 (pid 1268 / activities) 25169 kB: com.android.settings (pid 13503 / activities) 24094 kB: com.android.phone (pid 1140) 22392 kB: com.android.mms (pid 6888 / activities) 20933 kB: com.rock.gota (pid 2002) 20771 kB: com.android.dialer (pid 8569 / activities) 20622 kB: com.android.systemui (pid 875) 19636 kB: com.android.incallui (pid 16603) 18928 kB: com.google.android.gms.persistent (pid 1096) 17998 kB: com.google.process.gapps (pid 1278) 17684 kB: mediaserver (pid 237) 16227 kB: android.process.acore (pid 7165) 13526 kB: sogou.mobile.explorer.hotwords (pid 12432) 13104 kB: com.google.android.googlequicksearchbox:search (pid 18081) 12409 kB: com.android.vending (pid 17559) 12066 kB: com.sohu.inputmethod.sogou (pid 12458) 12023 kB: com.android.inputmethod.latin (pid 4564) 11853 kB: com.android.gallery3d (pid 1125) 11242 kB: android.process.media (pid 3009) 9100 kB: com.mediatek.voicecommand (pid 1167) 8777 kB: com.lucentvisions.wallpapers.NorthernLightsFree (pid 1053) 8211 kB: com.google.process.location (pid 1526) 6430 kB: com.sohu.inputmethod.status (pid 7786) 5699 kB: com.android.nfc (pid 1251) 5465 kB: com.sohu.inputmethod.sogou:classic (pid 17530) 4817 kB: zygote (pid 235) 4480 kB: com.mediatek.weather3dwidget (pid 3106) 4436 kB: com.agui.calendarwidget (pid 1154) 4269 kB: com.android.providers.calendar (pid 16640) 3940 kB: com.mediatek.security (pid 907) 3652 kB: surfaceflinger (pid 234) 3534 kB: com.google.android.apps.uploader (pid 18382) 2796 kB: com.antutu.ABenchMark (pid 17545) 2709 kB: com.android.deskclock (pid 17986) 2429 kB: com.google.android.partnersetup (pid 18100) 2252 kB: com.mediatek.systemupdate (pid 17516) 2101 kB: com.mediatek.appwidget.weather (pid 17501) 1243 kB: com.agui.analogclock (pid 1238) 1135 kB: org.simalliance.openmobileapi.service:remote (pid 2583) 1130 kB: vtservice (pid 250) 1097 kB: com.mediatek.voiceextension (pid 1195) 1091 kB: com.mediatek.bluetooth (pid 1180) 1067 kB: em_svr (pid 371) 988 kB: com.android.flashlightnotification (pid 1210) 800 kB: netd (pid 231) 741 kB: wpa_supplicant (pid 1027) 628 kB: rild (pid 802) 590 kB: drmserver (pid 236) 518 kB: guiext-server (pid 318) 430 kB: sdcard (pid 975) 385 kB: /init (pid 1) 352 kB: adbd (pid 372) 351 kB: aal (pid 247) 341 kB: mtkbt (pid 369) 245 kB: dhcpcd (pid 18213) 230 kB: mtk_agpsd (pid 252) 196 kB: vold (pid 223) 194 kB: ueventd (pid 166) 194 kB: gsm0710muxd (pid 737) 186 kB: dumpsys (pid 18500) 176 kB: ccci_fsd (pid 226) 156 kB: healthd (pid 221) 148 kB: nvram_agent_binder (pid 310) 141 kB: dm_agent_binder (pid 248) 130 kB: sh (pid 370) 124 kB: logwrapper (pid 18212) 106 kB: MtkCodecService (pid 317) 94 kB: mnld (pid 307) 91 kB: ppl_agent (pid 249) 86 kB: sdcard (pid 1400) 83 kB: installd (pid 238) 82 kB: wifi2agps (pid 253) 74 kB: thermal (pid 312) 66 kB: fotabinder (pid 319) 65 kB: ccci_mdinit (pid 228) 50 kB: servicemanager (pid 222) 43 kB: keystore (pid 239) 42 kB: batterywarning (pid 316) 40 kB: debuggerd (pid 232) 28 kB: netdiag (pid 244) 26 kB: 6620_launcher (pid 233) 24 kB: mobile_log_d (pid 241) 23 kB: emdlogger1 (pid 736) 19 kB: GoogleOtaBinder (pid 308) 18 kB: memsicd (pid 368) 13 kB: thermald (pid 313) 12 kB: logwrapper (pid 225) 10 kB: drvbd (pid 243) Total PSS by OOM adjustment: 36701 kB: Native 17684 kB: mediaserver (pid 237) 4817 kB: zygote (pid 235) 3652 kB: surfaceflinger (pid 234) 1130 kB: vtservice (pid 250) 1067 kB: em_svr (pid 371) 800 kB: netd (pid 231) 741 kB: wpa_supplicant (pid 1027) 628 kB: rild (pid 802) 590 kB: drmserver (pid 236) 518 kB: guiext-server (pid 318) 430 kB: sdcard (pid 975) 385 kB: /init (pid 1) 352 kB: adbd (pid 372) 351 kB: aal (pid 247) 341 kB: mtkbt (pid 369) 245 kB: dhcpcd (pid 18213) 230 kB: mtk_agpsd (pid 252) 196 kB: vold (pid 223) 194 kB: ueventd (pid 166) 194 kB: gsm0710muxd (pid 737) 186 kB: dumpsys (pid 18500) 176 kB: ccci_fsd (pid 226) 156 kB: healthd (pid 221) 148 kB: nvram_agent_binder (pid 310) 141 kB: dm_agent_binder (pid 248) 130 kB: sh (pid 370) 124 kB: logwrapper (pid 18212) 106 kB: MtkCodecService (pid 317) 94 kB: mnld (pid 307) 91 kB: ppl_agent (pid 249) 86 kB: sdcard (pid 1400) 83 kB: installd (pid 238) 82 kB: wifi2agps (pid 253) 74 kB: thermal (pid 312) 66 kB: fotabinder (pid 319) 65 kB: ccci_mdinit (pid 228) 50 kB: servicemanager (pid 222) 43 kB: keystore (pid 239) 42 kB: batterywarning (pid 316) 40 kB: debuggerd (pid 232) 28 kB: netdiag (pid 244) 26 kB: 6620_launcher (pid 233) 24 kB: mobile_log_d (pid 241) 23 kB: emdlogger1 (pid 736) 19 kB: GoogleOtaBinder (pid 308) 18 kB: memsicd (pid 368) 13 kB: thermald (pid 313) 12 kB: logwrapper (pid 225) 10 kB: drvbd (pid 243) 58486 kB: System 58486 kB: system (pid 742) 138605 kB: Persistent 38716 kB: com.android.systemui (pid 922) 31519 kB: com.veclink.vecsipsimple (pid 1225 / activities) 24094 kB: com.android.phone (pid 1140) 20622 kB: com.android.systemui (pid 875) 9100 kB: com.mediatek.voicecommand (pid 1167) 5699 kB: com.android.nfc (pid 1251) 4436 kB: com.agui.calendarwidget (pid 1154) 1243 kB: com.agui.analogclock (pid 1238) 1097 kB: com.mediatek.voiceextension (pid 1195) 1091 kB: com.mediatek.bluetooth (pid 1180) 988 kB: com.android.flashlightnotification (pid 1210) 25169 kB: Foreground 25169 kB: com.android.settings (pid 13503 / activities) 67072 kB: Visible 18928 kB: com.google.android.gms.persistent (pid 1096) 17998 kB: com.google.process.gapps (pid 1278) 12023 kB: com.android.inputmethod.latin (pid 4564) 8777 kB: com.lucentvisions.wallpapers.NorthernLightsFree (pid 10 53) 8211 kB: com.google.process.location (pid 1526) 1135 kB: org.simalliance.openmobileapi.service:remote (pid 2583) 37882 kB: Perceptible 33942 kB: com.google.android.inputmethod.latin (pid 1067) 3940 kB: com.mediatek.security (pid 907) 25413 kB: A Services 20933 kB: com.rock.gota (pid 2002) 4480 kB: com.mediatek.weather3dwidget (pid 3106) 26525 kB: Home 26525 kB: com.android.launcher3 (pid 1268 / activities) 89549 kB: Previous 77140 kB: com.supercell.clashofclans (pid 4822 / activities) 12409 kB: com.android.vending (pid 17559) 93244 kB: B Services 50615 kB: com.whatsapp (pid 1406 / activities) 13104 kB: com.google.android.googlequicksearchbox:search (pid 180 81) 11853 kB: com.android.gallery3d (pid 1125) 11242 kB: android.process.media (pid 3009) 6430 kB: com.sohu.inputmethod.status (pid 7786) 411839 kB: Cached 103151 kB: org.mozilla.firefox (pid 3932 / activities) 67768 kB: com.skype.raider (pid 15646 / activities) 43520 kB: com.google.android.gm (pid 4396 / activities) 36493 kB: com.google.android.gms (pid 1327) 30734 kB: com.soundcloud.android (pid 17262) 22392 kB: com.android.mms (pid 6888 / activities) 20771 kB: com.android.dialer (pid 8569 / activities) 19636 kB: com.android.incallui (pid 16603) 16227 kB: android.process.acore (pid 7165) 13526 kB: sogou.mobile.explorer.hotwords (pid 12432) 12066 kB: com.sohu.inputmethod.sogou (pid 12458) 5465 kB: com.sohu.inputmethod.sogou:classic (pid 17530) 4269 kB: com.android.providers.calendar (pid 16640) 3534 kB: com.google.android.apps.uploader (pid 18382) 2796 kB: com.antutu.ABenchMark (pid 17545) 2709 kB: com.android.deskclock (pid 17986) 2429 kB: com.google.android.partnersetup (pid 18100) 2252 kB: com.mediatek.systemupdate (pid 17516) 2101 kB: com.mediatek.appwidget.weather (pid 17501) Total PSS by category: 322563 kB: Unknown 310324 kB: Dalvik 103603 kB: .so mmap 92482 kB: Dalvik Other 71392 kB: .dex mmap 39361 kB: Other mmap 26086 kB: .apk mmap 25820 kB: Ashmem 9560 kB: Stack 7580 kB: Native 1190 kB: .ttf mmap 370 kB: Other dev 120 kB: Cursor 34 kB: .jar mmap 0 kB: code mmap 0 kB: image mmap 0 kB: Graphics 0 kB: GL 0 kB: Memtrack Total RAM: 1961972 kB Free RAM: 731627 kB (411839 cached pss + 259464 cached + 60324 free) Used RAM: 666266 kB (598646 used pss + 2664 buffers + 26184 shmem + 38772 slab) Lost RAM: 564079 kB ZRAM: 82200 kB physical used for 268240 kB in swap (524284 kB total swap) Tuning: 256 (large 512), oom 122880 kB, restore limit 40960 kB (high-end-gfx) |
Affijn voor zover ik het snap zijn PPS calls waar aan gezeten is (beter dan dat kan ik t niet uitleggen) een OOM zou staan voor out of memory calls, en dat zijn er een hele boel.
Compromis? Hoezo heb ik het mis dan?! | Geluk = gelul met een K | з=(•̪●)=ε