According to mcm: While burning my CPU.
> 
> I agree that swap is practically a requirement.  In my case, I am
> building an embedded system that uses a flash drive to store the
> system.  I want to avoid swap space because I'm concerned about 
> aggressive swapping onto a device that has a realistic limit to
> the number of write cycles before failure.  I'm writing application 
> code that recognizes a lack of available RAM as a soft error.  My 
> real concern is that the kernel may have greater difficulty in 
> handling periods of low resources.  
> 
> Any ideas regarding the tendency of the kernel to crash when memory
> runs low?  

Realy the kernel should not crash as you put it, it can get into some
difficulties tho', under normal curcumstancies the kernel should reject
requests to start new programs if memory is exausted by way of kernel
messages like;
Cant load Lib.so.bla
Just like it does when a device is full and cant take any more data, 
No room on device.

> 
> michael
> 
> 
> Hamish Moffatt wrote:
> > 
> > Having said that, it's not a good idea. If you can spare any space at all,
> > swap is an excellent idea. If you run out of memory (virtual or physical),
> > programs will die. If you run out of physical memory, they go to swap.
> > The relative speed of swap should ensure you never fill it.
> > 
> > Hamish
> > 
> > --
> > Hamish Moffatt       Mobile: +61 412 011 176       [EMAIL PROTECTED]
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Merry Xmas to all, and may all your troubles be small (ones).

Reply via email to