swappiness对swap分区的影响
swap分区出现是因为硬件落后的时候,被OS设计人员搞出来承担一部分内存工作的,那时候的硬盘的速度和内存速度的差别对性能的影响还不明显,但随着现在高性能程序的要求,swap分区的读写速度严重影响了性能。
swappiness又被留出来作为控制swap使用程度的接口,关于/proc/sys/vm/swappiness的介绍wiki有
Swappiness is...
a Linux kernel virtualization developer, the contributor to KVM/Xen community, expert in VT-x, VT-d and X86 architecture, familiar with kernel development in KVM, XEN, Filesystem, IO storage, memory, schedule, etc.