Hatena::Grouptech

id:rx7(@namikawa)の技術メモ このページをアンテナに追加 RSSフィード

過去記事一覧 | Main Blog (元RX-7乗りの適当な日々) | SBM (id:rx7のBookmark)

2011/03/08

/proc/sys/vm/overcommit_memory

| /proc/sys/vm/overcommit_memory - id:rx7(@namikawa)の技術メモ を含むブックマーク はてなブックマーク - /proc/sys/vm/overcommit_memory - id:rx7(@namikawa)の技術メモ /proc/sys/vm/overcommit_memory - id:rx7(@namikawa)の技術メモ のブックマークコメント

via. http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Deployment_Guide/s3-proc-sys-vm.html

overcommit_memory — Configures the conditions under which a large memory request is accepted or denied. The following three modes are available:

0 — The kernel performs heuristic memory over commit handling by estimating the amount of memory available and failing requests that are blatantly invalid. Unfortunately, since memory is allocated using a heuristic rather than a precise algorithm, this setting can sometimes allow available memory on the system to be overloaded. This is the default setting.

1 — The kernel performs no memory over commit handling. Under this setting, the potential for memory overload is increased, but so is performance for memory intensive tasks (such as those executed by some scientific software).

2 — The kernel fails requests for memory that add up to all of swap plus the percent of physical RAM specified in /proc/sys/vm/overcommit_ratio. This setting is best for those who desire less risk of memory overcommitment. 

参考

トラックバック - http://tech.g.hatena.ne.jp/rx7/20110308