Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] A Swap Question



2007/11/7, Joe Larabell <fred62@example.com>:>
> If you have multiple memory-hog programs but only one is really running at
> any one time (that is, the others are idle waiting on, maybe, a mouse
> click), the O/S will send the memory data used by the idle programs to
> swap, thus freeing up real RAM for the programs that are really doing
> something. When the idle programs start up again, there may be a momentary
> pause but for the most part, they will be re-loaded into RAM and continue
> as if nothing happened.

Afraik, the OS may do one of the two things to get memory when all RAM
( physically memory) is occupied:

1. Reduce disk cache .
2. Swap some less used pages or program to the swap partition.

I am not so sure how Linux manages memory but this is what I knows.

-- 
Best Regards,
Nguyen Hung Vu
vuhung16plus{remove}@example.com
An inquisitive look at Harajuku
http://www.flickr.com/photos/vuhung/sets/72157600109218238/


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links