arale has very high memory usage compared to krillin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Won't Fix
|
High
|
Yuan-Chen Cheng |
Bug Description
While using arale I noticed that the kernel reports a much higher memory usage than on krillin. I would expect some increase, e.g. all the image buffers need to be larger because the display has a much higher resolution. But the difference is so vast that I can't explain it easily, and there is a huge chunk of memory that seemingly can't be attributed to anything in userspace.
Let's make some definitions first:
- "Total PSS" is the sum of all proportional set size values of all running processes, as e.g. reported by Colin Ian King's "smemstat" (http://
- "Used" is the actual amount of used memory, excluding buffers and caches, thus the result of MemTotal-
I would expect that Used is always a bit higher than Total PSS because the kernel needs some memory for itself. This assumption turns out to be true on all my devices, except arale.
Let's look at some results.
krillin: channel ubuntu-
* Step 1: Turn off all radios and turn on Developer Mode (if necessary)
* Step 2: Reboot the device
* Step 3: Unlock the device, wait a minute until it has "settled"
* Step 4: Log in via phablet shell and measure
krillin Total PSS: 350.9 M
krillin Used: 394 M
krillin Swap: 0 M
arale Total PSS: 364.7 M
arale Used: 543 M
arale Swap: 0 M
* Step 5: Turn on WiFi, connect to an access point, open the browser and navigate to www.ubuntu.com. Make sure there were no tabs open! Measure when the page has loaded.
krillin Total PSS: 502.6 M
krillin Used: 498 M
krillin Swap: 6.0 M
arale Total PSS: 603.8 M
arale Used: 778 M
arale Swap: 0 M
* Step 6: Start the Telephone app, wait until it has loaded, then measure.
krillin Total PSS: 505.3 M
krillin Used: 533 M
krillin Swap: 14 M
arale Total PSS: 632.4 M
arale Used: 861 M
arale Swap: 0 M
These are just examples, but the general direction is always like this: Used is *much* higher than Total PSS on arale. I've seen edge cases where Used was nearly twice as high as Total PSS.
Changed in canonical-devices-system-image: | |
assignee: | nobody → John McAleely (john.mcaleely) |
Changed in canonical-devices-system-image: | |
assignee: | John McAleely (john.mcaleely) → Yuan-Chen Cheng (ycheng-twn) |
Changed in canonical-devices-system-image: | |
assignee: | Yuan-Chen Cheng (ycheng-twn) → Alex Tu (alextu) |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in canonical-devices-system-image: | |
status: | Incomplete → Won't Fix |
Discussing in IRC, Simon's hunch is that this may be the GPU. That certainly sounds plausible.