keyinhong 于 2013.11.14 23:04 提问
- ubuntu 3.10 使用很卡，free -m看到 swap 1G的空间使用为0
Swap is kind of a "safety net" in case you run out of RAM, so the fact that it's not used until actually needed is entirely normal.
You're not using any swap because all the processes fit in your RAM. You won't actually see swap being used util processes actually need more space. Try opening a lot of tabs on your browser, or install the stress tool which you can use to stress your system's memory, and you will see swap being used.