Disk:
IO Scheduler
CFQ
deadline
anticipatory
NOOP
/sys/block/<device>/queue/scheduler
Memory:
MMU 两种内存芯片
TLB
vm.swapiness=(0..100);使用交换分区的倾向性,60
overcommit_memory:过量使用
overcommit_ratio
充分使用物理内存:
1、swap跟RAM一样大,swappiness=0;
2、overcommit_memory=2 , overcommit_ratio=100 , swappiness=0
tcp_max_tw_buckets:调大
tw:连接个数
established --> tw