新手上路
四星級會員
- 舊站積分
- 6295
- 舊站發表文章數
- 1683
|
發表於 2012-12-18 11:07:51
|
顯示全部樓層
原發表者是 solo16
[B]
Hi bchsieh,
Yes I did set 0 for the vm.swapinness
and I'm using ext2 without journaling system fs, however I still found the dirty ratio tweaks helps and tested in different system also found that helps.
I've wondering wondering the same thing since I've already disabled the swap how come it still have effect. So I'm guessing it is from the SSD caching mechanism.
Please let me know your thought. I'm trying to learn here [ ]
Cheers!!! [/B]
solo16兄,
根據Ubuntu help webpage:
https://help.ubuntu.com/community/SwapFaq
裡面提到:
"swappiness=0 tells the kernel to avoid swapping processes out of physical memory for as long as possible"
這表示swappiness=0只表示盡量不要用到swap, 而非禁用.
真的要禁用, 要把/etc/fstab裡面的swap整個拿掉.
重開機後用top確定swap大小為0, 這樣才是真的禁用. |
|