<?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>My Workday &#187; Drop Caches</title>
	<atom:link href="http://www.goworkday.com/tag/drop-caches/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.goworkday.com</link>
	<description>Let&#039;s talk TECH</description>
	<lastBuildDate>Tue, 23 Mar 2010 03:28:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Drop Caches</title>
		<link>http://www.goworkday.com/2008/10/21/drop-caches/</link>
		<comments>http://www.goworkday.com/2008/10/21/drop-caches/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 17:51:40 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Drop Caches]]></category>

		<guid isPermaLink="false">http://www.goworkday.com/?p=43</guid>
		<description><![CDATA[<br/>Kernels 2.6.16 and newer provide a mechanism to have the kernel drop the page cache and/or inode and dentry caches on command, which can help free up a lot of memory. Now you can throw away that script that allocated a ton of memory just to get rid of the cache&#8230; To use /proc/sys/vm/drop_caches, just [...]]]></description>
			<content:encoded><![CDATA[<br/><p>Kernels 2.6.16 and newer provide a mechanism to have the kernel drop the page cache and/or inode and dentry caches on command, which can help free up a lot of memory. Now you can throw away that script that allocated a ton of memory just to get rid of the cache&#8230;</p>
<p>To use /proc/sys/vm/drop_caches, just echo a number to it.</p>
<p>To free pagecache:</p>
<p># echo 1 > /proc/sys/vm/drop_caches</p>
<p>To free dentries and inodes:</p>
<p># echo 2 > /proc/sys/vm/drop_caches</p>
<p>To free pagecache, dentries and inodes:</p>
<p>echo 3 > /proc/sys/vm/drop_caches</p>
<p>As this is a non-destructive operation and dirty objects are not freeable, the user should run &#8220;sync&#8221; first! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.goworkday.com/2008/10/21/drop-caches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
