Hi! > > > Is there an option or possibility of using a dedicated swap > > > partition for suspend to disk? > > > Or maybe there is no reason to think that this might help? > > > > I don't see how it could help. > > If it was turned on at the right time, it might not be used by other > things that could get swapped out by high memory usage and/or the memory > eating process. Yes, but if it is used all the time, it will work okay, too. > > > If my application(s) causes lots of memory & swap space > > > to be used (over half of the total system RAM), is it correct > > > that it is likely to be useless to try to suspend to disk > > > while that app is running? > > > > No, it should work okay, as long as you do not mlock() it. Just prepare > > big enough swap partition. > > Will he even need to worry about the size of his swap partition? I > though swsusp discarded everything it could anyway. (Perhaps you could > add this question to the FAQ too). If he has *lot* of data, he needs big swap partition. Of course, everything I _can_ discard will be discarded. This is what I ended up: Pavel diff --git a/Documentation/power/swsusp.txt b/Documentation/power/swsusp.txt --- a/Documentation/power/swsusp.txt +++ b/Documentation/power/swsusp.txt @@ -334,3 +334,18 @@ some kind of "really read-only!" option. image (and blocksize), with resume parameter pointing directly to suspend header. +Q: Is there a maximum system RAM size that is supported by swsusp? + +A: It should work okay with highmem. + +Q: Does swsusp (to disk) use only one swap partition or can it use +multiple swap partitions (aggregate them into one logical space)? + +A: Only one swap partition, sorry. + +Q: If my application(s) causes lots of memory & swap space to be used +(over half of the total system RAM), is it correct that it is likely +to be useless to try to suspend to disk while that app is running? + +No, it should work okay, as long as your app does not mlock() it. Just +prepare big enough swap partition. -- if you have sharp zaurus hardware you don't need... you know my address