Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is is possible to suspend a job and force all of its memory to swap?

I've got six jobs running, and they're competing with each other for resources. So much gets wasted on system swapping that they run forever. If I could suspend three (and dump their allocated memory to disk) the remaining three could run normally. Once those finish, I could resume the others, and the total run time would be fine.

share|improve this question
2  
I doubt you need to explicitly for the memory to swap. Try just suspending the job (e.g. with bash's suspend) and see if their memory is swapped out. – John Watts Aug 17 '12 at 14:40
I think you're right... maybe you should turn that into an answer? – Andrew Wood Aug 17 '12 at 15:18
Well, I also voted to close because I think this is off-topic and belongs on SuperUser. As you can see, I'm a bit conflicted. – John Watts Aug 17 '12 at 15:33

migrated from stackoverflow.com Aug 24 '12 at 8:43

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.