<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Simon Žekar - unix, communications, stupidities &#187; memory</title>
	<atom:link href="http://simon.zekar.com/tag/memory/feed/" rel="self" type="application/rss+xml" />
	<link>http://simon.zekar.com</link>
	<description>"Unix is simple, but it takes a genious to understand the simplicity" --Dennis Ritchie</description>
	<lastBuildDate>Sun, 23 Oct 2011 16:13:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>understanding freebsd memory usage</title>
		<link>http://simon.zekar.com/2009/01/30/understanding-freebsd-memory-usage/</link>
		<comments>http://simon.zekar.com/2009/01/30/understanding-freebsd-memory-usage/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 20:07:17 +0000</pubDate>
		<dc:creator>sIMON</dc:creator>
				<category><![CDATA[general bluez]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[memory]]></category>

		<guid isPermaLink="false">http://simon.zekar.com/?p=61</guid>
		<description><![CDATA[I think it is better to write in english, since I&#8217;m often googling around about some problem and land on a site in chinese with some configuration pasted in the site. The problem is I don&#8217;t know what poor chinese boy wrote: &#8220;This configuration is working for me:&#8221; or &#8220;This configuration is not working at [...]]]></description>
			<content:encoded><![CDATA[<p>I think it is better to write in english, since I&#8217;m often googling around about some problem and land on a site in chinese with some configuration pasted in the site.</p>
<p>The problem is I don&#8217;t know what poor chinese boy wrote: &#8220;This configuration is working for me:&#8221; or &#8220;This configuration is not working at all, can someone help me:&#8221;. So I try it. Never worked.</p>
<p>Recently I found a <a href="http://lists.freebsd.org/pipermail/freebsd-questions/2005-February/075925.html" target="_blank">post</a> which nicely describes statuses of FreeBSD memory allocation.</p>
<p>Top shows:</p>
<p><code>Mem: 4589M Active, 13G Inact, 489M Wired, 733M Cache, 214M Buf, 886M Free</code></p>
<p>And the snip from the post:</p>
<p>Memory normally moves along the following path:</p>
<p>Wired -&gt; Active -&gt; Inactive -&gt; Cached -&gt; Free</p>
<p>and then when it gets allocated and used it moves back to Wired.</p>
<p>The difference between the categories is mainly that &#8220;Inactive&#8221; and<br />
&#8220;Cached&#8221; memory still contains data that the system might be able to<br />
reuse, while &#8220;Free&#8221; memory is completely free and unused.<br />
In order to use Cached or Inactive memory it might need to be flushed<br />
first, with Inactive probably being dirty and Cached probably not.<br />
(&#8220;Active&#8221; memory is almost certainly dirty and is therefore somewhat<br />
more expensive to reuse.</p>
]]></content:encoded>
			<wfw:commentRss>http://simon.zekar.com/2009/01/30/understanding-freebsd-memory-usage/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

