Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

min_free_kbytes vs vm.min_free_kbytes in /etc/sysctl.conf

$
0
0
I was trying to set up my first QEMU KVM Win10 machine according to the guide in the following link: https://heiko-sieger.info/running-wi...gure_hugepages

The author recommends, for performance tuning reasons, to add the following lines to /etc/sysctl.conf:



Code:

kernel.shmmax = 8589934592

vm.hugetlb_shm_group = 129

min_free_kbytes = 112640

But when I run sudo sysctl -p to put the new settings into effect., I get the following error:



Code:

kernel.shmmax = 8589934592

vm.hugetlb_shm_group = 127

sysctl: cannot stat /proc/sys/min_free_kbytes: No such file or directory

When I replace min_free_kbytes with vm.min_free_kbytes, I do not get any error.

1.) Did author actually want to write vm.min_free_kbytes instead of min_free_kbytes? Did he make a mistake?


2.) Is there a difference between these two?

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>