[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Q: Interesting memory usage stat's
> Now, how my Linux manages to go into 2MB swap, with 160MB
> physical RAM,
> 70MB of them in buffers is still a mystery to me ... yet another
> optimization consideration? :)
But ofcourse.
Suppose you open an app that is very heavy on memory usage.
Sure enough - almost everything is thrown into the swap - to make space for
Mozilla/JBuilder
Then you close it.
Memory is free again - but the kernel only reads from swap to memory on
need.
So not many pages from swap are called, and the kernel is using the free
space for cache/buffers.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il