문제

At openBSD we have the command:

sudo sysctl kern.bufcachepercent

This sets the percent of the RAM that will be dedicated to be HD cache. How do I do that at linux Ubuntu?

Or how to mount some folder at RAM?

도움이 되었습니까?

해결책

here's my 2 cents:

first of all I don't think there's an exact counterpart for bufcachepercent in Linux kernel. Anyway you can take a look here: vm.txt where there are some explanations on the various parameters related to vm (I think you wanna check "dirty_*", "vfs_cache_pressure" and maybe "swappiness").

Hope this helps =)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top