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