This is a discussion on Swap does not get freed on resume within the Debian Linux support forums, part of the Debian Linux category; --> Hello, I have a dual core laptop with 2GB RAM (Nvidia graphics card) that hibernates and resumes correctly close ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, I have a dual core laptop with 2GB RAM (Nvidia graphics card) that hibernates and resumes correctly close to 90% of the time. OS : Linux Ubuntu Hardy. Great improvement in that success rate over Gutsy. However, there is one wrinkle to this. When I resume, I find that a x MB of RAM is still occupied while y MB of RAM is listed as free (from the output of top). And x = approx. 0.5 * y, so there is plenty of RAM available. This is the case even 5-10 minutes after resume. Since using the swap inevitably slows down the machine (not to mention cause needless disk activity), I usually rectify the situation by : $ sudo /sbin/swapoff -a; sudo /sbin/swapon -a This takes some time(approx 2 minutes) but frees up the swap. Why doesn't resume do this on its own ? I am using in-kernel suspend (not suspend2 or tuxonice). Further, if it matters, all my partitions except /boot, including swap, are LUKS encrypted. ** Posted from http://www.teranews.com ** |