swap分区大小的原则是根据你的内存大小而设置,一般就是内存的1.5到2倍大。而且最好把swap分区放在硬盘的最前面或者最后面以便读写。
The rule of thumb is that you choose between 1.5 to 2 times the amount of RAM as the swap space, and you put this partition in a place that is quick to reach, like at the beginning or end of the disk.
swap分区大小的原则是根据你的内存大小而设置,一般就是内存的1.5到2倍大。而且最好把swap分区放在硬盘的最前面或者最后面以便读写。
The rule of thumb is that you choose between 1.5 to 2 times the amount of RAM as the swap space, and you put this partition in a place that is quick to reach, like at the beginning or end of the disk.
应用推荐