Quote:
Originally Posted by agostonbejo
Now I've added 2 swap files, so I have 8G swap in all:
original swap partition 2G
swap file 1 2G
swap file 2 2G
|
Errm, am I missing something, or is that more like 6G of swap?
Quote:
Originally Posted by agostonbejo
Hi!
How much more swap does the system need? Or does it have to be one contiguous partition and cannot be split up like I did?
|
Normally, you'd have thought 6G was going to be adequate, and, even 2G has a good chance of being adequate, for normal applications.
You have to find space for all of the application data that you have in ram, plus all of that data that you have in use in swap. I'm not sure in enough detail, but you shouldn't, in principle, need to find space for the 'buffers' or 'cached'. This data may or may not get compressed before getting stored, depending on distro and version.
That suggests that you are starting with something approaching 4G of data, and s2ram is not working. It does suggest that all of your swap space is somehow not not available for suspend. I can only guess whether it would fail with multiple swap partitions or whether it is something to do with swap files that is the problem, but the suggestion seems strong that it is one of those two that is causing the full amount of space not to be usable in this case.