Currently, the maximum size of a swap partition is architecture-dependent. For i386, m68k, ARM and PowerPC, it is "officially" 2Gb. It is 128Gb on alpha, 1Gb on sparc, and 3Tb on sparc64. An opteron on the 2.6 kernel can write to a 16 Tb swap partition. For linux kernels 2.1 and earlier, the limit is 128Mb. The partition may be larger than 128 MB, but excess space is never used. If you want more than 128 MB of swap for a 2.1 and earlier kernel, you have to create multiple swap partitions (8 max). After 2.4, 32 swap areas are "officially" possible. See setting up swap for details.
shanzengguang 于 2009-02-25 13:53:00发表:
学习了
webnets 于 2009-02-25 13:18:16发表:
应该是2倍吧
411348444 于 2009-02-24 22:47:05发表:
我 3g内存 ,没有 分 swap
hexing2424 于 2009-02-24 17:48:17发表:
不懂
wang7131984 于 2009-02-24 16:53:25发表:
一般为内存的两倍,其实如果内存很大的话,SWAP分区就没必要太大。虚拟内存主要是为了补偿内存不够用的。
qjwangyi 于 2009-02-22 15:33:47发表:
2G
masm2008 于 2009-02-21 22:39:47发表:
超过内存两倍的应该就是浪费了,它主要是在运行较大程序时做为缓用的,WIN用的叫页面文件
duyu1025 于 2009-02-21 22:36:23发表:
我冷!~~~ 我2G内存,,分了500M的 swap.....
jrs0335 于 2009-02-21 20:12:12发表:
wangdu2002说得对,我查过的。一般为自己物理内存的1.5----2倍,最大不超过2G的。
cwqing1973 于 2009-02-21 19:32:27发表:
支持一下吧。
wangdu2002 于 2009-02-21 18:53:03发表:
在32位系统上,最大可分2G,如果要大于2G,可以分多个Swap分区。
caryfang 于 2009-02-21 18:01:41发表:
一般是内存的1.5-2倍
大宝 于 2009-02-21 17:58:29发表:
要好大、好大干嘛?
再说了,swap再快也快不过内存啊?
不解~
22551829 于 2009-02-21 17:10:19发表:
:0)1我也想知道
22551829 于 2009-02-21 17:10:09发表:
:0)1我也想知道
jagub 于 2009-02-21 16:46:46发表:
一般是物理内存的1.5~2倍,多了是浪费
rtl 于 2009-02-21 16:41:33发表:
[i=s] 本帖最后由 rtl 于 2009-2-21 16:49 编辑 [/i]
最大能分整?磁?空?
不同的内核版本 可以使用不同的大小swap (即使你 整?磁?都是swap也可能不能完全被使用 )