|
发表于 2010-9-3 22:45:48
|
显示全部楼层
NOTES
The maximum useful size of a swap area depends on the architecture and
the kernel version. It is roughly 2GiB on i386, PPC, m68k, ARM, 1GiB
on sparc, 512MiB on mips, 128GiB on alpha and 3TiB on sparc64. For
kernels after 2.3.3 there is no such limitation.
Note that before 2.1.117 the kernel allocated one byte for each page,
while it now allocates two bytes, so that taking a swap area of 2 GiB
in use might require 2 MiB of kernel memory.
Presently, Linux allows 32 swap areas (this was 8 before Linux
2.4.10). The areas in use can be seen in the file /proc/swaps (since
2.1.25).
man mkswap 不知今天是否继续适用 |
|