Thread: swap
View Single Post

   
  #5 (permalink)  
Old 02-20-2008, 10:43 AM
lucas
 
Posts: n/a
Default Re: swap

Grant wrote:

> On Mon, 24 Oct 2005 19:54:25 -0400, lucas <aolblowz@yahoo.com> wrote:


>
> In that case you were in the middle of a swap storm and impatient?
>
> Turning off swap appears to lock the system as it must search and
> discard stale (dead) memory in order to bring swapped out (live)
> memory back into core.
>
> During this process, the kernel should be given some alternative
> swap space, perhaps a swapfile ~16MB (wild guess) so that urgent
> allocations may be satisfied --> Example: some service needs > 4kB
> contiguous memory _now_, it wants to evict something quickly or die,
> eg. incoming net traffic data buffer.


I had waited for the hard drive to settle down before I did that. But, next
time this happens, I'll create a temporary swap file. Thanks for the idea.

Regards,
--
lucas
-------------------------
Perl Coder since 2001
shift || die;
-------------------------
Reply With Quote