I have a WearOS watch which is a frustratingly janky piece of crap. Whenever you try to do anything on it, it freezes for several seconds. Why? because it's SWAPPING! what the what?! 1.9G of virtual memory for a daemon on a wristwatch? 21 java apps, each with >760M vmem? JFC
Conversation
There's usually zram, not any actual swap on storage. It's still considered swap by the kernel. It's partly there to trigger kernel memory pressure mechanisms.
1
1
If there's actually real swap, that's insane. Android isn't designed to work with swap. It's supposed to run out of memory and trigger the userspace OOM killer implementation to kill inactive apps. It gets apps to save snapshots of state as soon as they become inactive.
Ahhh, so half the 1GB of RAM is partitioned into zram for swap? That makes a crazy sort of sense, but the performance is still awful.
1
You'd need to check to figure out how the device is set up.
Android devices do usually have a fair bit of zram. It has to be properly tuned for the device. It seems like this device may have way too much zram, and perhaps has it configured quite badly, especially for a weak CPU.
1
1
Show replies


