by trotsky · 13y ago · 0 comments
That's what the OS is supposed to do, fille a large portion of the unused and available memory with disk cache.
My ubuntu install uses almost 8 gigs in cache, what a pig!
BTW - if he installed open-vm-tools with the balloon driver it would recover all that disk cache ram as soon as the hypervisor was under any amount of memory pressure.
And given that a cache is a mirror of existing data (as opposed to buffers which are temporary storage space), the cache can be instantly flushed by the system if you need that ram for anything else.
This means that it's good if the memory resources the operating system needs to function are low, since it then has more memory for caching.
This flies in the face of the often heard comment -'it doesn't matter if operating system X is a ram hog, I want my memory to be used'.
I also want my memory to be used, but by the applications I run, not the base operating system. If the operating system is lean, the more memory is available to the applications you launch, aswell as the system being able to keep as much data as possible cached to prevent slow disk reads.