[clug-talk] Application suspend, force RAM to swap
simon at mungewell.org
Fri Jul 7 00:15:02 PDT 2006
Why do you NEED to do this...?
To move to swap you are committing to:
1) Time taken to place in swap
2) Time taken to retrieve to swap
If a process is truely suspended (i.e. ^Z'ed) then you only gain overall
if the RAM is actually required by something else....... the only
benefit I could possibly imagine is the latency (i.e. when a active
application requires more space STAT!).
Have you looked at 'software suspend' (Hibinate for old laptops) this
pushes everything into swap and might give some clues.
On Fri, Jul 07, 2006 at 08:58:46AM -0600, Roy Souther wrote:
> Is there any way to suspend or hibernate a single application, or is
> there anyway to force the Linux Kernel to move an application out of RAM
> and into swap and then just ignore it until told otherwise?
> If I renice an application to +20 it still continues to use CPU
> resources, that's not good enough. I want to pause the program and all
> of the sub-processes that it spawned. And then un-pause it or wake it up
> again on command.
> Is this possible? Is there a kernel patch to do this? Should there be?
> Royce Souther
> Let Open Source help your business move beyond.
> For security this message is digitally authenticated by GnuPG.
> clug-talk mailing list
> clug-talk at clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying
More information about the clug-talk