On 10/7/07, Mario Goebbels <[EMAIL PROTECTED]> wrote:
> Whenever there's a significant amount of pages swapped, where significant 
> seems to be merely 100 megabytes or so, shutting down the system properly 
> becomes a matter of luck.

Hm. Never seen anything like that. Even with tens of gigabytes swapped out.

> So as such, is there a way to push all contents in swap back into memory? If 
> not, there should be.

Have you tried to delete the swap device?

I've often wanted to do this, though. Especially after some huge
errant process has gobbled up all the memory and flushed
everything out to swap. It seemed more desirable to be able to
just tell the system to page everything back in rather than wait
for pages to be pulled in randomly on demand. (And there's
the possibility that it could all be slurped back in efficiently rather
than with random IO.)

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to