OK, results are a bit mixed. I'll summarize again. I've tested suspend/resume 
cycles on a fresh boot, running at  ~50% memory load:
1) mainline (3.7.0-030700rc5), unity-2D: no apparent problems
2) latest kernel (3.2.0-33-generic #52-Ubuntu), unity-2D: no apparent problems
3) latest kernel (3.2.0-33-generic #52-Ubuntu), unity-3D: one slow resume at 
10th cycle (OK before and after).
4) previous kernel (3.2.0-32-generic #51-Ubuntu), unity-3D: slow resume at 5th 
cycle (OK before, didn't test after).

After a slow resume, I always see a strong increase in swap usage (e.g.,
from ~1M to 0.5-1G), while mem usage goes down by the same amount (so,
apparently, things got shifted to swap). This is al with ~50% memory
usage, so strictly no need at all to push stuff to swap.

I did not test mainline with unity-3D, because it fell back to unity-2D.

My tentative conclusions:
- I cannot reproduce the problem under unity-2D (10 snappy resumes in a row)
- I could not reproduce the problem running mainline and unity-2D
- latest Ubuntu kernel seems to alleviate the problem.

This is all with swappyness 10, I haven't tried the default (60), should
I?

I'm not sure if I should remove needs-upstream-testing and/or add
kernel-unable-to-test-upstream tags.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1078038

Title:
  excessive swapping on resume renders laptop useless 20% of the time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1078038/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to