- UID
- 1601
- 帖子
- 3743
- 精华
- 1
- 贡献
- 11
- 推广
- 0
- 有效BUG
- 0
- 注册时间
- 2005-7-6
|
13#
发表于 2009-1-27 23:44
| 只看该作者
回复 11# akwak 的帖子
http://members.shaw.ca/bsanders/ ... moryPageFileEtc.htm 是官方 knowledge base 的完整文章,看完便会明白我的说法,下面是部份 excerpt:
Most newer computers will have more than I GB of RAM and, in most cases, there is sufficient RAM available that having more virtual memory than the available RAM is a relatively rare occurrence. There is little point in allocating a large minimum size pagefile, since it typically won’t be used. However, having a relatively large maximum will avoid “out of virtual memory” conditions without dedicating a big chunk of disk space for that rare situation.
A common recommendation is to make the page file 1.5 times the size of the installed RAM. This recommendation makes sense only for computers with small amounts of RAM (256 MB or less)...
An argument sometimes made is that the minimum pagefile has to be at least the size of the RAM so that a full memory dump can be taken when the operating system crashes. However, this is not a very powerful argument because:...
The best way to size the pagefile is to monitor how much of the pagefile is in use and the system paging activity. If very little of the pagefile is ever used, there is not much point in having a large minimum size. Conversely if the pagefile is typically 80% or more used, increasing the minimum size may be advantageous. See 2.8. Monitoring RAM and Virtual Memory usage for more information about monitoring memory and pagefile use.
至于不设 Page File 上限可能会做成碎片,这只会在 Page File + RAM 不够用的情况下发生。要是真的发生,则表示 RAM 不充足,要是不能再添加 RAM 可以加大 Page File。而即使 Page File 出现碎片,以后可以 defrag 及加大,总比程序/系统崩溃要强。
[ 本帖最后由 AY 于 2009-1-28 00:02 编辑 ] |
|