- Oh My Hugo!
- This is a static blog!
Dynamic Memory Management - Proxmox VE
Dynamic Memory Management 动态内存管理 Introduction Optimized and effective memory management is a key factor in virtualization environments. KSM and Auto-Ballooning enables sophisticated and economic configurations for physical RAM utilization. 优化和有效的内存管理是虚拟环境的关键因素,KSM和Auto-Ballooning为物理内存管理提供了复杂且实用的配置。 KSM KSM (Kernel Samepage Merging) is running in the Linux kernel and scans the memory of all the virtual machines running on a single host, looking for duplication and consolidating. With KSM we’re able to improve virtual machine density by as much as 300% without impacting performance. One of the great benefits of using Linux as the hypervisor means KSM is not limited to KVM and virtual machines, but can also reduce memory pressure with normal Linux applications. ...
Make Swapfile
create swapfile 1 2 3 4 5 6 swapoff -a dd if=/dev/zero of=/swapfile bs=1M count=1024 chmod 0600 /swapfile mkswap /swapfile echo "/swapfile swap swap sw 0 0" >> /etc/fstab swapon -a set swappiniess 1 2 echo "vm.swappiness=10" > /etc/sysctl.conf sysctl -p
My First Post
Hello world…