<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Mount options to improve ext4 file system performance</title>
	<atom:link href="http://blog.smartlogicsolutions.com/2009/06/04/mount-options-to-improve-ext4-file-system-performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.smartlogicsolutions.com/2009/06/04/mount-options-to-improve-ext4-file-system-performance/</link>
	<description>News and updates from the people at SmartLogic Solutions</description>
	<lastBuildDate>Sat, 17 Dec 2011 12:57:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: everge48</title>
		<link>http://blog.smartlogicsolutions.com/2009/06/04/mount-options-to-improve-ext4-file-system-performance/comment-page-1/#comment-5351</link>
		<dc:creator>everge48</dc:creator>
		<pubDate>Mon, 21 Nov 2011 11:08:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/?p=677#comment-5351</guid>
		<description>^ Yes it is redundant.</description>
		<content:encoded><![CDATA[<p>^ Yes it is redundant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LohPhat</title>
		<link>http://blog.smartlogicsolutions.com/2009/06/04/mount-options-to-improve-ext4-file-system-performance/comment-page-1/#comment-5302</link>
		<dc:creator>LohPhat</dc:creator>
		<pubDate>Sat, 10 Sep 2011 19:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/?p=677#comment-5302</guid>
		<description>1. What is the default journal mode if the &quot;journal_data&quot; &#124; &quot;journal_data_ordered&quot; &#124; &quot;journal_data_writeback&quot; are not specified? Is it distro specific? If so, how do I find out?

Is the /etc/fstab mount option &quot;data=writeback&quot; redundant if &quot;journal_data_writeback&quot; is set in the superblock?</description>
		<content:encoded><![CDATA[<p>1. What is the default journal mode if the &#8220;journal_data&#8221; | &#8220;journal_data_ordered&#8221; | &#8220;journal_data_writeback&#8221; are not specified? Is it distro specific? If so, how do I find out?</p>
<p>Is the /etc/fstab mount option &#8220;data=writeback&#8221; redundant if &#8220;journal_data_writeback&#8221; is set in the superblock?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Install MySQL on SSD, best mount options? - Admins Goodies</title>
		<link>http://blog.smartlogicsolutions.com/2009/06/04/mount-options-to-improve-ext4-file-system-performance/comment-page-1/#comment-5286</link>
		<dc:creator>Install MySQL on SSD, best mount options? - Admins Goodies</dc:creator>
		<pubDate>Tue, 09 Aug 2011 23:20:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/?p=677#comment-5286</guid>
		<description>[...] This blog provides several speed-optimizing mount options you might consider, and explains some of the risks of using some of them. http://blog.smartlogicsolutions.com/2009/06/04/mount-options-to-improve-ext4-file-system-performance... [...]</description>
		<content:encoded><![CDATA[<p>[...] This blog provides several speed-optimizing mount options you might consider, and explains some of the risks of using some of them. <a href="http://blog.smartlogicsolutions.com/2009/06/04/mount-options-to-improve-ext4-file-system-performance.." rel="nofollow">http://blog.smartlogicsolutions.com/2009/06/04/mount-options-to-improve-ext4-file-system-performance..</a>. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Improve File-Systems Performance &#171; XT Zone</title>
		<link>http://blog.smartlogicsolutions.com/2009/06/04/mount-options-to-improve-ext4-file-system-performance/comment-page-1/#comment-5279</link>
		<dc:creator>Improve File-Systems Performance &#171; XT Zone</dc:creator>
		<pubDate>Fri, 22 Jul 2011 05:55:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/?p=677#comment-5279</guid>
		<description>[...] options offer an easy way to improve speed without reformatting. Some articles boosted rails test suite running time by around 30% by adding certain mount options for their ext4 [...]</description>
		<content:encoded><![CDATA[<p>[...] options offer an easy way to improve speed without reformatting. Some articles boosted rails test suite running time by around 30% by adding certain mount options for their ext4 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael T. Babcock</title>
		<link>http://blog.smartlogicsolutions.com/2009/06/04/mount-options-to-improve-ext4-file-system-performance/comment-page-1/#comment-5274</link>
		<dc:creator>Michael T. Babcock</dc:creator>
		<pubDate>Fri, 08 Jul 2011 19:44:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/?p=677#comment-5274</guid>
		<description>This discussion is one of the reasons I partition my drives with more than one simple root partition; different file system parameters suit different types of data.

For example, if you use two, a root and a /home filesystem, you can set your /root to be full journaled writes with noatime for fast reads but slow writes and almost no possibility of data corruption where your binaries live.  Then your /home you can play a bit more fast and loose with if you like.</description>
		<content:encoded><![CDATA[<p>This discussion is one of the reasons I partition my drives with more than one simple root partition; different file system parameters suit different types of data.</p>
<p>For example, if you use two, a root and a /home filesystem, you can set your /root to be full journaled writes with noatime for fast reads but slow writes and almost no possibility of data corruption where your binaries live.  Then your /home you can play a bit more fast and loose with if you like.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Dickerson</title>
		<link>http://blog.smartlogicsolutions.com/2009/06/04/mount-options-to-improve-ext4-file-system-performance/comment-page-1/#comment-5253</link>
		<dc:creator>Joshua Dickerson</dc:creator>
		<pubDate>Fri, 06 May 2011 16:18:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/?p=677#comment-5253</guid>
		<description>Instead of rebooting, just use &quot;mount -a&quot;</description>
		<content:encoded><![CDATA[<p>Instead of rebooting, just use &#8220;mount -a&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Gauthier</title>
		<link>http://blog.smartlogicsolutions.com/2009/06/04/mount-options-to-improve-ext4-file-system-performance/comment-page-1/#comment-5167</link>
		<dc:creator>Nick Gauthier</dc:creator>
		<pubDate>Sat, 18 Dec 2010 02:02:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/?p=677#comment-5167</guid>
		<description>Cool, thanks James. Slightly more dangerous, but probably even better for performance.</description>
		<content:encoded><![CDATA[<p>Cool, thanks James. Slightly more dangerous, but probably even better for performance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://blog.smartlogicsolutions.com/2009/06/04/mount-options-to-improve-ext4-file-system-performance/comment-page-1/#comment-5166</link>
		<dc:creator>James</dc:creator>
		<pubDate>Sat, 18 Dec 2010 01:32:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/?p=677#comment-5166</guid>
		<description>EXT4 also can be created without a journal. Full journaling on EXT4 turns off delayed allocation as does the mount option &#039;nodelalloc&#039; with ordered mode makes it behave like EXT3.


http://kernelnewbies.org/Ext4</description>
		<content:encoded><![CDATA[<p>EXT4 also can be created without a journal. Full journaling on EXT4 turns off delayed allocation as does the mount option &#8216;nodelalloc&#8217; with ordered mode makes it behave like EXT3.</p>
<p><a href="http://kernelnewbies.org/Ext4" rel="nofollow">http://kernelnewbies.org/Ext4</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Admin: Linux file server performance boost (ext4 version) &#124; Cypris' lookout</title>
		<link>http://blog.smartlogicsolutions.com/2009/06/04/mount-options-to-improve-ext4-file-system-performance/comment-page-1/#comment-4696</link>
		<dc:creator>Admin: Linux file server performance boost (ext4 version) &#124; Cypris' lookout</dc:creator>
		<pubDate>Sun, 03 Oct 2010 04:34:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/?p=677#comment-4696</guid>
		<description>[...] Mount options to improve ext4 file system performance [...]</description>
		<content:encoded><![CDATA[<p>[...] Mount options to improve ext4 file system performance [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grogan</title>
		<link>http://blog.smartlogicsolutions.com/2009/06/04/mount-options-to-improve-ext4-file-system-performance/comment-page-1/#comment-4549</link>
		<dc:creator>Grogan</dc:creator>
		<pubDate>Tue, 21 Sep 2010 23:04:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/?p=677#comment-4549</guid>
		<description>Andrius says: &quot;I’m not completely sure, but it seems data=writeback and journal_data_writeback is not the same.&quot;

Yes, it is. It is simply setting the default journal option in the superblock. The reason for that first step with tune2fs is in case that is your root filesystem. You cannot remount a filesystem and change the journal mode, it has to be completely dismounted first.

In just about every distro (boot loader option) your filesystem will already be mounted read-only before fstab options come into play, and trying to change the journal mode will result in mount refusing to remount the filesystem, it will stay in read-only mode and your system will not boot properly. (you&#039;ll be lucky to get a shell depending on distro and certainly, if you&#039;re doing this remotely, you&#039;d be buggered)

&quot;journal_data_writeback is option, when full journaling is enabled with data=journal. data=journal is the slowest and safest mode. As you said journal_data_writeback keep a journal and gives best performance in data=journal mode.&quot;

No, they are mutually exclusive. data=journal would override the journal_data_writeback setting in the superblock at mount time.

You&#039;re correct about the pseudo journaling though (metadata only, whether ordered or writeback modes). The only journal option that gives you real journaling is data=journal

---------------------------------

Nick, thanks for the blog post. I came across it while looking for mount options to improve ext4 performance. What I think is that you have to do backups anyway, so it&#039;s better to use options that favour performance than data safety at the expense of performance. At least on my own workstations, anyway.</description>
		<content:encoded><![CDATA[<p>Andrius says: &#8220;I’m not completely sure, but it seems data=writeback and journal_data_writeback is not the same.&#8221;</p>
<p>Yes, it is. It is simply setting the default journal option in the superblock. The reason for that first step with tune2fs is in case that is your root filesystem. You cannot remount a filesystem and change the journal mode, it has to be completely dismounted first.</p>
<p>In just about every distro (boot loader option) your filesystem will already be mounted read-only before fstab options come into play, and trying to change the journal mode will result in mount refusing to remount the filesystem, it will stay in read-only mode and your system will not boot properly. (you&#8217;ll be lucky to get a shell depending on distro and certainly, if you&#8217;re doing this remotely, you&#8217;d be buggered)</p>
<p>&#8220;journal_data_writeback is option, when full journaling is enabled with data=journal. data=journal is the slowest and safest mode. As you said journal_data_writeback keep a journal and gives best performance in data=journal mode.&#8221;</p>
<p>No, they are mutually exclusive. data=journal would override the journal_data_writeback setting in the superblock at mount time.</p>
<p>You&#8217;re correct about the pseudo journaling though (metadata only, whether ordered or writeback modes). The only journal option that gives you real journaling is data=journal</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Nick, thanks for the blog post. I came across it while looking for mount options to improve ext4 performance. What I think is that you have to do backups anyway, so it&#8217;s better to use options that favour performance than data safety at the expense of performance. At least on my own workstations, anyway.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

