ARMLinuxSDcardconstantrecordingproblem
ARMLinuxSDcardconstantrecordingproblem
SD card constant recording would cause the cache memory too much, that free memory is come to min_free_kbytes.
通过设置min_free_kbytes我们可以控制系统的最小内存,但是我们解决不了系统占用过多cache memory的问题!
优化解决方法:
让系统快速的释放dirty cache memory. 谁有更好的方法嘛?可以推荐哦。
最次解决方法:
我们也可以通过drop_caches 来释放cache memory,但是这样是消耗系统资源,这是最次的方法了,写一个daemon来检查cache memory.当小于某个值时就去force drop cache memory.
评论暂时关闭