<?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: Should Filesystems Be Optimized for SSD&#8217;s?</title>
	<atom:link href="http://thunk.org/tytso/blog/2009/02/22/should-filesystems-be-optimized-for-ssds/feed/" rel="self" type="application/rss+xml" />
	<link>http://thunk.org/tytso/blog/2009/02/22/should-filesystems-be-optimized-for-ssds/</link>
	<description>Musings about Open Source, Linux, and Life by Theodore Tso</description>
	<lastBuildDate>Mon, 22 Feb 2010 22:39:59 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Thomas</title>
		<link>http://thunk.org/tytso/blog/2009/02/22/should-filesystems-be-optimized-for-ssds/comment-page-1/#comment-3054</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Sat, 13 Feb 2010 21:06:02 +0000</pubDate>
		<guid isPermaLink="false">http://thunk.org/tytso/blog/?p=281#comment-3054</guid>
		<description>I personally expect SSDs to become dumb in the future, as soon as they stop being pricey products made in USA and start being mass products made in China.  The manufacturers will start putting the necessary &quot;intelligence&quot; into a windows driver (for almost no cost per unit) instead of into costly on-device silicon.  At least, this is what happened to other devices: WLAN controllers (cf. early Prism chips with the ones used today), Laser printers (GDI), you name it.</description>
		<content:encoded><![CDATA[<p>I personally expect SSDs to become dumb in the future, as soon as they stop being pricey products made in USA and start being mass products made in China.  The manufacturers will start putting the necessary &#8220;intelligence&#8221; into a windows driver (for almost no cost per unit) instead of into costly on-device silicon.  At least, this is what happened to other devices: WLAN controllers (cf. early Prism chips with the ones used today), Laser printers (GDI), you name it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://thunk.org/tytso/blog/2009/02/22/should-filesystems-be-optimized-for-ssds/comment-page-1/#comment-2790</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sat, 14 Nov 2009 03:32:01 +0000</pubDate>
		<guid isPermaLink="false">http://thunk.org/tytso/blog/?p=281#comment-2790</guid>
		<description>&gt; And if Intel never releases a firmware update to add ATA TRIM support, then 
&gt; I will be out $400 out of my own pocket for an SSD that lacks this capability, 
&gt; and so adding a block allocator which works around limitations of the X25-M 
&gt; probably makes sense.   If it turns out that it takes two years before disks 
&gt; that have ATA TRIM support show up, then it will definitely make sense to 
&gt; add such an optimization. (Hard drive vendors have been historically
&gt; S-L-O-W to finish standardizing new features and then letting such features
&gt; enter the market place, so I’m not necessarily holding my breath; after all,
&gt; the Linux block device layer and and file systems have been ready to send
&gt; ATA TRIM support for about six months; what’s taking the ATA committees
&gt; and SSD vendors so long? 

Is this indeed working with TRIM enabled SSD&#039;s today? I read somewhere in the OCZ forums, in a post by the hdparm author, that issues showed up when running on real hardware, causing it to be disabled for now.

&gt; On the other hand, if Intel releases ATA TRIM support next month, then it
&gt; might not be worth my effort to add such a mount option to ext4.

So, Ted, will we see such optimization now that Intel has officially left its early adopters out in the cold?

Also, how much of this as well as your previous posts on the subject also applies to USB thumb drives? Any (pun not intended) thumb rules to follow?

But hey, Kingston is now shipping 40 GB SSD&#039;s with Intel 2-gen internals for around $100 or so. Not shipping with TRIM support but a new firmware is in the works. Getting mine on monday :-)</description>
		<content:encoded><![CDATA[<p>&gt; And if Intel never releases a firmware update to add ATA TRIM support, then<br />
&gt; I will be out $400 out of my own pocket for an SSD that lacks this capability,<br />
&gt; and so adding a block allocator which works around limitations of the X25-M<br />
&gt; probably makes sense.   If it turns out that it takes two years before disks<br />
&gt; that have ATA TRIM support show up, then it will definitely make sense to<br />
&gt; add such an optimization. (Hard drive vendors have been historically<br />
&gt; S-L-O-W to finish standardizing new features and then letting such features<br />
&gt; enter the market place, so I’m not necessarily holding my breath; after all,<br />
&gt; the Linux block device layer and and file systems have been ready to send<br />
&gt; ATA TRIM support for about six months; what’s taking the ATA committees<br />
&gt; and SSD vendors so long? </p>
<p>Is this indeed working with TRIM enabled SSD&#8217;s today? I read somewhere in the OCZ forums, in a post by the hdparm author, that issues showed up when running on real hardware, causing it to be disabled for now.</p>
<p>&gt; On the other hand, if Intel releases ATA TRIM support next month, then it<br />
&gt; might not be worth my effort to add such a mount option to ext4.</p>
<p>So, Ted, will we see such optimization now that Intel has officially left its early adopters out in the cold?</p>
<p>Also, how much of this as well as your previous posts on the subject also applies to USB thumb drives? Any (pun not intended) thumb rules to follow?</p>
<p>But hey, Kingston is now shipping 40 GB SSD&#8217;s with Intel 2-gen internals for around $100 or so. Not shipping with TRIM support but a new firmware is in the works. Getting mine on monday <img src='http://thunk.org/tytso/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Brown</title>
		<link>http://thunk.org/tytso/blog/2009/02/22/should-filesystems-be-optimized-for-ssds/comment-page-1/#comment-2768</link>
		<dc:creator>Alan Brown</dc:creator>
		<pubDate>Wed, 28 Oct 2009 14:14:29 +0000</pubDate>
		<guid isPermaLink="false">http://thunk.org/tytso/blog/?p=281#comment-2768</guid>
		<description>Intel just added TRIM to the latest firmware update for X25-M drives.

The update won&#039;t work on the earliest drives :-(

Formy planned use (Backup spooling) kernel TRIM support would be a huge win as the files I&#039;m working with are approx 10Gb apiece.</description>
		<content:encoded><![CDATA[<p>Intel just added TRIM to the latest firmware update for X25-M drives.</p>
<p>The update won&#8217;t work on the earliest drives <img src='http://thunk.org/tytso/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>Formy planned use (Backup spooling) kernel TRIM support would be a huge win as the files I&#8217;m working with are approx 10Gb apiece.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John and Dagny Galt</title>
		<link>http://thunk.org/tytso/blog/2009/02/22/should-filesystems-be-optimized-for-ssds/comment-page-1/#comment-2756</link>
		<dc:creator>John and Dagny Galt</dc:creator>
		<pubDate>Sun, 25 Oct 2009 11:56:14 +0000</pubDate>
		<guid isPermaLink="false">http://thunk.org/tytso/blog/?p=281#comment-2756</guid>
		<description>Additional mathmatics for the more challenged amongst us.

http://wiki.laptop.org/go/How_to_Damage_a_FLASH_Storage_Device

.</description>
		<content:encoded><![CDATA[<p>Additional mathmatics for the more challenged amongst us.</p>
<p><a href="http://wiki.laptop.org/go/How_to_Damage_a_FLASH_Storage_Device" rel="nofollow">http://wiki.laptop.org/go/How_to_Damage_a_FLASH_Storage_Device</a></p>
<p>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: martin0641</title>
		<link>http://thunk.org/tytso/blog/2009/02/22/should-filesystems-be-optimized-for-ssds/comment-page-1/#comment-2725</link>
		<dc:creator>martin0641</dc:creator>
		<pubDate>Tue, 06 Oct 2009 15:20:25 +0000</pubDate>
		<guid isPermaLink="false">http://thunk.org/tytso/blog/?p=281#comment-2725</guid>
		<description>I&#039;d like to know how the TRIM command will be passed through RAID controllers, such as the Intel Matrix many people use.

I have 2 160GB Gen2 Intel X25-M&#039;s and I&#039;ve been trying to figure out the best way to stripe and subsequently format them for a dual boot Windows 7 / Linux Mint system.

People seem to be testing using low level tools and saying 128K stripe sizes are best because that is the Intel native size, but it&#039;s been hard finding guidance on what block size to use for the filesystem itself.  

My first reaction would be to say a 256K block size would split the data evenly, but that seems terribly wasteful on devices with such limited capacity.

Does anyone have any ideas, for regular desktop usage, games, and dual booting from an Intel Matrix setup, what a suggested stripe/filesystem size would be?  One possibly for maximum speed, and another for a reasonable speed/space comprimise?</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to know how the TRIM command will be passed through RAID controllers, such as the Intel Matrix many people use.</p>
<p>I have 2 160GB Gen2 Intel X25-M&#8217;s and I&#8217;ve been trying to figure out the best way to stripe and subsequently format them for a dual boot Windows 7 / Linux Mint system.</p>
<p>People seem to be testing using low level tools and saying 128K stripe sizes are best because that is the Intel native size, but it&#8217;s been hard finding guidance on what block size to use for the filesystem itself.  </p>
<p>My first reaction would be to say a 256K block size would split the data evenly, but that seems terribly wasteful on devices with such limited capacity.</p>
<p>Does anyone have any ideas, for regular desktop usage, games, and dual booting from an Intel Matrix setup, what a suggested stripe/filesystem size would be?  One possibly for maximum speed, and another for a reasonable speed/space comprimise?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: antiram</title>
		<link>http://thunk.org/tytso/blog/2009/02/22/should-filesystems-be-optimized-for-ssds/comment-page-1/#comment-2697</link>
		<dc:creator>antiram</dc:creator>
		<pubDate>Mon, 17 Aug 2009 20:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://thunk.org/tytso/blog/?p=281#comment-2697</guid>
		<description>TRIM works on Indilinx controllers with firmware 1711.
Current linux solution is a wiper tool:
http://www.ocztechnologyforum.com/forum/showthread.php?t=60882</description>
		<content:encoded><![CDATA[<p>TRIM works on Indilinx controllers with firmware 1711.<br />
Current linux solution is a wiper tool:<br />
<a href="http://www.ocztechnologyforum.com/forum/showthread.php?t=60882" rel="nofollow">http://www.ocztechnologyforum.com/forum/showthread.php?t=60882</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hannu</title>
		<link>http://thunk.org/tytso/blog/2009/02/22/should-filesystems-be-optimized-for-ssds/comment-page-1/#comment-2694</link>
		<dc:creator>Hannu</dc:creator>
		<pubDate>Sun, 16 Aug 2009 13:11:25 +0000</pubDate>
		<guid isPermaLink="false">http://thunk.org/tytso/blog/?p=281#comment-2694</guid>
		<description>Hi!

While waiting for the TRIM option, would it be of any use to fill the deleted sectors with 0xFF? Would the SSD consider it as erased or not?

Easy to try; when the disk is getting slower, just fill all free space with a file filled with 0xFF. Maybe it works..</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>While waiting for the TRIM option, would it be of any use to fill the deleted sectors with 0xFF? Would the SSD consider it as erased or not?</p>
<p>Easy to try; when the disk is getting slower, just fill all free space with a file filled with 0xFF. Maybe it works..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: antiram</title>
		<link>http://thunk.org/tytso/blog/2009/02/22/should-filesystems-be-optimized-for-ssds/comment-page-1/#comment-1976</link>
		<dc:creator>antiram</dc:creator>
		<pubDate>Thu, 12 Mar 2009 13:37:30 +0000</pubDate>
		<guid isPermaLink="false">http://thunk.org/tytso/blog/?p=281#comment-1976</guid>
		<description>&quot;On the other hand, if Intel releases ATA TRIM support next month, then it might not be worth my effort to add such a mount option to ext4.&quot;
means this that TRIM is working NOW with ext4 or is a mount option required?

SSDs with Indilinx Barefoot Controller (OCZ Vertex, Supertalent Ultradrive, both available) should have TRIM support.
A OCZ moderator says that next firmware (next week or month) has TRIM support, but it is not working with linux.
http://www.ocztechnologyforum.com/forum/showpost.php?p=351938&amp;postcount=35
a german Supertalent distributor says that the Ultradrives with current firmware has TRIM support.

Is there a easy way to check if TRIM is supported from the ssd (e.g. hdparm, dmesg) and if the kernel and filesystem is using it?</description>
		<content:encoded><![CDATA[<p>&#8220;On the other hand, if Intel releases ATA TRIM support next month, then it might not be worth my effort to add such a mount option to ext4.&#8221;<br />
means this that TRIM is working NOW with ext4 or is a mount option required?</p>
<p>SSDs with Indilinx Barefoot Controller (OCZ Vertex, Supertalent Ultradrive, both available) should have TRIM support.<br />
A OCZ moderator says that next firmware (next week or month) has TRIM support, but it is not working with linux.<br />
<a href="http://www.ocztechnologyforum.com/forum/showpost.php?p=351938&amp;postcount=35" rel="nofollow">http://www.ocztechnologyforum.com/forum/showpost.php?p=351938&amp;postcount=35</a><br />
a german Supertalent distributor says that the Ultradrives with current firmware has TRIM support.</p>
<p>Is there a easy way to check if TRIM is supported from the ssd (e.g. hdparm, dmesg) and if the kernel and filesystem is using it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Bucksch</title>
		<link>http://thunk.org/tytso/blog/2009/02/22/should-filesystems-be-optimized-for-ssds/comment-page-1/#comment-1948</link>
		<dc:creator>Ben Bucksch</dc:creator>
		<pubDate>Thu, 05 Mar 2009 10:59:29 +0000</pubDate>
		<guid isPermaLink="false">http://thunk.org/tytso/blog/?p=281#comment-1948</guid>
		<description>&quot;Until ATA TRIM support becomes available, it will be advantageous to add support in ext4 for a block allocator option that aggressively reuses blocks above all else, and avoids using blocks that have never been allocated or used before&quot;

I think this will also help sparse files used as base for virtual disks for VMs.</description>
		<content:encoded><![CDATA[<p>&#8220;Until ATA TRIM support becomes available, it will be advantageous to add support in ext4 for a block allocator option that aggressively reuses blocks above all else, and avoids using blocks that have never been allocated or used before&#8221;</p>
<p>I think this will also help sparse files used as base for virtual disks for VMs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anon</title>
		<link>http://thunk.org/tytso/blog/2009/02/22/should-filesystems-be-optimized-for-ssds/comment-page-1/#comment-1893</link>
		<dc:creator>Anon</dc:creator>
		<pubDate>Thu, 26 Feb 2009 08:51:03 +0000</pubDate>
		<guid isPermaLink="false">http://thunk.org/tytso/blog/?p=281#comment-1893</guid>
		<description>(Doh sent that message too soon)

Some kernel devs are also predicting that the move to 4k sectors is going to be painful: http://lkml.org/lkml/2009/2/25/485 (but I see you&#039;ve already seen that thread :)</description>
		<content:encoded><![CDATA[<p>(Doh sent that message too soon)</p>
<p>Some kernel devs are also predicting that the move to 4k sectors is going to be painful: <a href="http://lkml.org/lkml/2009/2/25/485" rel="nofollow">http://lkml.org/lkml/2009/2/25/485</a> (but I see you&#8217;ve already seen that thread <img src='http://thunk.org/tytso/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
