Originally posted by pal666
View Post
Caches should be dropped, *before* you run oom...
It doesn't make sense continuing to have cache, if memory free pool are empty..
It doesn't mean all cache needs..
Linux always had a severe problem with memory management, it starts caching and caching until you are oom or freeze..
If you have tons of memory, thekswapd processes will alleviate the problem" and *maybe* the real problem never appear,
But if your system doesn't have tons of memory.. there are a big possibility that the problem will show up and freeze your computer..or if OOM is configured, starting killing processes..
There are no sysctl control to say:
Look, I will give you 2GB of cache.. nothing more nothing less, and only on memory starvation the system would drop the caches.. like in the 2.4 Series..
I hope that this time I have expressed myself in a clear way?!
Comment