<?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>PlanetMysql.ru - информация о СУБД MySQL &#187; ssd</title>
	<atom:link href="http://planetmysql.ru/category/ssd/feed/" rel="self" type="application/rss+xml" />
	<link>http://planetmysql.ru</link>
	<description>Блог о самой популярной СУБД MySQL</description>
	<lastBuildDate>Thu, 24 May 2012 22:24:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Virident tachIOn: New player on Flash PCI-E cards market</title>
		<link>http://www.mysqlperformanceblog.com/2010/06/15/virident-tachion-new-player-on-flash-pci-e-cards-market/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=virident-tachion-new-player-on-flash-pci-e-cards-market</link>
		<comments>http://www.mysqlperformanceblog.com/2010/06/15/virident-tachion-new-player-on-flash-pci-e-cards-market/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 07:39:13 +0000</pubDate>
		<dc:creator>MySQL Performance Blog</dc:creator>
				<category><![CDATA[benchmarks]]></category>
		<category><![CDATA[FusionIO]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[ssd]]></category>
		<category><![CDATA[virident]]></category>

		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=2968</guid>
		<description><![CDATA[(Note: The review was done as part of our consulting practice, but is totally independent and fully reflects our opinion)
In my talk on MySQL Conference and Expo 2010  &#8220;An Overview of Flash Storage for Databases&#8221; I mentioned that most likely there are other players coming soon. I actually was not aware about any real names at that time, it was just a guess, as PCI-E market is really attractive so FusionIO can&#8217;t stay alone for long time. So I am not surprised to see new card provided by Virident and I was lucky enough to test  a pre-production sample Virident tachIOn 400GB SLC card.
I think it will be fair to say that Virident targets where right now FusionIO has a monopoly, and it will finally bring some competition to the market, which I believe is good for the end users. I am looking forward to price competition ( not having real numbers I can guess that vendors still put high margin in the price) as well as high performance in general and stable performance under high load in particular, and also competition in capacity and data reliability areas.
Priceline for Virident tachIOn cards already shows the price competition: oriented price for tachIOn 400GB is 13,600$ (that is 34$/GB) , and entry-base card is 200GB with price 6,800$ (there also is 300GB card in product line). Price for FusionIO 160GB SLC ( from dell.com, price on 14-Jun-2010 ) is 6,308.99$ ( that is 39.5$/GB)
Couple words about product, I know that Virident engineering team was concentrating on getting stable write performance in long running
write activities and in cases when space utilization is close to 100%. As you may know (check my presentation) SSD design requires background
&#8220;garbage collector&#8221; activity, which requires space to operate and Virident card already has enough space reservation to get stable write performance even when the disk is almost full.
As for reliability, I think, the design of the card is quite neat. The card by itself contains bunch of replaceable flash modules, and each individual module can be changed in case of failure. Also internally modules are joined in RAID (it is fully transparent for end user). 

All this guarantees good level of confidence in data reliability: if a single module fails, the internal RAID will allow to continue operations, and after the replacement of module &#8211; it will be rebuilt. It still leaves the controller on card as single point of failure, but in this case all flash modules can be safely relocated to the new card with working controller. (Note: It was not tested by Percona engineers, but taken from vendor&#8217;s specification)
As for power failures &#8211; flash modules also come with capacitors which guarantees data delivery to final media even if power is lost on the main host. (Note: It was not tested by Percona engineers, but taken from vendor&#8217;s specification)
Now to most interesting part &#8211; performance numbers. I took sysbench fileio benchmark with 16KB blocksize to see what maximal performance we can expect.
Server specification is:

  Supermicro X8DTH series motherboard

  2 x Xeon E5520 (2.27GHz) processors w/HT enabled (16 cores)

  64GB of ECC/Registered DDR3 DRAM

  Centos 5.3 2-6.18.164 Kernel

  Filesystem is XFS formatted with mkfs.xfs -s size=4096 option ( size=4096, sector size, is very important to have aligned IO requests) and mounted with nobarrier option

  Benchmark: sysbench fileio on 100GB file, 16KB blocksize


The raw results are available on Wiki 
And the graphs for random read, writes and sequential writes:

I think very interesting to see distribution of 95% response time results ( 0 time is obviously the problem in sysbench, which has no enough time resolution for such very fast operations)

As you can see we can get about 400MB/sec random write bandwidth with 8-16 threads and
with 3.1ms (for 8 threads) and 3.8ms (16 threads) response time in 95% of cases.
As some issue here, I should mention, that despite the good response time results,
the maximal response time in some cases can jump to 300 ms per request, and I was told
it corresponds to garbage collector activity and will be fixed in the production release of driver.
I think it would be fair to get comparison with FusionIO card, especially for write pressure case
As you may know FusionIO recommends to have space reservation to get sustainable  write performance
(Tuning Techniques for Writes).
I took FusionIO ioDrive 160GB SLC card, and tested fully formatted card (filesize 145GB), card formatted with 25% space reservation (file size 110GB), and Virident card 390GB filesize. It also allows us to see if Virident tachIOn card can sustain write in fully utilized card.
As disclaimer I want to mention that Virident tachIOn card was fine tuned by Virident engineers, while FusionIO card was tuned only by me and I may not have all knowledge needed for FusionIO tuning.
First graph is random reads, so see compare read performance

As you see in 1 and 4 threads FusionIO is better, while with more threads Virident card scales better
And now random writes:

You can see that FusionIO definitely needs space reservation to provide high write bandwidth, and it comes with
cost hit ( 25% space reservation -&#62; 25% increase $/GB).
In conclusion I can highlight:

  I am impressed with architecture design with replaceable individual flash modules, I think it establishes new high-end standard for flash devices

  With  single card you can get over 1GB/sec bandwidth in random reads (16-64 working threads), and it is the maximal results what I&#8217;ve seen so far ( again for single card)

  Random write bandwidth exceeds 400MB/sec (8-16 working threads)

  Random read/write mix results are also impressive, and it can be quite important in workloads like FlashCache, where card have both concurrent read and write pressure

  Quite stable sequential writes performance (important in question for log related activity in MySQL)


I am looking forward to present results in sysbench oltp, tpcc workload, and also in FlashCahce mode.
    
    Entry posted by Vadim &#124;
      No comment
    Add to:  &#124;  &#124;  &#124;  &#124; ]]></description>
			<content:encoded><![CDATA[<p>(<strong>Note</strong>: The review was done as part of our consulting practice, but is totally independent and fully reflects our opinion)</p>
<p>In my talk on MySQL Conference and Expo 2010 <a href="http://en.oreilly.com/mysql2010/public/schedule/detail/12465"> &#8220;An Overview of Flash Storage for Databases&#8221;</a> I mentioned that most likely there are other players coming soon. I actually was not aware about any real names at that time, it was just a guess, as PCI-E market is really attractive so FusionIO can&#8217;t stay alone for long time. So I am not surprised to see new card provided by <a href="http://virident.com/">Virident</a> and I was lucky enough to test  a pre-production sample <strong>Virident tachIOn 400GB SLC</strong> card.</p>
<p>I think it will be fair to say that Virident targets where right now FusionIO has a monopoly, and it will finally bring some competition to the market, which I believe is good for the end users. I am looking forward to price competition ( not having real numbers I can guess that vendors still put high margin in the price) as well as high performance in general and stable performance under high load in particular, and also competition in capacity and data reliability areas.</p>
<p>Priceline for Virident tachIOn cards already shows the price competition: oriented price for tachIOn 400GB is <strong>13,600$</strong> (that is <strong>34$/GB</strong>) , and entry-base card is 200GB with price 6,800$ (there also is 300GB card in product line). Price for FusionIO 160GB SLC ( from <a href="http://accessories.us.dell.com/sna/productdetail.aspx?sku=A3728564&amp;cs=04&amp;c=us&amp;l=en&amp;dgc=SS&amp;cid=27722&amp;lid=628335">dell.com</a>, price on 14-Jun-2010 ) is <strong>6,308.99$</strong> ( that is <strong>39.5$/GB</strong>)</p>
<p>Couple words about product, I know that Virident engineering team was concentrating on getting stable write performance in long running<br />
write activities and in cases when space utilization is close to 100%. As you may know (check my presentation) SSD design requires background<br />
&#8220;garbage collector&#8221; activity, which requires space to operate and Virident card already has enough space reservation to get stable write performance even when the disk is almost full.</p>
<p>As for reliability, I think, the design of the card is quite neat. The card by itself contains bunch of replaceable flash modules, and each individual module can be changed in case of failure. Also internally modules are joined in RAID (it is fully transparent for end user). </p>
<p><a href="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/06/tachIOn.png"><img src="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/06/tachIOn.png" alt="" title="tachIOn" width="600" height="389" class="aligncenter size-full wp-image-2972" /></a></p>
<p>All this guarantees good level of confidence in data reliability: if a single module fails, the internal RAID will allow to continue operations, and after the replacement of module &#8211; it will be rebuilt. It still leaves the controller on card as single point of failure, but in this case all flash modules can be safely relocated to the new card with working controller. (<strong>Note</strong>: It was not tested by Percona engineers, but taken from vendor&#8217;s specification)</p>
<p>As for power failures &#8211; flash modules also come with capacitors which guarantees data delivery to final media even if power is lost on the main host. (<strong>Note</strong>: It was not tested by Percona engineers, but taken from vendor&#8217;s specification)</p>
<p>Now to most interesting part &#8211; performance numbers. I took sysbench fileio benchmark with 16KB blocksize to see what maximal performance we can expect.</p>
<p>Server specification is:</p>
<ul>
<li>  Supermicro X8DTH series motherboard
</li>
<li>  2 x Xeon E5520 (2.27GHz) processors w/HT enabled (16 cores)
</li>
<li>  64GB of ECC/Registered DDR3 DRAM
</li>
<li>  Centos 5.3 2-6.18.164 Kernel
</li>
<li>  Filesystem is XFS formatted with <code>mkfs.xfs -s size=4096</code> option ( size=4096, sector size, is very important to have aligned IO requests) and mounted with <code>nobarrier</code> option
</li>
<li>  Benchmark: sysbench fileio on 100GB file, 16KB blocksize
</li>
</ul>
<p>The raw results are available <a href="http://www.percona.com/docs/wiki/benchmark%3Assd%3Avirident%3Astart">on Wiki</a> </p>
<p>And the graphs for random read, writes and sequential writes:</p>
<p><a href="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/06/fileio.png"><img src="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/06/fileio.png" alt="" title="fileio" width="644" height="358" class="aligncenter size-full wp-image-2970" /></a></p>
<p>I think very interesting to see distribution of 95% response time results ( 0 time is obviously the problem in sysbench, which has no enough time resolution for such very fast operations)</p>
<p><a href="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/06/resptime.png"><img src="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/06/resptime.png" alt="" title="resptime" width="483" height="291" class="aligncenter size-full wp-image-2971" /></a></p>
<p>As you can see we can get about <strong>400MB/sec</strong> random write bandwidth with 8-16 threads and<br />
with <strong>3.1ms</strong> (for 8 threads) and <strong>3.8ms</strong> (16 threads) response time in 95% of cases.</p>
<p>As some issue here, I should mention, that despite the good response time results,<br />
the maximal response time in some cases can jump to 300 ms per request, and I was told<br />
it corresponds to garbage collector activity and will be fixed in the production release of driver.</p>
<p>I think it would be fair to get comparison with FusionIO card, especially for write pressure case<br />
As you may know FusionIO recommends to have space reservation to get sustainable  write performance<br />
(<a href="http://kb.fusionio.com/KB/a51/tuning-techniques-for-writes.aspx">Tuning Techniques for Writes</a>).</p>
<p>I took FusionIO ioDrive 160GB SLC card, and tested fully formatted card (filesize 145GB), card formatted with 25% space reservation (file size 110GB), and Virident card 390GB filesize. It also allows us to see if Virident tachIOn card can sustain write in fully utilized card.</p>
<p>As <strong>disclaimer</strong> I want to mention that Virident tachIOn card was fine tuned by Virident engineers, while FusionIO card was tuned only by me and I may not have all knowledge needed for FusionIO tuning.</p>
<p>First graph is random reads, so see compare read performance</p>
<p><a href="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/06/vsFusionIOrandread.png"><img src="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/06/vsFusionIOrandread.png" alt="" title="vsFusionIOrandread" width="657" height="381" class="aligncenter size-full wp-image-2974" /></a></p>
<p>As you see in 1 and 4 threads FusionIO is better, while with more threads Virident card scales better</p>
<p>And now random writes:</p>
<p><a href="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/06/vsFusionIO.png"><img src="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/06/vsFusionIO.png" alt="" title="vsFusionIO" width="657" height="381" class="aligncenter size-full wp-image-2973" /></a></p>
<p>You can see that FusionIO definitely needs space reservation to provide high write bandwidth, and it comes with<br />
cost hit ( 25% space reservation -> 25% increase $/GB).</p>
<p>In conclusion I can highlight:</p>
<ul>
<li>  I am impressed with architecture design with replaceable individual flash modules, I think it establishes new high-end standard for flash devices
</li>
<li>  With  single card you can get over <strong>1GB/sec</strong> bandwidth in random reads (16-64 working threads), and it is the maximal results what I&#8217;ve seen so far ( again for single card)
</li>
<li>  Random write bandwidth exceeds <strong>400MB/sec</strong> (8-16 working threads)
</li>
<li>  Random read/write mix results are also impressive, and it can be quite important in workloads like FlashCache, where card have both concurrent read and write pressure
</li>
<li>  Quite stable sequential writes performance (important in question for log related activity in MySQL)
</li>
</ul>
<p>I am looking forward to present results in sysbench oltp, tpcc workload, and also in FlashCahce mode.</p>
    <hr noshade style="margin:0;height:1px" />
    <p>Entry posted by Vadim |
      <a href="http://www.mysqlperformanceblog.com/2010/06/15/virident-tachion-new-player-on-flash-pci-e-cards-market/#comments">No comment</a></p>
    <p>Add to: <a href="http://del.icio.us/post?url=http://www.mysqlperformanceblog.com/2010/06/15/virident-tachion-new-player-on-flash-pci-e-cards-market/&amp;title=Virident%20tachIOn:%20New%20player%20on%20Flash%20PCI-E%20cards%20market" title="Bookmark this post on del.icio.us"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/delicious.png" alt="delicious" /></a> | <a href="http://digg.com/submit?phase=2&amp;url=http://www.mysqlperformanceblog.com/2010/06/15/virident-tachion-new-player-on-flash-pci-e-cards-market/&amp;title=Virident%20tachIOn:%20New%20player%20on%20Flash%20PCI-E%20cards%20market" title="Digg this post on Digg.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/digg.png" alt="digg" /></a> | <a href="http://reddit.com/submit?url=http://www.mysqlperformanceblog.com/2010/06/15/virident-tachion-new-player-on-flash-pci-e-cards-market/&amp;title=Virident%20tachIOn:%20New%20player%20on%20Flash%20PCI-E%20cards%20market" title="Submit this post on reddit.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/reddit.png" alt="reddit" /></a> | <a href="http://www.netscape.com/submit/?U=http://www.mysqlperformanceblog.com/2010/06/15/virident-tachion-new-player-on-flash-pci-e-cards-market/&amp;T=Virident%20tachIOn:%20New%20player%20on%20Flash%20PCI-E%20cards%20market" title="Vote for this article on Netscape"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/netscape.gif" alt="netscape" /></a> | <a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.mysqlperformanceblog.com/2010/06/15/virident-tachion-new-player-on-flash-pci-e-cards-market/&amp;title=Virident%20tachIOn:%20New%20player%20on%20Flash%20PCI-E%20cards%20market" title="Add to Google Bookmarks"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/google.png" alt="Google Bookmarks" /></a></p><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25029&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25029&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://planetmysql.ru/2010/06/15/virident-tachion-new-player-on-flash-pci-e-cards-market/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FlashCache: tpcc workload with FusionIO card as cache</title>
		<link>http://www.mysqlperformanceblog.com/2010/06/02/flashcache-tpcc-workload-with-fusionio-card-as-cache/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=flashcache-tpcc-workload-with-fusionio-card-as-cache</link>
		<comments>http://www.mysqlperformanceblog.com/2010/06/02/flashcache-tpcc-workload-with-fusionio-card-as-cache/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 02:03:03 +0000</pubDate>
		<dc:creator>MySQL Performance Blog</dc:creator>
				<category><![CDATA[benchmarks]]></category>
		<category><![CDATA[FusionIO]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[ssd]]></category>

		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=2941</guid>
		<description><![CDATA[This run is very similar what I had on Intel SSD X25-M card, but now I use FusionIO 80GB SLC card. I chose this card as smallest available card (and therefore cheapest. On Dell.com you can see it for about $3K).  There is also FusionIO IO-Xtreme 80GB card, which is however MLC based and it could be not best choice for FlashCache usage ( as there high write rate on FlashCache for both reading and writing to/from disks, so lifetime could be short).
Also Facebook team released WriteThrough module for FlashCache, which could be good trade-off if you want extra warranty for data consistency and your load is mostly read-bound, so I tested this mode also.
All setup is similar to previous post, so let me just post the results with FlashCache on FusionIO in 20% dirty page, 80% dirty pages and write-through modes. I used full 80GB for caching ( total size of data is about 100GB).

Conclusions from the graph: 

with 80% dirty page we have about 4x better throughput ( comparing to RAID).

Write-through mode is about 2x gain, but remember that load is very write intensive and all benefits in write-through mode come only from cached reads, so it is pretty good for this scenario

On this post I finish my runs on FlashCache for now and I think it may be considered for real usage, at least you may evaluate how it works on your workloads.
    
    Entry posted by Vadim &#124;
      No comment
    Add to:  &#124;  &#124;  &#124;  &#124; ]]></description>
			<content:encoded><![CDATA[<p>This run is very similar what I had on <a href="http://www.mysqlperformanceblog.com/2010/05/25/flashcache-tpcc-workload/">Intel SSD X25-M card</a>, but now I use FusionIO 80GB SLC card. I chose this card as smallest available card (and therefore cheapest. On Dell.com you can see it <a href="http://accessories.us.dell.com/sna/products/Networking_Enterprise_Class/productdetail.aspx?c=us&amp;l=en&amp;cs=04&amp;sku=A3726783">for about $3K</a>).  There is also FusionIO IO-Xtreme 80GB card, which is however MLC based and it could be not best choice for FlashCache usage ( as there high write rate on FlashCache for both reading and writing to/from disks, so lifetime could be short).</p>
<p>Also Facebook team released <strong>WriteThrough</strong> module for FlashCache, which could be good trade-off if you want extra warranty for data consistency and your load is mostly read-bound, so I tested this mode also.</p>
<p>All setup is similar to <a href="http://www.mysqlperformanceblog.com/2010/05/25/flashcache-tpcc-workload/">previous post</a>, so let me just post the results with FlashCache on FusionIO in 20% dirty page, 80% dirty pages and write-through modes. I used full 80GB for caching ( total size of data is about 100GB).</p>
<p><a href="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/06/tpccfusionio.png"><img src="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/06/tpccfusionio.png" alt="" title="tpccfusionio" width="782" height="409" class="aligncenter size-full wp-image-2945" /></a></p>
<p>Conclusions from the graph: </p>
<ul>
<li>with 80% dirty page we have about <strong>4x better</strong> throughput ( comparing to RAID).
</li>
<li>Write-through mode is about 2x gain, but remember that load is very write intensive and all benefits in write-through mode come only from cached reads, so it is pretty good for this scenario</li>
</ul>
<p>On this post I finish my runs on FlashCache for now and I think it may be considered for real usage, at least you may evaluate how it works on your workloads.</p>
    <hr noshade style="margin:0;height:1px" />
    <p>Entry posted by Vadim |
      <a href="http://www.mysqlperformanceblog.com/2010/06/02/flashcache-tpcc-workload-with-fusionio-card-as-cache/#comments">No comment</a></p>
    <p>Add to: <a href="http://del.icio.us/post?url=http://www.mysqlperformanceblog.com/2010/06/02/flashcache-tpcc-workload-with-fusionio-card-as-cache/&amp;title=FlashCache:%20tpcc%20workload%20with%20FusionIO%20card%20as%20cache" title="Bookmark this post on del.icio.us"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/delicious.png" alt="delicious" /></a> | <a href="http://digg.com/submit?phase=2&amp;url=http://www.mysqlperformanceblog.com/2010/06/02/flashcache-tpcc-workload-with-fusionio-card-as-cache/&amp;title=FlashCache:%20tpcc%20workload%20with%20FusionIO%20card%20as%20cache" title="Digg this post on Digg.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/digg.png" alt="digg" /></a> | <a href="http://reddit.com/submit?url=http://www.mysqlperformanceblog.com/2010/06/02/flashcache-tpcc-workload-with-fusionio-card-as-cache/&amp;title=FlashCache:%20tpcc%20workload%20with%20FusionIO%20card%20as%20cache" title="Submit this post on reddit.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/reddit.png" alt="reddit" /></a> | <a href="http://www.netscape.com/submit/?U=http://www.mysqlperformanceblog.com/2010/06/02/flashcache-tpcc-workload-with-fusionio-card-as-cache/&amp;T=FlashCache:%20tpcc%20workload%20with%20FusionIO%20card%20as%20cache" title="Vote for this article on Netscape"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/netscape.gif" alt="netscape" /></a> | <a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.mysqlperformanceblog.com/2010/06/02/flashcache-tpcc-workload-with-fusionio-card-as-cache/&amp;title=FlashCache:%20tpcc%20workload%20with%20FusionIO%20card%20as%20cache" title="Add to Google Bookmarks"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/google.png" alt="Google Bookmarks" /></a></p><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=24934&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=24934&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://planetmysql.ru/2010/06/03/flashcache-tpcc-workload-with-fusionio-card-as-cache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PBXT in tpcc-like benchmark</title>
		<link>http://www.mysqlperformanceblog.com/2010/06/02/pbxt-in-tpcc-like-benchmark/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pbxt-in-tpcc-like-benchmark</link>
		<comments>http://www.mysqlperformanceblog.com/2010/06/02/pbxt-in-tpcc-like-benchmark/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 00:19:47 +0000</pubDate>
		<dc:creator>MySQL Performance Blog</dc:creator>
				<category><![CDATA[benchmarks]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PBXT]]></category>
		<category><![CDATA[ssd]]></category>

		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=2930</guid>
		<description><![CDATA[Finally I was able to run PBXT 1.0.11 pre-GA in tpcc-like workload, apparently there was bug with did not allow me to get the result earlier, and I am happy to see that PBXT team managed it.
For initial runs I took tpcc 100 warehouses ( about 10GB of data) which fully fits into memory (32 GB on server),
and compared 1 and 16 users in MySQL-5.1.46/PBXT and Percona Server / XtraDB &#8211; 5.1.45-rel10.2. As workload is totally memory based it will show how PBXT scales in CPU-bond cases on 16 cores systems.
As storage system it was Intel SSD X25-M card.
While full results and config are on Wiki:
http://www.percona.com/docs/wiki/benchmark:pbxt:tpcc:start

there are graphs for 1 user:

and 16 users:

Interesting to see that in case with 1 user the maximal throughput in PBXT is about 1.5x better XtraDB, but
there periodical drops which are very similar to periodical drops in InnoDB without adaptive checkpointing, and I guess it is also related to checkpoint activity.
The final results are also better for PBXT: 5785.567 TpmC vs  4905.967 TpmC  ( XtraDB)
For 16 threads final result is:  26129.350 TpmC for PBXT and 29485.518 TpmC for XtraDB , and from the graph you can see that the maximal throughput is about identical, while PBXT spends more time in drops area. Again it looks like PBXT are not fully keeping up with checkpoint activity and I am looking PBXT addresses this problem also.  Beside this issue PBXT looks pretty good and in next round I am going to run IO intensive workloads.
    
    Entry posted by Vadim &#124;
      One comment
    Add to:  &#124;  &#124;  &#124;  &#124; ]]></description>
			<content:encoded><![CDATA[<p>Finally I was able to run PBXT 1.0.11 pre-GA in tpcc-like workload, apparently there was bug with did not allow me to get the result earlier, and I am happy to see that PBXT team managed it.</p>
<p>For initial runs I took tpcc 100 warehouses ( about 10GB of data) which fully fits into memory (32 GB on server),<br />
and compared 1 and 16 users in MySQL-5.1.46/PBXT and Percona Server / XtraDB &#8211; 5.1.45-rel10.2. As workload is totally memory based it will show how PBXT scales in CPU-bond cases on 16 cores systems.</p>
<p>As storage system it was Intel SSD X25-M card.</p>
<p>While full results and config are on Wiki:<br />
<a href="http://www.percona.com/docs/wiki/benchmark%3Apbxt%3Atpcc%3Astart">http://www.percona.com/docs/wiki/benchmark:pbxt:tpcc:start<br />
</a></p>
<p>there are graphs for 1 user:<br />
<a href="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/06/tpcc1thd.png"><img src="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/06/tpcc1thd.png" alt="" title="tpcc1thd" width="900" height="283" class="aligncenter size-full wp-image-2934" /></a></p>
<p>and 16 users:<br />
<a href="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/06/tpcc16thd.png"><img src="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/06/tpcc16thd.png" alt="" title="tpcc16thd" width="898" height="284" class="aligncenter size-full wp-image-2935" /></a></p>
<p>Interesting to see that in case with 1 user the maximal throughput in PBXT is about 1.5x better XtraDB, but<br />
there periodical drops which are very similar to periodical drops in InnoDB without adaptive checkpointing, and I guess it is also related to checkpoint activity.<br />
The final results are also better for PBXT: <strong>5785.567 TpmC</strong> vs  <strong>4905.967 TpmC </strong> ( XtraDB)</p>
<p>For 16 threads final result is:  <strong>26129.350 TpmC</strong> for PBXT and <strong>29485.518 TpmC</strong> for XtraDB , and from the graph you can see that the maximal throughput is about identical, while PBXT spends more time in drops area. Again it looks like PBXT are not fully keeping up with checkpoint activity and I am looking PBXT addresses this problem also.  Beside this issue PBXT looks pretty good and in next round I am going to run IO intensive workloads.</p>
    <hr noshade style="margin:0;height:1px" />
    <p>Entry posted by Vadim |
      <a href="http://www.mysqlperformanceblog.com/2010/06/02/pbxt-in-tpcc-like-benchmark/#comments">One comment</a></p>
    <p>Add to: <a href="http://del.icio.us/post?url=http://www.mysqlperformanceblog.com/2010/06/02/pbxt-in-tpcc-like-benchmark/&amp;title=PBXT%20in%20tpcc-like%20benchmark" title="Bookmark this post on del.icio.us"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/delicious.png" alt="delicious" /></a> | <a href="http://digg.com/submit?phase=2&amp;url=http://www.mysqlperformanceblog.com/2010/06/02/pbxt-in-tpcc-like-benchmark/&amp;title=PBXT%20in%20tpcc-like%20benchmark" title="Digg this post on Digg.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/digg.png" alt="digg" /></a> | <a href="http://reddit.com/submit?url=http://www.mysqlperformanceblog.com/2010/06/02/pbxt-in-tpcc-like-benchmark/&amp;title=PBXT%20in%20tpcc-like%20benchmark" title="Submit this post on reddit.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/reddit.png" alt="reddit" /></a> | <a href="http://www.netscape.com/submit/?U=http://www.mysqlperformanceblog.com/2010/06/02/pbxt-in-tpcc-like-benchmark/&amp;T=PBXT%20in%20tpcc-like%20benchmark" title="Vote for this article on Netscape"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/netscape.gif" alt="netscape" /></a> | <a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.mysqlperformanceblog.com/2010/06/02/pbxt-in-tpcc-like-benchmark/&amp;title=PBXT%20in%20tpcc-like%20benchmark" title="Add to Google Bookmarks"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/google.png" alt="Google Bookmarks" /></a></p><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=24933&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=24933&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://planetmysql.ru/2010/06/03/pbxt-in-tpcc-like-benchmark/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FlashCache: more benchmarks</title>
		<link>http://www.mysqlperformanceblog.com/2010/05/18/flashcache-more-benchmarks/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=flashcache-more-benchmarks</link>
		<comments>http://www.mysqlperformanceblog.com/2010/05/18/flashcache-more-benchmarks/#comments</comments>
		<pubDate>Wed, 19 May 2010 00:52:14 +0000</pubDate>
		<dc:creator>MySQL Performance Blog</dc:creator>
				<category><![CDATA[benchmarks]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[ssd]]></category>

		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=2679</guid>
		<description><![CDATA[Previously I covered simple case with FlashCache, when data fits into cache partitions, now I am trying to test when data is bigger than cache.
But before test setup let me address some concern (which I also had). Intel X25-M has a write cache which is not battery backuped, so there is suspect you may have data loss in the case of power outage.
And in the case with FlashCache it would mean you can send your database to trash, as there is no way to recovery from that ( only restore from backup).
I personally did couple of power failure  tests and there is article on this topic http://www.anandtech.com/show/2614/10. I did not see any data loss in my tests, and the article says that the write cache  &#8220;..isn&#8217;t used for user data because of the risk of data loss, instead it is used as memory by the Intel SATA/flash controller for deciding exactly where to write data..&#8221;.  So I assume we should be safe running Intel X25-M with enabled write cache.
Second issue I faced, and which took quite efforts to sort ( thanks Mohan Srinivasan, maintainer of FlashCache, for help with that) is 16KB alignment in  XFS and FlashCache. As developers recommend to have 16KB block size in XFS and 16KB block size in FlashCache, I was not able to make it working, there too many moving parts &#8211; it&#8217;s XFS alignment by RAID strip size, XFS aligned file allocation, raid partition should be created aligned by 16K block, etc. In result I had too many cache misses
so results were not impressive, I had to move to standard for filesystems 4K blocks.
For benchmark I used sysbench oltp with 300 mln rows, which gives about 70GB of data. I allocated 35GB for cache on SSD and I used 16GB and 10GB buffer pool sizes. I run sysbench with special distribution, not uniform, the reason for that is that I do not really expect big improvement from clear uniform random hits, as in this case we will have 1/2 probability to go to disk read, and also there overhead in FlashCache on flushing and replacing pages. Special distribution is 75% of all requests are hits 1% of data, and rest data are accessed in 25% of cases. I think it also  better describes real workload, as you do not expect all 100% of users coming to your website in the same time.
So full details are there
http://www.percona.com/docs/wiki/benchmark:flashcache:sysbench:300mln_rows:start

And short results:


buffer_pool, GB
RAID10	
FlashCache 20%


16
468.76
985.47


10
328.34
704.36


As you see there is more 2x improvement, which is quite impressive.
Of course you do not have to believe benchmarks, so I encourage you to test yourself (my full scripts and mysql config files are on Wiki page).
There are binaries for CentOS 5.5 and Ubuntu 10.04 if you are not so much in kernel modules compiling:
http://percona.com/downloads/TESTING/FlashCache/centos-2.6.18-194.el5.tar.gz

http://percona.com/downloads/TESTING/FlashCache/ubuntu.10.04.kernel-2.6.32-21-server.tar.gz

    
    Entry posted by Vadim &#124;
      No comment
    Add to:  &#124;  &#124;  &#124;  &#124; ]]></description>
			<content:encoded><![CDATA[<p>Previously I covered <a href="http://www.mysqlperformanceblog.com/2010/05/10/flashcache-first-experiments/">simple case with FlashCache</a>, when data fits into cache partitions, now I am trying to test when data is bigger than cache.</p>
<p>But before test setup let me address some concern (which I also had). Intel X25-M has a write cache which is not battery backuped, so there is suspect you may have data loss in the case of power outage.<br />
And in the case with FlashCache it would mean you can send your database to trash, as there is no way to recovery from that ( only restore from backup).<br />
I personally did couple of power failure  tests and there is article on this topic <a href="http://www.anandtech.com/show/2614/10">http://www.anandtech.com/show/2614/10</a>. I did not see any data loss in my tests, and the article says that the write cache  &#8220;..isn&#8217;t used for user data because of the risk of data loss, instead it is used as memory by the Intel SATA/flash controller for deciding exactly where to write data..&#8221;.  So I assume we should be safe running Intel X25-M with enabled write cache.</p>
<p>Second issue I faced, and which took quite efforts to sort ( thanks Mohan Srinivasan, maintainer of FlashCache, for help with that) is 16KB alignment in  XFS and FlashCache. As developers recommend to have 16KB block size in XFS and 16KB block size in FlashCache, I was not able to make it working, there too many moving parts &#8211; it&#8217;s XFS alignment by RAID strip size, XFS aligned file allocation, raid partition should be created aligned by 16K block, etc. In result I had too many cache misses<br />
so results were not impressive, I had to move to standard for filesystems 4K blocks.</p>
<p>For benchmark I used sysbench oltp with 300 mln rows, which gives about 70GB of data. I allocated 35GB for cache on SSD and I used 16GB and 10GB buffer pool sizes. I run sysbench with <strong>special</strong> distribution, not uniform, the reason for that is that I do not really expect big improvement from clear uniform random hits, as in this case we will have 1/2 probability to go to disk read, and also there overhead in FlashCache on flushing and replacing pages. Special distribution is 75% of all requests are hits 1% of data, and rest data are accessed in 25% of cases. I think it also  better describes real workload, as you do not expect all 100% of users coming to your website in the same time.</p>
<p>So full details are there<br />
<a href="http://www.percona.com/docs/wiki/benchmark%3Aflashcache%3Asysbench%3A300mln_rows%3Astart">http://www.percona.com/docs/wiki/benchmark:flashcache:sysbench:300mln_rows:start<br />
</a></p>
<p>And short results:</p>
<table border=1>
<tr>
<td>buffer_pool, GB</td>
<td>RAID10	</td>
<td>FlashCache 20%</td>
</tr>
<tr>
<td>16</td>
<td>468.76</td>
<td>985.47</td>
</tr>
<tr>
<td>10</td>
<td>328.34</td>
<td>704.36</td>
</tr>
</table>
<p>As you see there is more 2x improvement, which is quite impressive.</p>
<p>Of course you do not have to believe benchmarks, so I encourage you to test yourself (my full scripts and mysql config files are on Wiki page).<br />
There are binaries for CentOS 5.5 and Ubuntu 10.04 if you are not so much in kernel modules compiling:<br />
<a href="http://percona.com/downloads/TESTING/FlashCache/centos-2.6.18-194.el5.tar.gz">http://percona.com/downloads/TESTING/FlashCache/centos-2.6.18-194.el5.tar.gz<br />
</a><br />
<a href="http://percona.com/downloads/TESTING/FlashCache/ubuntu.10.04.kernel-2.6.32-21-server.tar.gz">http://percona.com/downloads/TESTING/FlashCache/ubuntu.10.04.kernel-2.6.32-21-server.tar.gz<br />
</a></p>
    <hr noshade style="margin:0;height:1px" />
    <p>Entry posted by Vadim |
      <a href="http://www.mysqlperformanceblog.com/2010/05/18/flashcache-more-benchmarks/#comments">No comment</a></p>
    <p>Add to: <a href="http://del.icio.us/post?url=http://www.mysqlperformanceblog.com/2010/05/18/flashcache-more-benchmarks/&amp;title=FlashCache:%20more%20benchmarks" title="Bookmark this post on del.icio.us"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/delicious.png" alt="delicious" /></a> | <a href="http://digg.com/submit?phase=2&amp;url=http://www.mysqlperformanceblog.com/2010/05/18/flashcache-more-benchmarks/&amp;title=FlashCache:%20more%20benchmarks" title="Digg this post on Digg.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/digg.png" alt="digg" /></a> | <a href="http://reddit.com/submit?url=http://www.mysqlperformanceblog.com/2010/05/18/flashcache-more-benchmarks/&amp;title=FlashCache:%20more%20benchmarks" title="Submit this post on reddit.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/reddit.png" alt="reddit" /></a> | <a href="http://www.netscape.com/submit/?U=http://www.mysqlperformanceblog.com/2010/05/18/flashcache-more-benchmarks/&amp;T=FlashCache:%20more%20benchmarks" title="Vote for this article on Netscape"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/netscape.gif" alt="netscape" /></a> | <a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.mysqlperformanceblog.com/2010/05/18/flashcache-more-benchmarks/&amp;title=FlashCache:%20more%20benchmarks" title="Add to Google Bookmarks"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/google.png" alt="Google Bookmarks" /></a></p><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=24800&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=24800&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://planetmysql.ru/2010/05/19/flashcache-more-benchmarks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FlashCache: first experiments</title>
		<link>http://www.mysqlperformanceblog.com/2010/05/10/flashcache-first-experiments/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=flashcache-first-experiments</link>
		<comments>http://www.mysqlperformanceblog.com/2010/05/10/flashcache-first-experiments/#comments</comments>
		<pubDate>Mon, 10 May 2010 20:07:52 +0000</pubDate>
		<dc:creator>MySQL Performance Blog</dc:creator>
				<category><![CDATA[benchmarks]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[ssd]]></category>

		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=2629</guid>
		<description><![CDATA[I wrote about FlashCache there, and since that I run couple benchmarks, to see what performance benefits we can expect.
For initial tries I took sysbench oltp tests ( read-only and read-write) and case when data fully fits into L2 cache.
I made binaries for FlashCache for CentOS 5.4, kernel 2.6.18-164.15, you can download it from our testing stage. It took some efforts to make binary, you may get my instructions for CentOS on FlashCache-dev mail-list, most likely it will not work for different CentOS / Kernel.
 The full results, scripts and settings are on Benchmarks Wiki. 
  * Hardware:  Dell PowerEdge R900
  * IO subsystems
    * RAID10: 8 disks SAS 2.5&#8243; 15K ( main storage)
    * SSD-1: Intel X25-E 32GB ( 1 gen firmware) (   Model Number: SSDSA2SH032G1GN INTEL, Firmware Revision:  045C8621)
    * SSD-2: Intel X25-M 160GB ( 2 gen ) (  Model Number:       INTEL SSDSA2M160G2GC, Firmware Revision: 2CV102HA )
    * FlashCache: build over SSD-1 or SSD-2
  * Filesystem XFS, builds as: mkfs.xfs -f -d su=16384,sw=40 /dev/sdc
    * mounted with -o nobarrier option
  * InnoDB files layout: ibdata1 and ib_logfile* are placed on separate RAID partition ( not on FlashCache or SSD)
  * Benchmark: sysbench oltp ( read-only and read-write modes), 80mln rows (~18GB of data)
And I am comparing results with data stored:

Directly on RAID
Directly on SSD
Data stored on RAID, but caching in FlashCache ( which located on SSD)

The results for Read-Only case:

As expected with FlashCache the results are very close to running directly on SSD, with small drop, which could be related to additional driver layer.
Read-Write case is more interesting. There I should mention that FlashCache uses WriteBack caching algorithm, which keeps some amount of dirty pages before physically writing to main storage. FlashCache allows you to set target percentage of dirty pages, so it was interesting to see how it affects ( expected that smaller amount of dirty pages  puts more IO on main storage leading to smaller performance).
So there results for FlashCache with 20% and 80% of dirty pages and FlashCache based on Intel X25-M:

So it is pretty much impressed with 20% dirty pages we still have decent improvement.
And there are results for Intel X25-E:

By some reason the results much worse if compare to X25-M, probably X25-M in second generation has better performance characteristics ( I will post sysbench fileio benchmarks). Also what is attractive in X25-M, that even in biggest capacity 160GB you can get it by quite acceptable price.
In general FlashCache leaves pretty good impression, I did not have any significant problems ( not speaking about crashes or data loss), probably, the most challenge is to get a binary driver for your kernel  .  I will do more benchmarks especially when data exceeds memory, and also it will be interesting to see how it works when we put FlashCache on FusionIO cards instead of Intel SSD.
    
    Entry posted by Vadim &#124;
      No comment
    Add to:  &#124;  &#124;  &#124;  &#124; ]]></description>
			<content:encoded><![CDATA[<p>I wrote about <a href="http://www.mysqlperformanceblog.com/2010/04/27/level-2-flash-cache-is-there/">FlashCache there</a>, and since that I run couple benchmarks, to see what performance benefits we can expect.<br />
For initial tries I took sysbench oltp tests ( read-only and read-write) and case when data fully fits into L2 cache.</p>
<p>I made binaries for FlashCache for CentOS 5.4, kernel 2.6.18-164.15, you can download it from <a href="http://www.percona.com/downloads/TESTING/FlashCache/centos-2.6.18-164.15.1.el5.tar.gz">our testing stage</a>. It took some efforts to make binary, you may get my instructions for <a href="http://groups.google.com/group/flashcache-dev/browse_thread/thread/604d80f3b7033a8b">CentOS on FlashCache-dev mail-list</a>, most likely it will not work for different CentOS / Kernel.</p>
<p> The full results, scripts and settings are on <a href="http://www.percona.com/docs/wiki/benchmark%3Aflashcache%3Asysbench%3Astart">Benchmarks Wiki</a>. </p>
<p>  * Hardware:  <a href="http://www.percona.com/docs/wiki/benchmark%3Ahardware%3AR900">Dell PowerEdge R900</a><br />
  * IO subsystems<br />
    * RAID10: 8 disks SAS 2.5&#8243; 15K ( main storage)<br />
    * SSD-1: Intel X25-E 32GB ( 1 gen firmware) (   Model Number: SSDSA2SH032G1GN INTEL, Firmware Revision:  045C8621)<br />
    * SSD-2: Intel X25-M 160GB ( 2 gen ) (  Model Number:       INTEL SSDSA2M160G2GC, Firmware Revision: 2CV102HA )<br />
    * FlashCache: build over SSD-1 or SSD-2<br />
  * Filesystem XFS, builds as: mkfs.xfs -f -d su=16384,sw=40 /dev/sdc<br />
    * mounted with -o nobarrier option<br />
  * InnoDB files layout: ibdata1 and ib_logfile* are placed on separate RAID partition ( not on FlashCache or SSD)<br />
  * Benchmark: sysbench oltp ( read-only and read-write modes), 80mln rows (~18GB of data)</p>
<p>And I am comparing results with data stored:</p>
<ul>
<li>Directly on RAID</li>
<li>Directly on SSD</li>
<li>Data stored on RAID, but caching in FlashCache ( which located on SSD)</li>
</ul>
<p>The results for Read-Only case:<br />
<img src="http://www.percona.com/docs/wiki/_media/benchmark%3Aflashcache%3Asysbench%3Areadonly.png" alt="read-only" /></p>
<p>As expected with FlashCache the results are very close to running directly on SSD, with small drop, which could be related to additional driver layer.</p>
<p>Read-Write case is more interesting. There I should mention that FlashCache uses WriteBack caching algorithm, which keeps some amount of dirty pages before physically writing to main storage. FlashCache allows you to set target percentage of dirty pages, so it was interesting to see how it affects ( expected that smaller amount of dirty pages  puts more IO on main storage leading to smaller performance).</p>
<p>So there results for FlashCache with 20% and 80% of dirty pages and FlashCache based on Intel X25-M:</p>
<p><img src="http://www.percona.com/docs/wiki/_media/benchmark%3Aflashcache%3Asysbench%3Ax25m.png" alt="Read  Write X25-M" /></p>
<p>So it is pretty much impressed with 20% dirty pages we still have decent improvement.</p>
<p>And there are results for Intel X25-E:<br />
<img src="http://www.percona.com/docs/wiki/_media/benchmark%3Aflashcache%3Asysbench%3Ax25e.png" alt="ReadWrite X25-E" /></p>
<p>By some reason the results much worse if compare to X25-M, probably X25-M in second generation has better performance characteristics ( I will post sysbench fileio benchmarks). Also what is attractive in X25-M, that even in biggest capacity 160GB you can get it by quite acceptable price.</p>
<p>In general FlashCache leaves pretty good impression, I did not have any significant problems ( not speaking about crashes or data loss), probably, the most challenge is to get a binary driver for your kernel <img src="http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> .  I will do more benchmarks especially when data exceeds memory, and also it will be interesting to see how it works when we put FlashCache on FusionIO cards instead of Intel SSD.</p>
    <hr noshade style="margin:0;height:1px" />
    <p>Entry posted by Vadim |
      <a href="http://www.mysqlperformanceblog.com/2010/05/10/flashcache-first-experiments/#comments">No comment</a></p>
    <p>Add to: <a href="http://del.icio.us/post?url=http://www.mysqlperformanceblog.com/2010/05/10/flashcache-first-experiments/&amp;title=FlashCache:%20first%20experiments" title="Bookmark this post on del.icio.us"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/delicious.png" alt="delicious" /></a> | <a href="http://digg.com/submit?phase=2&amp;url=http://www.mysqlperformanceblog.com/2010/05/10/flashcache-first-experiments/&amp;title=FlashCache:%20first%20experiments" title="Digg this post on Digg.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/digg.png" alt="digg" /></a> | <a href="http://reddit.com/submit?url=http://www.mysqlperformanceblog.com/2010/05/10/flashcache-first-experiments/&amp;title=FlashCache:%20first%20experiments" title="Submit this post on reddit.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/reddit.png" alt="reddit" /></a> | <a href="http://www.netscape.com/submit/?U=http://www.mysqlperformanceblog.com/2010/05/10/flashcache-first-experiments/&amp;T=FlashCache:%20first%20experiments" title="Vote for this article on Netscape"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/netscape.gif" alt="netscape" /></a> | <a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.mysqlperformanceblog.com/2010/05/10/flashcache-first-experiments/&amp;title=FlashCache:%20first%20experiments" title="Add to Google Bookmarks"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/google.png" alt="Google Bookmarks" /></a></p><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=24707&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=24707&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://planetmysql.ru/2010/05/11/flashcache-first-experiments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is a Performance Model for SSDs?</title>
		<link>http://tokutek.com/2010/05/what-is-a-performance-model-for-ssds/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=what-is-a-performance-model-for-ssds</link>
		<comments>http://tokutek.com/2010/05/what-is-a-performance-model-for-ssds/#comments</comments>
		<pubDate>Tue, 04 May 2010 19:14:28 +0000</pubDate>
		<dc:creator>Tokuview Blog</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql user conference]]></category>
		<category><![CDATA[ssd]]></category>
		<category><![CDATA[TokuDB]]></category>
		<category><![CDATA[TokuView]]></category>

		<guid isPermaLink="false">http://tokutek.com/?p=1423</guid>
		<description><![CDATA[Here are the slides and video for my ignite talk on measuring the performance of SSDs.

You can find this talk and other mostly technical material at http://tokutek.com/technology/.
This research was funded in part by the National Science Foundation.]]></description>
			<content:encoded><![CDATA[<p>Here are the <a href="http://tokutek.com/downloads/mysqluc-2010-kuszmaul-ignite.pdf">slides</a> and <a href="http://www.youtube.com/watch?v=z-_qlqb-O0Q&amp;feature=PlayList&amp;p=57E661D0569B26EE&amp;playnext_from=PL&amp;playnext=1&amp;index=20">video</a> for my ignite talk on measuring the performance of SSDs.</p>
<p></p>
<p>You can find this talk and other mostly technical material at <a href="http://tokutek.com/technology/">http://tokutek.com/technology/</a>.</p>
<p>This research was funded in part by the National Science Foundation.</p><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=24654&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=24654&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://planetmysql.ru/2010/05/04/what-is-a-performance-model-for-ssds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My MySQL keynote slides and video</title>
		<link>http://don.blogs.smugmug.com/2010/04/15/my-mysql-keynote-slides-and-video/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=my-mysql-keynote-slides-and-video</link>
		<comments>http://don.blogs.smugmug.com/2010/04/15/my-mysql-keynote-slides-and-video/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 21:39:29 +0000</pubDate>
		<dc:creator>Don MacAskill</dc:creator>
				<category><![CDATA[datacenter]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[fishworks]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[open storage]]></category>
		<category><![CDATA[percona]]></category>
		<category><![CDATA[Replication]]></category>
		<category><![CDATA[smugmug]]></category>
		<category><![CDATA[ssd]]></category>
		<category><![CDATA[transactional replication]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://don.blogs.smugmug.com/?p=644</guid>
		<description><![CDATA[Been asked a few times in the last few days about where my slides are from my MySQL keynote from *last* year.
Ooops.
Um, yeah.  Sorry about that.  Here&#8217;s a link to &#8216;The SmugMug Tale&#8217; slides, and you can watch the video below:

Sorry for the extreme lag.  I suck.
The important highlights go something like this:

Use transactional replication.  Without it, you&#8217;re dead in the water. You have no idea where a crashed slave was.
Use a filesystem that lets you do snapshots.  Easily the best way to do backups, spin up new slaves, etc. I love ZFS.  You&#8217;ll need transactional replication to really make this painless.
Use SSDs if you can. We can&#8217;t afford to be fully deployed on SSDs (terabytes are expensive), but putting them in the write path to lower latency is awesome.  The read path might help, too, depending on how much caching you&#8217;re already doing.  Love hybrid storage pools.
Use Fishworks (aka Open Storage) if you can.  The analytics are unbeatable, plus you get SSDs, snapshots, ZFS, and tons of other goodies.
Use transactional replication. This is so important I&#8217;m repeating it.  Patch it into MySQL (Google, Facebook, and Percona have patches) or use XtraDB if you use replication.  We use the Percona patch.

Holler in the comments if something in the presentation isn&#8217;t clear, I&#8217;ll answer.  Apologies again.
Shameless plug - we&#8217;re hiring. And it&#8217;s a blast.
       ]]></description>
			<content:encoded><![CDATA[<p>Been asked a few times in the last few days about where my <a href="http://www.mysqlconf.com/mysql2009/public/schedule/detail/8232">slides are from my MySQL keynote</a> from *last* year.</p>
<p>Ooops.</p>
<p>Um, yeah.  Sorry about that.  Here&#8217;s a link to <a href="http://assets.en.oreilly.com/1/event/21/The%20SmugMug%20Tale%20Presentation.pdf">&#8216;The SmugMug Tale&#8217; slides</a>, and you can watch the video below:</p>
<p><span><a href="http://don.blogs.smugmug.com/2010/04/15/my-mysql-keynote-slides-and-video/"><img src="http://img.youtube.com/vi/2WEx_XTjPvE/2.jpg" alt="" /></a></span></p>
<p>Sorry for the extreme lag.  I suck.</p>
<p>The important highlights go something like this:</p>
<ul>
<li>Use <a href="http://code.google.com/p/google-mysql-tools/wiki/TransactionalReplication">transactional replication</a>.  Without it, you&#8217;re dead in the water. You have no idea where a crashed slave was.</li>
<li>Use a filesystem that lets you do snapshots.  Easily the best way to do backups, spin up new slaves, etc. I love <a href="http://en.wikipedia.org/wiki/ZFS">ZFS</a>.  You&#8217;ll need transactional replication to really make this painless.</li>
<li>Use SSDs if you can. We can&#8217;t afford to be fully deployed on SSDs (terabytes are expensive), but putting them in the write path to lower latency is awesome.  The read path might help, too, depending on how much caching you&#8217;re already doing.  Love <a href="http://blogs.sun.com/ahl/entry/shadow_of_hsp">hybrid storage pools</a>.</li>
<li>Use <a href="http://www.oracle.com/us/products/servers-storage/storage/open-storage/index.html">Fishworks (aka Open Storage)</a> if you can.  The analytics are unbeatable, plus you get SSDs, snapshots, ZFS, and tons of other goodies.</li>
<li>Use <a href="http://code.google.com/p/google-mysql-tools/wiki/TransactionalReplication">transactional replication</a>. This is so important I&#8217;m repeating it.  Patch it into MySQL (<a href="http://code.google.com/p/google-mysql-tools/wiki/Mysql5Patches">Google</a>, <a href="https://launchpad.net/mysqlatfacebook/51">Facebook</a>, and <a href="http://www.percona.com/docs/wiki/percona-xtradb%3Apatch%3Ainnodb_overwrite_relay_log_info">Percona</a> have patches) or use <a href="https://launchpad.net/percona-xtradb">XtraDB</a> if you use replication.  We use the Percona patch.</li>
</ul>
<p>Holler in the comments if something in the presentation isn&#8217;t clear, I&#8217;ll answer.  Apologies again.</p>
<p>Shameless plug - <a href="http://www.smugmug.com/aboutus/jobs.mg">we&#8217;re hiring</a>. And it&#8217;s a blast.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/donmacaskill.wordpress.com/644/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/donmacaskill.wordpress.com/644/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/donmacaskill.wordpress.com/644/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/donmacaskill.wordpress.com/644/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/donmacaskill.wordpress.com/644/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/donmacaskill.wordpress.com/644/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/donmacaskill.wordpress.com/644/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/donmacaskill.wordpress.com/644/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/donmacaskill.wordpress.com/644/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/donmacaskill.wordpress.com/644/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=don.blogs.smugmug.com&amp;blog=10309449&amp;post=644&amp;subd=donmacaskill&amp;ref=&amp;feed=1" /><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=24382&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=24382&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://planetmysql.ru/2010/04/16/my-mysql-keynote-slides-and-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Should I buy a Fast SSD or more memory?</title>
		<link>http://www.mysqlperformanceblog.com/2010/04/06/fast-ssd-or-more-memory/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=should-i-buy-a-fast-ssd-or-more-memory</link>
		<comments>http://www.mysqlperformanceblog.com/2010/04/06/fast-ssd-or-more-memory/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 15:57:46 +0000</pubDate>
		<dc:creator>MySQL Performance Blog</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[production]]></category>
		<category><![CDATA[ssd]]></category>
		<category><![CDATA[xtradb]]></category>

		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=2402</guid>
		<description><![CDATA[While a scale-out solution has traditionally been popular for MySQL, it&#8217;s interesting to see what room we now have to scale up &#8211; cheap memory, fast storage, better power efficiency.  There certainly are a lot of options now &#8211; I&#8217;ve been meeting about a customer/week using Fusion-IO cards.  One interesting choice I&#8217;ve seen people make however, is buying an SSD when they still have a lot of pages read/second &#8211; I would have preferred to buy memory instead, and use the storage device for writes.
Here&#8217;s the benchmark I came up with to confirm if this is the case:

Percona-XtraDB-9.1 release
Sysbench OLTP workload with 80 million rows (about 18GB worth of data+indexes)
XFS Filesystem mounted with nobarrier option.
Tests run with:

RAID10 with BBU over 8 disks
Intel SSD X25-E 32GB
FusionIO 320GB MLC


For each test, run with a buffer pool of between 2G and 22G (to test performance compared to memory fit).
Hardware was our Dell 900 (specs here).

To start with, we have a test on the RAID10 storage to establish a baseline.  The Y axis is transactions/second (more is better), the X axis is the size of innodb_buffer_pool_size:
Let me point out three interesting characteristics about this benchmark:

The A arrow is when data fits completely in the buffer pool (best performance). It&#8217;s important to point out that once you hit this point, a further increase in memory at all.
The B arrow is where the data just started to exceed the size of the buffer pool.  This is the most painful point for many customers &#8211; because while memory decreased by only ~10% the performance dropped by 2.6 times!  In production this usually matches the description of &#8220;Last week everything was fine.. but it&#8217;s just getting slower and slower!&#8221;.  I would suggest that adding memory is by far the best thing to do here.
The C arrow shows where data is approximately three times the buffer pool.  This is an interesting point to zoom in on &#8211; since you may not be able to justify the cost of the memory, but an SSD might be a good fit:

Where the C arrow was, in this graph a Fusion-IO card improves performance by about five times (or 2x with an Intel SSD).  To get the same improvement with memory, you would have needed to add 60% more memory -or- 260% more memory for a 5x improvement.  Imagine a situation where your C point is when you have 32GB of RAM and 100GB of data.  Than it gets interesting:

Can you easily add another 32G RAM (are your memory slots already filled?)
Does your budget allow to install SSD cards? (You may still need more than one, since they are all relatively small.  There are already appliances on the market which use 8 Intel SSD devices).
Is a 2x or 5x improvement enough?  There are more wins to be had if you can afford to buy all the memory that is required.

The workload here is designed to keep as much of the data hot as possible, but I guess the main lesson here is not to underestimate the size of your &#8220;active set&#8221; of data.  For some people who just append data to some sort of logging table it may only need to be a small percentage &#8211; but in other cases it can be considerably higher.  If you don&#8217;t know what your working set is &#8211; ask us!
Important note: This graph and these results are valid only for sysbench uniform. In your particular workload the points B and C may be located in differently.
Raw results:



Buffer pool, GB
FusionIO
Intel SSD
RAID 10


2
450.3
186.33
80.67


4
538.19
230.35
99.73


6
608.15
268.18
121.71


8
679.44
324.03
201.74


10
769.44
407.56
252.84


12
855.89
511.49
324.38


14
976.74
664.38
429.15


16
1127.23
836.17
579.29


18
1471.98
1236.9
934.78


20
2536.16
2485.63
2486.88


22
2433.13
2492.06
2448.88



    
    Entry posted by Vadim &#124;
      No comment
    Add to:  &#124;  &#124;  &#124;  &#124; ]]></description>
			<content:encoded><![CDATA[<p>While a scale-out solution has traditionally been popular for MySQL, it&#8217;s interesting to see what room we now have to scale up &#8211; cheap memory, fast storage, better power efficiency.  There certainly are a lot of options now &#8211; I&#8217;ve been meeting about a customer/week using Fusion-IO cards.  One interesting choice I&#8217;ve seen people make however, is buying an SSD when they still have a lot of pages read/second &#8211; I would have preferred to buy memory instead, and use the storage device for writes.</p>
<p>Here&#8217;s the benchmark I came up with to confirm if this is the case:</p>
<ul>
<li>Percona-XtraDB-9.1 release</li>
<li>Sysbench OLTP workload with 80 million rows (about 18GB worth of data+indexes)</li>
<li>XFS Filesystem mounted with nobarrier option.</li>
<li>Tests run with:
<ul>
<li>RAID10 with BBU over 8 disks</li>
<li>Intel SSD X25-E 32GB</li>
<li>FusionIO 320GB MLC</li>
</ul>
</li>
<li>For each test, run with a buffer pool of between 2G and 22G (to test performance compared to memory fit).</li>
<li>Hardware was our Dell 900 (<a href="http://www.percona.com/docs/wiki/benchmark%3Ahardware%3AR900">specs here</a>).</li>
</ul>
<p>To start with, we have a test on the RAID10 storage to establish a baseline.  The Y axis is transactions/second (more is better), the X axis is the size of innodb_buffer_pool_size:</p>
<p><a href="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/04/raid.mem_.jpg"><img class="aligncenter size-full wp-image-2403" title="raid.mem" src="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/04/raid.mem_.jpg" alt="" width="649" height="451" /></a>Let me point out three interesting characteristics about this benchmark:</p>
<ul>
<li>The <strong>A arrow</strong> is when data fits completely in the buffer pool (best performance). It&#8217;s important to point out that once you hit this point, a further increase in memory at all.</li>
<li>The <strong>B arrow</strong> is where the data just started to exceed the size of the buffer pool.  This is the most painful point for many customers &#8211; because while memory decreased by only ~10% the performance dropped by 2.6 times!  In production this usually matches the description of &#8220;Last week everything was fine.. but it&#8217;s just getting slower and slower!&#8221;.  I would suggest that adding memory is by far the best thing to do here.</li>
<li>The <strong>C arrow</strong> shows where data is approximately three times the buffer pool.  This is an interesting point to zoom in on &#8211; since you may not be able to justify the cost of the memory, but an SSD might be a good fit:</li>
</ul>
<p><a href="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/04/ssd1.mem_.jpg"><img class="aligncenter size-full wp-image-2407" title="ssd1.mem" src="http://www.mysqlperformanceblog.com/wp-content/uploads/2010/04/ssd1.mem_.jpg" alt="" width="647" height="450" /></a>Where the C arrow was, in this graph a Fusion-IO card improves performance by about five times (or 2x with an Intel SSD).  To get the same improvement with memory, you would have needed to add 60% more memory -or- 260% more memory for a 5x improvement.  Imagine a situation where your C point is when you have 32GB of RAM and 100GB of data.  Than it gets interesting:</p>
<ul>
<li>Can you easily add another 32G RAM (are your memory slots already filled?)</li>
<li>Does your budget allow to install SSD cards? (You may still need more than one, since they are all relatively small.  There are already appliances on the market which use 8 Intel SSD devices).</li>
<li>Is a 2x or 5x improvement enough?  There are more wins to be had if you can afford to buy all the memory that is required.</li>
</ul>
<p>The workload here is designed to keep as much of the data hot as possible, but I guess the main lesson here is not to underestimate the size of your &#8220;active set&#8221; of data.  For some people who just append data to some sort of logging table it may only need to be a small percentage &#8211; but in other cases it can be considerably higher.  If you don&#8217;t know what your working set is &#8211; <a href="http://www.percona.com/contacts.html?ref=http://www.mysqlperformanceblog.com/">ask us</a>!</p>
<p>Important note: This graph and these results are valid <strong>only </strong>for <strong>sysbench uniform</strong>. In your particular workload the points B and C may be located in differently.</p>
<p>Raw results:</p>
<table border="1">
<tbody>
<tr>
<td>Buffer pool, GB</td>
<td>FusionIO</td>
<td>Intel SSD</td>
<td>RAID 10</td>
</tr>
<tr>
<td>2</td>
<td>450.3</td>
<td>186.33</td>
<td>80.67</td>
</tr>
<tr>
<td>4</td>
<td>538.19</td>
<td>230.35</td>
<td>99.73</td>
</tr>
<tr>
<td>6</td>
<td>608.15</td>
<td>268.18</td>
<td>121.71</td>
</tr>
<tr>
<td>8</td>
<td>679.44</td>
<td>324.03</td>
<td>201.74</td>
</tr>
<tr>
<td>10</td>
<td>769.44</td>
<td>407.56</td>
<td>252.84</td>
</tr>
<tr>
<td>12</td>
<td>855.89</td>
<td>511.49</td>
<td>324.38</td>
</tr>
<tr>
<td>14</td>
<td>976.74</td>
<td>664.38</td>
<td>429.15</td>
</tr>
<tr>
<td>16</td>
<td>1127.23</td>
<td>836.17</td>
<td>579.29</td>
</tr>
<tr>
<td>18</td>
<td>1471.98</td>
<td>1236.9</td>
<td>934.78</td>
</tr>
<tr>
<td>20</td>
<td>2536.16</td>
<td>2485.63</td>
<td>2486.88</td>
</tr>
<tr>
<td>22</td>
<td>2433.13</td>
<td>2492.06</td>
<td>2448.88</td>
</tr>
</tbody>
</table>
    <hr noshade style="margin:0;height:1px" />
    <p>Entry posted by Vadim |
      <a href="http://www.mysqlperformanceblog.com/2010/04/06/fast-ssd-or-more-memory/#comments">No comment</a></p>
    <p>Add to: <a href="http://del.icio.us/post?url=http://www.mysqlperformanceblog.com/2010/04/06/fast-ssd-or-more-memory/&amp;title=Should%20I%20buy%20a%20Fast%20SSD%20or%20more%20memory?" title="Bookmark this post on del.icio.us"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/delicious.png" alt="delicious" /></a> | <a href="http://digg.com/submit?phase=2&amp;url=http://www.mysqlperformanceblog.com/2010/04/06/fast-ssd-or-more-memory/&amp;title=Should%20I%20buy%20a%20Fast%20SSD%20or%20more%20memory?" title="Digg this post on Digg.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/digg.png" alt="digg" /></a> | <a href="http://reddit.com/submit?url=http://www.mysqlperformanceblog.com/2010/04/06/fast-ssd-or-more-memory/&amp;title=Should%20I%20buy%20a%20Fast%20SSD%20or%20more%20memory?" title="Submit this post on reddit.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/reddit.png" alt="reddit" /></a> | <a href="http://www.netscape.com/submit/?U=http://www.mysqlperformanceblog.com/2010/04/06/fast-ssd-or-more-memory/&amp;T=Should%20I%20buy%20a%20Fast%20SSD%20or%20more%20memory?" title="Vote for this article on Netscape"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/netscape.gif" alt="netscape" /></a> | <a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.mysqlperformanceblog.com/2010/04/06/fast-ssd-or-more-memory/&amp;title=Should%20I%20buy%20a%20Fast%20SSD%20or%20more%20memory?" title="Add to Google Bookmarks"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/google.png" alt="Google Bookmarks" /></a></p><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=24238&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=24238&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://planetmysql.ru/2010/04/06/should-i-buy-a-fast-ssd-or-more-memory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Tech Webinars</title>
		<link>http://blogs.sun.com/partnertech/entry/free_tech_webinars?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=free-tech-webinars</link>
		<comments>http://blogs.sun.com/partnertech/entry/free_tech_webinars#comments</comments>
		<pubDate>Sat, 17 Oct 2009 19:44:29 +0000</pubDate>
		<dc:creator>Thierry Manfé</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[ssd]]></category>
		<category><![CDATA[Technology Tid Bits]]></category>
		<category><![CDATA[training]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Webcast]]></category>
		<category><![CDATA[webinar]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://blogs.sun.com/partnertech/entry/free_tech_webinars</guid>
		<description><![CDATA[You want to use or to know more about Sun technologies? We propose you free Webinars to improve your knowledge and&#160; skills! 
  To register, just click on one of the following links: 
  
    Wednesday October 21st 2009: ZFS - Changing the Way You Look at Storage:
ZFS is a new kind of file storage subsystem that provides simple
administration, transactional semantics, end-to-end data integrity, and
immense scalability. ZFS is not an incremental improvement to existing
technology; it is a fundamentally new approach to data management. ZFS
also combines, Disks, DRAM and Flash into one storage subsystem easily
providing the best overall price performance for storage. Come learn
about ZFS and its benefits. See a demo of how easy it is to use and
administrate. Hear from a startup on their experience with ZFS.
   
  
     
      October 14th 2009: Storage for your database:
how databases can take advantage of ZFS, SSDs and the Open Storage line
of products from Sun to increase data security, scalability, and reduce
the price/performance ratio. 
       Note: Everybody can join. Useful for ISVs and startups using a database in their application. 
    
   
  
     
      September 23rd 2009 :JavaFX for all your screens and Java Store for your distribution 
    
   
   
    Note: Everybody can join. Especially useful for ISVs and startups. 
   
  
     
      September 9th 2009 : Mobile application design 
    
   
   
    Note : Everybody can join. Especially useful for ISVs and startups. 
  ]]></description>
			<content:encoded><![CDATA[<p>You want to use or to know more about Sun technologies? We propose you free Webinars to improve your knowledge and&nbsp; skills!<br /></p> 
  <p>To register, just click on one of the following links:</p> 
  <ul>
    <li><a href="https://dct.sun.com/dct/forms/reg_us_1510_677_0.jsp"><b>Wednesday October 21st 2009: ZFS - Changing the Way You Look at Storage</b></a>:
ZFS is a new kind of file storage subsystem that provides simple
administration, transactional semantics, end-to-end data integrity, and
immense scalability. ZFS is not an incremental improvement to existing
technology; it is a fundamentally new approach to data management. ZFS
also combines, Disks, DRAM and Flash into one storage subsystem easily
providing the best overall price performance for storage. Come learn
about ZFS and its benefits. See a demo of how easy it is to use and
administrate. Hear from a startup on their experience with ZFS.<br /></li>
  </ul> 
  <ul>
    <li> 
      <p><b><a href="https://dct.sun.com/dct/forms/reg_fr_0610_253_0.jsp">October 14th 2009: Storage for your database</a></b>:
how databases can take advantage of ZFS, SSDs and the Open Storage line
of products from Sun to increase data security, scalability, and reduce
the price/performance ratio.</p> 
      <p> Note: Everybody can join. Useful for ISVs and startups using a database in their application.<br /></p> 
    </li>
  </ul> 
  <ul>
    <li> 
      <h4><a href="https://dct.sun.com/dct/forms/reg_us_0309_179_0.jsp" title="permalink">September 23rd 2009 :JavaFX for all your screens and Java Store for your distribution</a></h4> 
    </li>
  </ul> 
  <blockquote> 
    <p>Note: Everybody can join. Especially useful for ISVs and startups.</p> 
  </blockquote> 
  <ul>
    <li> 
      <h4><a href="https://dct.sun.com/dct/forms/reg_us_2808_278_0.jsp" title="permalink">September 9th 2009 : Mobile application design<br /></a></h4> 
    </li>
  </ul> 
  <blockquote> 
    <p>Note : Everybody can join. Especially useful for ISVs and startups.</p> 
  </blockquote><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=21782&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=21782&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://planetmysql.ru/2009/10/17/free-tech-webinars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>InnoDB and 4k page size benchmarks?</title>
		<link>http://feedblog.org/2009/10/03/innodb-and-4k-page-size-benchmarks/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=innodb-and-4k-page-size-benchmarks</link>
		<comments>http://feedblog.org/2009/10/03/innodb-and-4k-page-size-benchmarks/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 03:43:00 +0000</pubDate>
		<dc:creator>Kevin Burton</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[ssd]]></category>

		<guid isPermaLink="false">http://feedblog.org/?p=1975</guid>
		<description><![CDATA[Has anyone done any more work on recompiling InnoDB with 4k pages and benchmarking under SSD?
We&#8217;re building out a new DB that uses very small records (around 32-64 bytes) so reading a whole 16k for this record should have a performance difference. 
I haven&#8217;t seen any benchmarks on 16k random read IOPS on the Intel SSD but my hunch is that there will be a 20-30% penalty here.
Though even if it was a 4x penalty that would still be about 9k transactions per second which is pretty good.
On a personal note I just bought a new Mac Book Pro which will be upgraded to the Intel X-25M MLC SSD.
Needless to say I&#8217;m very excited!
       ]]></description>
			<content:encoded><![CDATA[<div><br /><p>Has anyone done any more work on recompiling InnoDB with 4k pages and benchmarking under SSD?</p>
<p>We&#8217;re building out a new DB that uses very small records (around 32-64 bytes) so reading a whole 16k for this record should have a performance difference. </p>
<p>I haven&#8217;t seen any benchmarks on 16k random read IOPS on the Intel SSD but my hunch is that there will be a 20-30% penalty here.</p>
<p>Though even if it was a 4x penalty that would still be about 9k transactions per second which is pretty good.</p>
<p>On a personal note I just bought a new Mac Book Pro which will be upgraded to the Intel X-25M MLC SSD.</p>
<p>Needless to say I&#8217;m very excited!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/burtonator.wordpress.com/1975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/burtonator.wordpress.com/1975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/burtonator.wordpress.com/1975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/burtonator.wordpress.com/1975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/burtonator.wordpress.com/1975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/burtonator.wordpress.com/1975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/burtonator.wordpress.com/1975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/burtonator.wordpress.com/1975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/burtonator.wordpress.com/1975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/burtonator.wordpress.com/1975/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=feedblog.org&amp;blog=848832&amp;post=1975&amp;subd=burtonator&amp;ref=&amp;feed=1" /></div><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=21436&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=21436&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://planetmysql.ru/2009/10/04/innodb-and-4k-page-size-benchmarks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

