<?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>About Web Development by Activo &#187; nodiratime</title>
	<atom:link href="http://www.activoinc.com/blog/tag/nodiratime/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.activoinc.com/blog</link>
	<description>Web Development in a Web 2.0 World</description>
	<lastBuildDate>Fri, 29 Jan 2010 17:16:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Setting noatime and nodiratime for improved disk performance</title>
		<link>http://www.activoinc.com/blog/2009/08/25/setting-noatime-and-nodiratime-for-improved-disk-performance/</link>
		<comments>http://www.activoinc.com/blog/2009/08/25/setting-noatime-and-nodiratime-for-improved-disk-performance/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 15:00:46 +0000</pubDate>
		<dc:creator>Ron Peled</dc:creator>
				<category><![CDATA[Web Application Hosting]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[noatime]]></category>
		<category><![CDATA[nodiratime]]></category>

		<guid isPermaLink="false">http://www.activoinc.com/blog/?p=305</guid>
		<description><![CDATA[This is great if you have a server that performs plenty of disk access operations and you are interested in speeding things up a bit. Here is how to do this in three steps. First some assumptions:

You have root access
You are the only one that will ever need to mount or unmount this file system
Running [...]]]></description>
			<content:encoded><![CDATA[<p>This is great if you have a server that performs plenty of disk access operations and you are interested in speeding things up a bit. Here is how to do this in three steps. First some assumptions:</p>
<ul>
<li>You have root access</li>
<li>You are the only one that will ever need to mount or unmount this file system</li>
<li>Running CentOS (this may work, but was not tested on any other linux server)</li>
</ul>
<p>This is what we are doing:</p>
<ol>
<li>Editing /etc/fstab to set the noatime and nodiratime flags for the file system</li>
<li>Remounting the drives/file systems (without rebooting)</li>
<li>Checking our work</li>
</ol>
<p><strong>Step 1: Edit the /etc/fstab, type:</strong></p>
<pre>vi /etc/fstab</pre>
<p>Add the noatime, nodiratime flags right after the defaults flag in the &#8220;/&#8221; root mount partition. Repeat to all the partitions that you wish to speed up. Here is how my fstab file looks like after the change (click to enlarge):</p>
<p><a href="http://www.activoinc.com/blog/wp-content/uploads/2009/08/etc-fstab-in-vi_with_noatime_nodiratime.jpg"><img class="aligncenter size-medium wp-image-308" title="etc-fstab-in-vi_with_noatime_nodiratime" src="http://www.activoinc.com/blog/wp-content/uploads/2009/08/etc-fstab-in-vi_with_noatime_nodiratime-300x53.jpg" alt="etc-fstab-in-vi_with_noatime_nodiratime" width="300" height="53" /></a><strong>Step 2: Remount the file system:</strong></p>
<pre>mount -oremount /</pre>
<p><strong>Step 3: Check our work:</strong></p>
<pre>cat /proc/mounts</pre>
<p><strong>Tip</strong>: the following command will perform a tiny benchmark test, in case you want to see how fast your hard drives perform. If you want to compare, you should perform a before and after tests.</p>
<pre>hdparm -tT /dev/sda</pre>
<h3  class="related_post_title">Most Commected Posts</h3><ul class="related_post"><li>April 13, 2008 -- <a href="http://www.activoinc.com/blog/2008/04/13/about-linux-distros-ubuntu-and-centos/" title="About Linux Distros: Ubuntu and CentOS">About Linux Distros: Ubuntu and CentOS</a> (9)</li><li>October 2, 2009 -- <a href="http://www.activoinc.com/blog/2009/10/02/keywordluv-a-must-have-wordpress-plugin/" title="KeywordLuv: a must have wordpress plugin">KeywordLuv: a must have wordpress plugin</a> (7)</li><li>March 10, 2008 -- <a href="http://www.activoinc.com/blog/2008/03/10/10-key-search-engine-optimization-items-feeding-the-spiders/" title="10 Key Search Engine Optimization Items &#8211; Feeding the Spiders">10 Key Search Engine Optimization Items &#8211; Feeding the Spiders</a> (5)</li><li>October 5, 2009 -- <a href="http://www.activoinc.com/blog/2009/10/05/updating-inove-to-work-with-keywordluv-plugin/" title="Updating iNove to work with KeywordLuv plugin">Updating iNove to work with KeywordLuv plugin</a> (5)</li><li>August 19, 2008 -- <a href="http://www.activoinc.com/blog/2008/08/19/5-missing-features-preventing-joomla-cms-from-entering-the-enterprise-cms-market/" title="5 Missing Features Preventing Joomla! CMS from Entering the Enterprise CMS Market">5 Missing Features Preventing Joomla! CMS from Entering the Enterprise CMS Market</a> (3)</li><li>August 25, 2008 -- <a href="http://www.activoinc.com/blog/2008/08/25/zencart-ver-1-4-looking-ahead/" title="Looking Ahead: ZenCart ver 1.4">Looking Ahead: ZenCart ver 1.4</a> (3)</li><li>September 25, 2009 -- <a href="http://www.activoinc.com/blog/2009/09/25/magentos-order-management-workflow-comprehensive-but-unrealistic/" title="Magento&#8217;s Order Management Workflow: Comprehensive but Unrealistic">Magento&#8217;s Order Management Workflow: Comprehensive but Unrealistic</a> (3)</li><li>October 15, 2009 -- <a href="http://www.activoinc.com/blog/2009/10/15/zencart-1-3-8-and-php-5-2-11-bug-problem-login-to-admin-area/" title="ZenCart 1.3.8 and PHP 5.2.11 Bug: problem login to admin area">ZenCart 1.3.8 and PHP 5.2.11 Bug: problem login to admin area</a> (3)</li><li>November 26, 2009 -- <a href="http://www.activoinc.com/blog/2009/11/26/3-interesting-trends-in-web-browsers/" title="3 Interesting Trends in Web Browsers">3 Interesting Trends in Web Browsers</a> (3)</li><li>July 29, 2007 -- <a href="http://www.activoinc.com/blog/2007/07/29/why-we-chose-eventum-over-any-other-issue-tracking-system/" title="Why we chose Eventum over any other issue tracking system?">Why we chose Eventum over any other issue tracking system?</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.activoinc.com/blog/2009/08/25/setting-noatime-and-nodiratime-for-improved-disk-performance/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
