<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.pchero21.com/index.php?action=history&amp;feed=atom&amp;title=Kernal</id>
	<title>Kernal - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.pchero21.com/index.php?action=history&amp;feed=atom&amp;title=Kernal"/>
	<link rel="alternate" type="text/html" href="http://wiki.pchero21.com/index.php?title=Kernal&amp;action=history"/>
	<updated>2026-04-09T01:08:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>http://wiki.pchero21.com/index.php?title=Kernal&amp;diff=2563&amp;oldid=prev</id>
		<title>Pchero at 09:37, 26 June 2017</title>
		<link rel="alternate" type="text/html" href="http://wiki.pchero21.com/index.php?title=Kernal&amp;diff=2563&amp;oldid=prev"/>
		<updated>2017-06-26T09:37:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:37, 26 June 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l48&quot;&gt;Line 48:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 48:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;linux&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;system&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pchero</name></author>
	</entry>
	<entry>
		<id>http://wiki.pchero21.com/index.php?title=Kernal&amp;diff=326&amp;oldid=prev</id>
		<title>Pchero: /* vm.overcommit_memory */</title>
		<link rel="alternate" type="text/html" href="http://wiki.pchero21.com/index.php?title=Kernal&amp;diff=326&amp;oldid=prev"/>
		<updated>2015-06-18T13:35:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;vm.overcommit_memory&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:35, 18 June 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l43&quot;&gt;Line 43:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: http://mimul.com/pebble/default/2013/05/10/1368171783727.html&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: http://mimul.com/pebble/default/2013/05/10/1368171783727.html&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: https://charsyam.wordpress.com/2013/01/24/%EC%9E%85-%EA%B0%9C%EB%B0%9C-redis-vm-overcommit_memory-%EC%9D%84-%EC%95%84%EC%8B%9C%EB%82%98%EC%9A%94/&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: https://charsyam.wordpress.com/2013/01/24/%EC%9E%85-%EA%B0%9C%EB%B0%9C-redis-vm-overcommit_memory-%EC%9D%84-%EC%95%84%EC%8B%9C%EB%82%98%EC%9A%94/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: http://www.hanbit.co.kr/network/view.html?bi_id=1313&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== References ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== References ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pchero</name></author>
	</entry>
	<entry>
		<id>http://wiki.pchero21.com/index.php?title=Kernal&amp;diff=325&amp;oldid=prev</id>
		<title>Pchero: Created page with &quot;== Overview == Linux/Unix/Windows 커널 옵션 설명 모음.  == vm.overcommit_memory == 원문은 이곳&lt;ref&gt;https://www.kernel.org/doc/Documentation/vm/overcommit-accounti...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.pchero21.com/index.php?title=Kernal&amp;diff=325&amp;oldid=prev"/>
		<updated>2015-06-18T13:28:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Overview == Linux/Unix/Windows 커널 옵션 설명 모음.  == vm.overcommit_memory == 원문은 이곳&amp;lt;ref&amp;gt;https://www.kernel.org/doc/Documentation/vm/overcommit-accounti...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Overview ==&lt;br /&gt;
Linux/Unix/Windows 커널 옵션 설명 모음.&lt;br /&gt;
&lt;br /&gt;
== vm.overcommit_memory ==&lt;br /&gt;
원문은 이곳&amp;lt;ref&amp;gt;https://www.kernel.org/doc/Documentation/vm/overcommit-accounting&amp;lt;/ref&amp;gt;에서 확인할 수 있다.&lt;br /&gt;
허용 가능한 메모리 용량을 넘어서는 초과 메모리 할당 요청에 대해 어떻게 응대 할 것인지를 지정하는 커널 옵션이다.&lt;br /&gt;
&lt;br /&gt;
프로그램이 메모리를 요청한다고 해서, 할당받은 메모리 전부를 사용하는 것은 아니다. 실제로 사용하는 메모리(읽기, 쓰기)와 단지 할당을 요청하는 메모리의 크기는 서로 다를 수도 있다는 것이다. 이를 실제 메모리, 가상 메모리 등으로 나누어 구분하는데, 아무튼, overcommit_memory 커널 옵션이 이와 연관되어 있다.&lt;br /&gt;
&lt;br /&gt;
얼핏 들어서도 굉장히 위험한 옵션이다. 할당 가능한 메모리 이상을 프로그램에 할당하게 되면 언젠가는, 정말로 메모리가 부족하게 되는 현상이 나타나게 된다. 이런 경우, 어떻게될까? OOM-killer(out of memory killer) 라고 하는 메커니즘이 발동하여 OS에서 임의로 프로그램을 종료시켜버린다(Linux kernal). 그런데 종료된 프로그램은 어떤 인터럽트가 발생하여 프로그램이 종료된지 모르게 된다. 따라서 사용에 많은 주의를 요한다.&lt;br /&gt;
&lt;br /&gt;
다음은 설정 가능한 옵션 값 설명이다.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
0 : 적당히 휴리스틱하게 처리.&lt;br /&gt;
    Heuristic overcommit handling. Obvious overcommits of&lt;br /&gt;
    address space are refused. Used for a typical system. It&lt;br /&gt;
    ensures a seriously wild allocation fails while allowing&lt;br /&gt;
    overcommit to reduce swap usage.  root is allowed to &lt;br /&gt;
    allocate slightly more memory in this mode. This is the &lt;br /&gt;
    default. &lt;br /&gt;
&lt;br /&gt;
1 : 항상 허용.&lt;br /&gt;
    Always overcommit. Appropriate for some scientific&lt;br /&gt;
    applications. Classic example is code using sparse arrays&lt;br /&gt;
    and just relying on the virtual memory consisting almost&lt;br /&gt;
    entirely of zero pages.&lt;br /&gt;
&lt;br /&gt;
2 : vm.overcommit_memory_ratio 에 적용된 범위까지만 허용&lt;br /&gt;
    Don't overcommit. The total address space commit&lt;br /&gt;
    for the system is not permitted to exceed swap + a&lt;br /&gt;
    configurable amount (default is 50%) of physical RAM.&lt;br /&gt;
    Depending on the amount you use, in most situations&lt;br /&gt;
    this means a process will not be killed while accessing&lt;br /&gt;
    pages but will receive errors on memory allocation as&lt;br /&gt;
    appropriate.&lt;br /&gt;
&lt;br /&gt;
    Useful for applications that want to guarantee their&lt;br /&gt;
    memory allocations will be available in the future&lt;br /&gt;
    without having to initialize every page.            &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 참조&lt;br /&gt;
: http://mimul.com/pebble/default/2013/05/10/1368171783727.html&lt;br /&gt;
: https://charsyam.wordpress.com/2013/01/24/%EC%9E%85-%EA%B0%9C%EB%B0%9C-redis-vm-overcommit_memory-%EC%9D%84-%EC%95%84%EC%8B%9C%EB%82%98%EC%9A%94/&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category:linux]]&lt;/div&gt;</summary>
		<author><name>Pchero</name></author>
	</entry>
</feed>