<?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: SSD, XFS, LVM, fsync, write cache, barrier and lost transactions</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2009/03/02/ssd-xfs-lvm-fsync-write-cache-barrier-and-lost-transactions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2009/03/02/ssd-xfs-lvm-fsync-write-cache-barrier-and-lost-transactions/</link>
	<description>Percona&#039;s MySQL &#38; InnoDB performance and scalability blog</description>
	<lastBuildDate>Sat, 11 Feb 2012 16:45:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: SAB</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/02/ssd-xfs-lvm-fsync-write-cache-barrier-and-lost-transactions/comment-page-1/#comment-872547</link>
		<dc:creator>SAB</dc:creator>
		<pubDate>Mon, 09 Jan 2012 22:06:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=631#comment-872547</guid>
		<description>Sorry for digging this post up, but did you tried those tests with Sysbench ? I made a few tests with write cache on and off but I don&#039;t have a SSD to compare the results.</description>
		<content:encoded><![CDATA[<p>Sorry for digging this post up, but did you tried those tests with Sysbench ? I made a few tests with write cache on and off but I don&#8217;t have a SSD to compare the results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Jones</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/02/ssd-xfs-lvm-fsync-write-cache-barrier-and-lost-transactions/comment-page-1/#comment-772380</link>
		<dc:creator>Evan Jones</dc:creator>
		<pubDate>Tue, 24 Aug 2010 13:05:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=631#comment-772380</guid>
		<description>Note that according to my tests, the Intel X25-M G2 loses data even when the write cache is disabled. I have not tested the X25-E, but I suspect this may also be an issue there? See the following for more info:

http://evanjones.ca/intel-ssd-durability.html</description>
		<content:encoded><![CDATA[<p>Note that according to my tests, the Intel X25-M G2 loses data even when the write cache is disabled. I have not tested the X25-E, but I suspect this may also be an issue there? See the following for more info:</p>
<p><a href="http://evanjones.ca/intel-ssd-durability.html" rel="nofollow">http://evanjones.ca/intel-ssd-durability.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/02/ssd-xfs-lvm-fsync-write-cache-barrier-and-lost-transactions/comment-page-1/#comment-744339</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Tue, 06 Apr 2010 21:08:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=631#comment-744339</guid>
		<description>I know this posting s quite old, but it would be great to know the firmware of the Intel X25-E SSD you tested ?</description>
		<content:encoded><![CDATA[<p>I know this posting s quite old, but it would be great to know the firmware of the Intel X25-E SSD you tested ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andor</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/02/ssd-xfs-lvm-fsync-write-cache-barrier-and-lost-transactions/comment-page-1/#comment-712790</link>
		<dc:creator>andor</dc:creator>
		<pubDate>Thu, 21 Jan 2010 21:51:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=631#comment-712790</guid>
		<description>Vadim, thats awesome.. that has did the trick for me! It says the cache is switched off .. I was tinkering around with the sdparm utility as I thought the device file &#039;sdc&#039; starts with s. (one of my friends suggested this. He said that since we connected the SSD with a SAS controller, we should be using sdparm. I have no idea what this SAS controller is.) thanks a lot for the input.</description>
		<content:encoded><![CDATA[<p>Vadim, thats awesome.. that has did the trick for me! It says the cache is switched off .. I was tinkering around with the sdparm utility as I thought the device file &#8216;sdc&#8217; starts with s. (one of my friends suggested this. He said that since we connected the SSD with a SAS controller, we should be using sdparm. I have no idea what this SAS controller is.) thanks a lot for the input.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vadim</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/02/ssd-xfs-lvm-fsync-write-cache-barrier-and-lost-transactions/comment-page-1/#comment-712788</link>
		<dc:creator>Vadim</dc:creator>
		<pubDate>Thu, 21 Jan 2010 21:41:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=631#comment-712788</guid>
		<description>Andor,

hdparm -W 0 /dev/sdb

works for me.

Output:                                                                                         

/dev/sdb:
 setting drive write-caching to 0 (off)
 write-caching =  0 (off)</description>
		<content:encoded><![CDATA[<p>Andor,</p>
<p>hdparm -W 0 /dev/sdb</p>
<p>works for me.</p>
<p>Output:                                                                                         </p>
<p>/dev/sdb:<br />
 setting drive write-caching to 0 (off)<br />
 write-caching =  0 (off)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andor</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/02/ssd-xfs-lvm-fsync-write-cache-barrier-and-lost-transactions/comment-page-1/#comment-712786</link>
		<dc:creator>andor</dc:creator>
		<pubDate>Thu, 21 Jan 2010 21:35:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=631#comment-712786</guid>
		<description>Hi Vadim,

I know that you published your thread long time back.. but I have a really really basic question. How do you turn off write cache on X25-E? I&#039;ve searched everywhere how to do it but could only find studies showing performance drop after doing it. I used sdparm in the following fashion:

sudo sdparm -s WCE=0 -S /dev/sdc

but get an error like this:

    /dev/sdc: ATA       SSDSA2SH032G1GN   045C
change_mode_page: mode page indicates it is not savable but
    &#039;--save&#039; option given (try without it)

The error seems to suggest we cannot switch the X25-E&#039;s cache.. but we know thats not the case.

I am asking this question on the wrong forum I believe, but I thought you might have a ready solution for me..

Thanks
andor.</description>
		<content:encoded><![CDATA[<p>Hi Vadim,</p>
<p>I know that you published your thread long time back.. but I have a really really basic question. How do you turn off write cache on X25-E? I&#8217;ve searched everywhere how to do it but could only find studies showing performance drop after doing it. I used sdparm in the following fashion:</p>
<p>sudo sdparm -s WCE=0 -S /dev/sdc</p>
<p>but get an error like this:</p>
<p>    /dev/sdc: ATA       SSDSA2SH032G1GN   045C<br />
change_mode_page: mode page indicates it is not savable but<br />
    &#8216;&#8211;save&#8217; option given (try without it)</p>
<p>The error seems to suggest we cannot switch the X25-E&#8217;s cache.. but we know thats not the case.</p>
<p>I am asking this question on the wrong forum I believe, but I thought you might have a ready solution for me..</p>
<p>Thanks<br />
andor.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baron Schwartz</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/02/ssd-xfs-lvm-fsync-write-cache-barrier-and-lost-transactions/comment-page-1/#comment-611795</link>
		<dc:creator>Baron Schwartz</dc:creator>
		<pubDate>Fri, 10 Jul 2009 01:41:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=631#comment-611795</guid>
		<description>Peter [Eisentraut], I&#039;ve been following your benchmark blog posts with a lot of interest, too :-)</description>
		<content:encoded><![CDATA[<p>Peter [Eisentraut], I&#8217;ve been following your benchmark blog posts with a lot of interest, too <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: http://petereisentraut.blogspot.com/</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/02/ssd-xfs-lvm-fsync-write-cache-barrier-and-lost-transactions/comment-page-1/#comment-611212</link>
		<dc:creator>http://petereisentraut.blogspot.com/</dc:creator>
		<pubDate>Thu, 09 Jul 2009 14:57:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=631#comment-611212</guid>
		<description>I meant http://petereisentraut.blogspot.com/2009/07/solid-state-drive-benchmarks-and-write.html ... funny markup ...</description>
		<content:encoded><![CDATA[<p>I meant <a href="http://petereisentraut.blogspot.com/2009/07/solid-state-drive-benchmarks-and-write.html" rel="nofollow">http://petereisentraut.blogspot.com/2009/07/solid-state-drive-benchmarks-and-write.html</a> &#8230; funny markup &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: http://petereisentraut.blogspot.com/</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/02/ssd-xfs-lvm-fsync-write-cache-barrier-and-lost-transactions/comment-page-1/#comment-611211</link>
		<dc:creator>http://petereisentraut.blogspot.com/</dc:creator>
		<pubDate>Thu, 09 Jul 2009 14:55:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=631#comment-611211</guid>
		<description>Somewhat after the fact I realized that this information relates closely with the SSD tests I did with PostgreSQL, reported here: .  With a plain dd test I get about 50% performance loss when turning the write cache off on the X25-E.  That&#039;s much better than the more than fourfold loss you are observing (if I parse your numbers right).  I&#039;m planning to do a pgbench test later, which might provide more insight.</description>
		<content:encoded><![CDATA[<p>Somewhat after the fact I realized that this information relates closely with the SSD tests I did with PostgreSQL, reported here: .  With a plain dd test I get about 50% performance loss when turning the write cache off on the X25-E.  That&#8217;s much better than the more than fourfold loss you are observing (if I parse your numbers right).  I&#8217;m planning to do a pgbench test later, which might provide more insight.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baron Schwartz</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/02/ssd-xfs-lvm-fsync-write-cache-barrier-and-lost-transactions/comment-page-1/#comment-530886</link>
		<dc:creator>Baron Schwartz</dc:creator>
		<pubDate>Mon, 06 Apr 2009 12:21:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=631#comment-530886</guid>
		<description>Oh, and the broad consensus in the room was &quot;these things are worth a lot less if they lie to the operating system about durability, and a UPS is not an acceptable workaround&quot; :-)</description>
		<content:encoded><![CDATA[<p>Oh, and the broad consensus in the room was &#8220;these things are worth a lot less if they lie to the operating system about durability, and a UPS is not an acceptable workaround&#8221; <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

