This is still (since 10.10 as far as I remember) reproduced with my laptop HP Compaq 6730s (Radeon HD3430, 4Gb RAM, Ubuntu 11.10 x64) and the latest 12.6 driver.
Adding script
if [ "$1" == "suspend" ] || [ "$1" == "resume" ]; then
swapoff -a
swapon -a
fi
which disabled and then enabled swap on each suspend/resume to /etc/pm/sleep.d/ also has not helped.
It looks like swap usage system policy does not affect this issue.
(sysctl -w vm.swappiness = 0)
After some of resumes about 1.5GB can be swapped out when there is 2GB free system memory.
Thus the only solution for me I can see is to disable swap at all and track memory state as I really need "suspend" feature.
One point is still unclear for me: isn't swap usage completely under the kernel control?
Hello,
This is still (since 10.10 as far as I remember) reproduced with my laptop HP Compaq 6730s (Radeon HD3430, 4Gb RAM, Ubuntu 11.10 x64) and the latest 12.6 driver.
Adding script
if [ "$1" == "suspend" ] || [ "$1" == "resume" ]; then
swapoff -a
swapon -a
fi
which disabled and then enabled swap on each suspend/resume to /etc/pm/sleep.d/ also has not helped.
It looks like swap usage system policy does not affect this issue.
(sysctl -w vm.swappiness = 0)
After some of resumes about 1.5GB can be swapped out when there is 2GB free system memory.
Thus the only solution for me I can see is to disable swap at all and track memory state as I really need "suspend" feature.
One point is still unclear for me: isn't swap usage completely under the kernel control?
Thanks