Swap questions

Doctor Software jmb at patton.wpd.sgi.com
Thu Nov 29 03:34:15 AEST 1990


Apparently, I was wrong. I've been perusing the code for 3.3, and if I can
still read C right, your total virtual memory is (real memory) + (swap
memory). If swap is too small, and a process has pages which need to be
swapped, the OS kills the process in order to avoid deadlock. This only
happens in the case that memory is filled, the OS needs to page
something out to keep going, and there are no pages of swap left free.

This seems to make the lesson be that you can run quite fine without
swap until you actually need to use it - but then watch out. There's no
garuntee of which process will actually be killed in this case, its 
just whomever has the page that can't go out.

-- jmb


-- Jim Barton
   Silicon Graphics Computer Systems
   jmb at sgi.com



More information about the Comp.sys.sgi mailing list