increase free physical memory, decrease disk cache
I have a 384 Mb of memory size in my computer,
and here is the configuration according to my suse linux
Total physical memory : 384,862,592 bytes
Free physical memory : 5,054,464 bytes
Shared memory : 0 bytes
Disk buffers : 43,470,904 bytes
Disk cache : 227,020,800 bytes
Total swap memory : 1,077,501,952 bytes
Free swap memory : 1,077,501,952 bytes
1. is there any way I could increase the free physical
memory and reduce disk cache or disk buffers?
2. I always ran out of my virtual system memory in Windows,
but never in linux, and it seems that my linux box never uses
swap memory at all. So, is thare any way I could make linux
uses the swap memory?
There is a way of getting Linux to swap more agressively:
Is it a good idea? Depends who you ask. I can't say I noticed much difference overall playing about with the swappiness value.
Have a look here:
hi ilikejam, thanks for the reply,
if i relies on swap memory, will it slow down my computer?
and how about decreasing the cache memory to increase my free memory?
The disk cache will decrease automatically as other tasks require storage. Your memory will generally always appear full. This is not a problem, but a design goal.
Having lots of disk cache, and no swap used is *good* - it means you have more than enough memory for what you are running.
A wise man once said to me:
"Unused RAM is wasted RAM"
|All times are GMT -5. The time now is 02:05 AM.|