[H-GEN] What size swap space is optimum?

Webmaster terranova at acenet.net.au
Tue Apr 24 04:52:37 EDT 2001


[ Humbug *General* list - semi-serious discussions about Humbug and  ]
[ Unix-related topics.  Please observe the list's charter.           ]
[ Worthwhile understanding: http://www.humbug.org.au/netiquette.html ]

> > > Even with low memory and lots of swapping, any instruction
> > > sequence should surely proceed to completion this side of Xmas -
> > > correct?
> Actually not necessarilly correct.  Most OS's with virtual memory
> subsystems can suffer from an OOM condition called thrashing.  I suspect
> this is what you are suffering.  Effectively what happens is that there
> is so little spare memory available that processes spend their entire
> time-slice in page faults trying to swap in enough of their pages to
> execute, in the process ensuring that the next process on the run queue
> is swapped out and will likewise be forced to spend it's time-slice
> swapping.
Aha! I suspected that something like this was going on.
 
> Ultimately the only solution to the problem is to provide more memory,
> or to use less.  However you may see some improvements by increasing the
> amount of swap
Oh, Great! Being impecunious I was wanting technical justification for spending
MORE money on the d**ned box, and being lazy for doing ANOTHER bl***y install.
Looks like I'm stuck with both.

Thanks heaps, Guys,
Carl Adams.

#==========================================================#
|                         TerraNova
|                     The living planet
|             www.home.acenet.net.au/terranova
#==========================================================#



--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list