<?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>lessfs</title>
	<atom:link href="http://www.lessfs.com/wordpress/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.lessfs.com/wordpress</link>
	<description>Open source data de-duplication</description>
	<lastBuildDate>Sat, 16 Mar 2013 11:53:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>btier-0.9.9.9-3 has been released</title>
		<link>http://www.lessfs.com/wordpress/?p=906</link>
		<comments>http://www.lessfs.com/wordpress/?p=906#comments</comments>
		<pubDate>Sat, 16 Mar 2013 11:53:03 +0000</pubDate>
		<dc:creator>maru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lessfs.com/wordpress/?p=906</guid>
		<description><![CDATA[This release solves a bug that can lead to loss of data when btier is used with SSD&#8217;s and a recent kernel that supports discard / trim. Upgrading is highly recommended.]]></description>
			<content:encoded><![CDATA[<p>This release solves a bug that can lead to loss of data when btier is used with SSD&#8217;s and a recent kernel that supports discard / trim. </p>
<p>Upgrading is highly recommended.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lessfs.com/wordpress/?feed=rss2&#038;p=906</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Btier-0.9.9.9-1 has been released</title>
		<link>http://www.lessfs.com/wordpress/?p=899</link>
		<comments>http://www.lessfs.com/wordpress/?p=899#comments</comments>
		<pubDate>Wed, 06 Mar 2013 10:32:22 +0000</pubDate>
		<dc:creator>maru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lessfs.com/wordpress/?p=899</guid>
		<description><![CDATA[This release dramatically improves random read performance. This has been achieved by introducing a thread pool and implementing aio for random reads. The performance of the 0.9.9.9 release was: seq_read : io=12288MB, bw=501371KB/s, iops=125342 , runt= 25097msec rnd_read : io=2985.3MB, &#8230; <a href="http://www.lessfs.com/wordpress/?p=899">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This release dramatically improves random read performance. This has been achieved by introducing a thread pool and implementing aio for random reads.</p>
<p>The performance of the 0.9.9.9 release was:</p>
<pre>
seq_read : io=12288MB, bw=501371KB/s, iops=125342 , runt= 25097msec
rnd_read : io=2985.3MB, bw=50946KB/s, iops=12736 , runt= 60003msec
seq_write: io=12288MB, bw=493912KB/s, iops=123478 , runt= 25476msec
rnd_write: io=9301.5MB, bw=158731KB/s, iops=39682 , runt= 60005msec
</pre>
<p>And with the help of the new aio code 0.9.9.9-1 now shows these numbers:</p>
<pre>
seq_read : io=12288MB, bw=376373KB/s, iops=94093 , runt= 33432msec
rnd_read : io=10419MB, bw=177818KB/s, iops=44454 , runt= 60001msec
seq_write: io=12288MB, bw=496113KB/s, iops=124028 , runt= 25363msec
rnd_write: io=9242.2MB, bw=157724KB/s, iops=39431 , runt= 60003msec
</pre>
<p>On the same server bcache (configuration tuned by Kent Overstreet ) shows these numbers:</p>
<pre>
seq_read : io=12288MB, bw=228324KB/s, iops=57080 , runt= 55110msec
rdn_read : io=11250MB, bw=191989KB/s, iops=47997 , runt= 60001msec
seq_write: io=7394.5MB, bw=126195KB/s, iops=31548 , runt= 60002msec
rnd_write: io=7924.2MB, bw=135237KB/s, iops=33809 , runt= 60001msec
</pre>
<p>New in this release is that migration policy settings are now stored persistently on disk. </p>
<p>Enjoy,</p>
<p>Mark</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lessfs.com/wordpress/?feed=rss2&#038;p=899</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TIER has been renamed to BTIER</title>
		<link>http://www.lessfs.com/wordpress/?p=850</link>
		<comments>http://www.lessfs.com/wordpress/?p=850#comments</comments>
		<pubDate>Sat, 26 Jan 2013 17:07:39 +0000</pubDate>
		<dc:creator>maru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lessfs.com/wordpress/?p=850</guid>
		<description><![CDATA[What&#8217;s in a name TIER has been renamed to BTIER to improve the relevance of results returned by search engines. BTIER current status The btier code is now at 0.9.9.2 and I hope to release a stable 1.0 version within &#8230; <a href="http://www.lessfs.com/wordpress/?p=850">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>What&#8217;s in a name</h2>
<p>TIER has been renamed to BTIER to improve the relevance of results returned by search engines.</p>
<h2>BTIER current status</h2>
<p>The btier code is now at 0.9.9.2 and I hope to release a stable 1.0 version within weeks.</p>
<h2>BTIER performance tested with Vmware IO analyzer 1.5.0</h2>
<p>To test the current performance capability of BTIER I conducted the following test. A server with a single STEC Zeus drive and a LSI controller with 5 Hitachi SAS drives is used to export a btier volume via iSCSI (SCST).</p>
<pre>BTIER Server   : Supermicro
Processor      : E5606  @ 2.13GHz
Memory         : 8GB
iSCSI network  : 2 * 10Gbe
LSI controller : MegaRAID SAS 9280-4i4e ( 5 * Hitachi SAS in RAID 5)
LSI controller : SAS2008 PCI-Express Fusion-MPT SAS-2
                 ( 1 * STEC Zeus 800GB SSD)</pre>
<p>The native IOPS performance of the 5 Hitachi drives in RAID5 is approx 375 IOPS for writes. The native performance of the SSD can be found here : <a href="http://www.stec-inc.com/product/zeusiops.php">STEC ZeusIOPS<br />
specifications</a></p>
<pre>Vmware server       : Intel 2500HC
Vmware version      : 5.1.0
Vmware io analyzer  : http://labs.vmware.com/flings/io-analyzer
iSCSI NIC           : 2 * 10Gbe</pre>
<p>In this test both bcache and btier are used to have an idea how btier compares with others.<br />
bcache was setup with these commands:</p>
<pre>make-bcache -B /dev/sda
make-bcache -C -b1M /dev/sdd
modprobe bcache
echo /dev/sda &gt;/sys/fs/bcache/register
echo /dev/sdd &gt;/sys/fs/bcache/register
ls /sys/fs/bcache/
echo a38f0944-e439-4607-8222-7f5dfbbcf05e &gt;/sys/block/sda/bcache/attach
echo 1 &gt;/sys/block/sda/bcache/writeback_running</pre>
<p>Setting up tier:</p>
<pre>insmod ./btier.ko
./btier_setup -f /dev/sdd:/dev/sda -c
echo 0 &gt;/sys/block/sdtiera/tier/sequential_landing</pre>
<p>And finally SCST:</p>
<pre>setup_id 0x1234

HANDLER vdisk_blockio {
        DEVICE disk01 {
                t10_dev_id "v-crsimp01 e951d814"
                usn e951d814
                # ONE OF THESE
                #filename /dev/bcache0
                #filename /dev/sdtiera
                WRITE_THROUGH
        }
}

TARGET_DRIVER iscsi {
	enabled 1
        rel_tgt_id 1

	TARGET iqn.2006-11.net.storagedata:tgt-ctrl02 {
		LUN 0 disk01
                allowed_portal 192.168.1.20
                allowed_portal 192.168.2.20
		enabled 1
	}
}</pre>
<p>Two vmware guests where started with an iometer IOPS workload.<br />
One guest doing 100% random reads and the other 100% random writes.<br />
The test results are shown below.</p>
<p><img class="aligncenter" title="vmware-io-analyzer" src="http://www.lessfs.com/wordpress/wp-content/docimages/vmware-io.jpeg" alt="vmware-io-analyzer" width="408" height="307" /></p>
<table>
<tbody>
<tr>
<td>
<p><div class="wp-caption alignnone" style="width: 278px"><img class="  " title="Btier max iops" src="http://www.lessfs.com/wordpress/wp-content/docimages/btier_max_iops.png" alt="Btier max iops" width="268" height="201" /><p class="wp-caption-text">BTIER MAX IOPS</p></div></td>
<td>
<p><div class="wp-caption alignnone" style="width: 278px"><img class=" " title="BCACHE MAX IOPS" src="http://www.lessfs.com/wordpress/wp-content/docimages/bcache_max_iops.png" alt="BCACHE MAX IOPS" width="268" height="201" /><p class="wp-caption-text">BCACHE MAX IOPS</p></div></td>
</tr>
<tr>
<td>
<p><div class="wp-caption alignnone" style="width: 278px"><img class=" " title="BTIER MAX LATENCY" src="http://www.lessfs.com/wordpress/wp-content/docimages/btier_max_latency.png" alt="BTIER MAX LATENCY" width="268" height="201" /><p class="wp-caption-text">BTIER MAX LATENCY</p></div></td>
<td>
<p><div class="wp-caption alignnone" style="width: 278px"><img class=" " title="BCACHE MAX LATENCY" src="http://www.lessfs.com/wordpress/wp-content/docimages/bcache_max_latency.png" alt="BCACHE MAX LATENCY" width="268" height="201" /><p class="wp-caption-text">BCACHE MAX LATENCY</p></div></td>
</tr>
</tbody>
</table>
<h2>Testing btier and bcache with fio</h2>
<p>To ensure that the test results are valid I also tested both btier and bcache with fio.</p>
<pre>---------------------------- BTIER ------------------------------
Jobs: 1 (f=1): [___w] [89.3% done] [0K/145.3M /s] [0 /36.4K iops]   
read : io=12288MB, bw=435651KB/s, iops=108912 , runt= 28883msec
read : io=2398.6MB, bw=40935KB/s, iops=10233 , runt= 60001msec
write: io=12288MB, bw=498412KB/s, iops=124603 , runt= 25246msec
write: io=9218.6MB, bw=157306KB/s, iops=39326 , runt= 60006msec

-----------------------------BCACHE (writeback) -----------------
Jobs: 1 (f=1): [___w] [57.2% done] [0K/6541K /s] [0 /1597  iops]   
read : io=10245MB, bw=174850KB/s, iops=43712 , runt= 60001msec
read : io=146684KB, bw=2443.9KB/s, iops=610 , runt= 60021msec
write: io=7253.4MB, bw=123785KB/s, iops=30946 , runt= 60003msec
write: io=2192.4MB, bw=37410KB/s, iops=9352 , runt= 60008msec</pre>
<p>The fio test results confirm the results from the Vmware io analyzer test.</p>
<p>Just before finishing up on this post I read the announcement of <a href="https://lkml.org/lkml/2013/1/11/341">Enchance IO</a></p>
<p>A fio test shows that this project is serious competition:</p>
<pre>
eio_cli create -d /dev/sda4 -s /dev/sdd4 -m wb -c EIO

Jobs: 1 (f=1): [___w] [81.9% done] [0K/135.5M /s] [0 /33.9K iops] [eta 00m:51s]
read : io=12288MB, bw=253913KB/s, iops=63478 , runt= 49556msec
read : io=3885.4MB, bw=66303KB/s, iops=16575 , runt= 60001msec
write: io=7681.1MB, bw=131088KB/s, iops=32772 , runt= 60001msec
write: io=6639.5MB, bw=113312KB/s, iops=28327 , runt= 60001msec
</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2>Conclusion</h2>
<p>When no major bugs are reported in the weeks to come a btier stable release can be expected soon. btier performs very well and comes with more then enough features to justify a first major release.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lessfs.com/wordpress/?feed=rss2&#038;p=850</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>TIER-0.4.3 has been released</title>
		<link>http://www.lessfs.com/wordpress/?p=836</link>
		<comments>http://www.lessfs.com/wordpress/?p=836#comments</comments>
		<pubDate>Sun, 23 Dec 2012 12:47:52 +0000</pubDate>
		<dc:creator>maru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lessfs.com/wordpress/?p=836</guid>
		<description><![CDATA[Introduction This version of TIER comes with a significant number of changes. The meta data has changed to support resizing of the TIER device. Therefore this version of TIER is not compatible with previous releases. New features This version of &#8230; <a href="http://www.lessfs.com/wordpress/?p=836">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>This version of TIER comes with a significant number of changes. The meta data has changed to support resizing of the TIER device. Therefore this version of TIER is <strong>not compatible</strong> with previous releases.</p>
<h3>New features</h3>
<p>This version of TIER introduces support for resizing the underlying devices. When the underlying devices grow TIER can be instructed to grow as well.</p>
<p>LVM will now work with TIER without modifications to the configuration of the system. The device name that TIER registers has changed from /dev/tierN to /dev/sdtierN. The LVM device filters would otherwise have to be changed to use a tier device with LVM. Although this is possible it would have been inconvenient for most users. In this case pvcreate /dev/sdtiera will work with most distributions.</p>
<h3>How resizing TIER works</h3>
<pre>#First create a tier device
insmod ./tier.ko
dd if=/dev/zero of=/data/ssd.img bs=1M count=100
dd if=/dev/zero of=/data/sas.img bs=1M count=150
./tier_setup -f /data/ssd.img:/data/sas.img -c
mkfs.xfs /dev/sdtiera
mount /dev/sdtiera /mnt

df /mnt
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sdtiera            243008     12548    230460   6% /mnt

truncate --size=10000M /data/sas.img
echo 1 &gt;/sys/block/sdtiera/tier/resize

xfs_growfs /mnt
meta-data=/dev/sdtiera  isize=256    agcount=4, agsize=15488 blks
 =              sectsz=512   attr=2
data     =              bsize=4096   blocks=61952, imaxpct=25
 =              sunit=0      swidth=0 blks
naming   =version 2      bsize=4096   ascii-ci=0
log      =internal       bsize=4096   blocks=1200, version=2
 =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none           extsz=4096   blocks=0, rtextents=0
data blocks changed from 61952 to 2585600

df /mnt
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sdtiera          10337600     17764  10319836   1% /mnt</pre>
<p>The example above uses files instead of LVM devices. However this also works when tier is created with LVM devices.</p>
<pre>./tier_setup -f /dev/mapper/meta-ssdlv:/dev/mapper/datavg-datalv -c
And afterwards : lvextend -L+10G /dev/mapper/meta-ssdlv</pre>
<h3>Roadmap</h3>
<p>The next feature that will be added to TIER is the ability to add and even remove devices from TIER.<br />
Performance will be enhanced by loading the meta data into memory whenever sufficient memory is available.<br />
Redundant (meta) data and data checksumming.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lessfs.com/wordpress/?feed=rss2&#038;p=836</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>TIER-0.2.3 is available for download</title>
		<link>http://www.lessfs.com/wordpress/?p=821</link>
		<comments>http://www.lessfs.com/wordpress/?p=821#comments</comments>
		<pubDate>Thu, 12 Jul 2012 20:17:50 +0000</pubDate>
		<dc:creator>maru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lessfs.com/wordpress/?p=821</guid>
		<description><![CDATA[This release of tier makes it possible to disable or enable data migration via sysfs. To disable migration: echo 1&#62;/sys/block/tiera/tier/disable_migration To enable migration: echo 0&#62;/sys/block/tiera/tier/disable_migration When migration is re-enabled the migration process will immediately wake up and start. This feature &#8230; <a href="http://www.lessfs.com/wordpress/?p=821">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This release of tier makes it possible to disable or enable data migration via sysfs.</p>
<p>To disable migration:<br />
echo 1&gt;/sys/block/tiera/tier/disable_migration<br />
To enable migration:<br />
echo 0&gt;/sys/block/tiera/tier/disable_migration</p>
<p>When migration is re-enabled the migration process will immediately wake up and start. This feature allows to schedule block migration to take place at a convenient time. In future releases the sysfs interface will be expanded so that all migration related parameters can be managed via sysfs.</p>
<p>Enjoy,</p>
<p>Mark Ruijter</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lessfs.com/wordpress/?feed=rss2&#038;p=821</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>TIER OPTIMIZATION EFFECTS</title>
		<link>http://www.lessfs.com/wordpress/?p=804</link>
		<comments>http://www.lessfs.com/wordpress/?p=804#comments</comments>
		<pubDate>Sun, 08 Jul 2012 10:06:30 +0000</pubDate>
		<dc:creator>maru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lessfs.com/wordpress/?p=804</guid>
		<description><![CDATA[How TIER works Tier is a Linux kernel block device that aggregates multiple devices of different nature into one virtual block device. The idea is to combine ( expensive ) fast and ( affordable ) slow devices to build a &#8230; <a href="http://www.lessfs.com/wordpress/?p=804">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3>How TIER works</h3>
<p>Tier is a Linux kernel block device that aggregates multiple devices of different nature into one virtual block device. The idea is to combine ( expensive ) fast and ( affordable ) slow devices to build a high performance virtual device. TIER is different from Flashcache and Bcache because it does not only use a fast medium for caching. In some ways TIER and bcache use comparable techniques. Both for example will try to handle random writes sequentially. However TIER goes one step further. It keeps track of data access patterns and will over time migrate aged data to a lower tier. It will also detect that some blocks may be used more often then others and migrate these up to a higher tier.</p>
<h3>The effects of data migration on performance</h3>
<p>In a previous post I published some performance numbers that compare TIER to bcache and flashcache. This time the test with fio was repeated on TIER for several hours which allowed optimization to take place.</p>
<p>FLASHCACHE</p>
<pre>read-seq : io=16635MB, bw=56778KB/s, iops=14194 , runt=300017msec
read-rnd : io=872528KB, bw=2908.4KB/s, iops=727 , runt=300007msec
write-seq: io=8237.5MB, bw=28117KB/s, iops=7029 , runt=300001msec
write-rnd: io=6038.4MB, bw=20611KB/s, iops=5152 , runt=300001msec</pre>
<p>BCACHE</p>
<pre>read-seq : io=20480MB, bw=103370KB/s, iops=25842 , runt=202878msec
read-rnd : io=936760KB, bw=3122.4KB/s, iops=780 , runt=300014msec
write-seq: io=15604MB, bw=53263KB/s, iops=13315 , runt=300001msec
write-rnd: io=6453.1MB, bw=22025KB/s, iops=5506 , runt=300016msec</pre>
<p><span style="color: #006600;">TIER : FIRST RUN</span></p>
<pre>read-seq : io=11911MB, bw=203277KB/s, iops=50819 , runt= 60001msec
read-rnd : io=116236KB, bw=1936.1KB/s, iops=484 , runt= 60009msec
write-seq: io=10507MB, bw=179324KB/s, iops=44831 , runt= 60001msec
write-rnd: io=1653.5MB, bw=24989KB/s, iops=6247 , runt= 67756msec</pre>
<p><span style="color: #006600;">TIER : AFTER SEVERAL HOURS</span></p>
<pre>read-seq : io=13506MB, bw=230496KB/s, iops=57623 , runt= 60001msec
read-rnd : io=273316KB, bw=4554.6KB/s, iops=1138 , runt= 60010msec
write-seq: io=12675MB, bw=216311KB/s, iops=54077 , runt= 60001msec
write-rnd: io=2588.7MB, bw=44117KB/s, iops=11029 , runt= 60085msec</pre>
<h3>The price of optimization</h3>
<p>As hardly anything in life comes for free optimization comes with a price as well. When a volume is not being used continuously optimization can take place in periods of relative low traffic. In this case optimization works very well. When a volume is under a continuous high load choices will have to be made. Optimization will impact performance in this case for as long as the optimization takes place. After optimization the performance will most likely increase.  The trick is therefore to do optimization in such a way that the performance impact is acceptable while still allowing the optimization interval not to be to low. This part of TIER is still a work in progress and may require different policies for different workloads. The graph below clearly shows the advantages and disadvantages of the optimization process. During this 24 hour test the optimization took place once per hour. There are however a still a number of things that can be done to further reduce this negative impact an future releases will focus on diminishing this effect as well as possible.</p>
<p><img class="alignleft" title="TIER OPTIMIZATION" src="http://www.lessfs.com/wordpress/wp-content/docimages/tier_fio.png" alt="TIER OPTIMIZATION" width="640" height="480" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lessfs.com/wordpress/?feed=rss2&#038;p=804</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>TIER-0.2.0 has been released</title>
		<link>http://www.lessfs.com/wordpress/?p=793</link>
		<comments>http://www.lessfs.com/wordpress/?p=793#comments</comments>
		<pubDate>Thu, 05 Jul 2012 20:21:45 +0000</pubDate>
		<dc:creator>maru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lessfs.com/wordpress/?p=793</guid>
		<description><![CDATA[Tier-0.2.0 adds crash recovery and some bug fixes. A brief benchmark of tier, flashcache and bcache with fio shows these results: flashcache read : io=16635MB, bw=56778KB/s, iops=14194 , runt=300017msec read : io=872528KB, bw=2908.4KB/s, iops=727 , runt=300007msec write: io=8237.5MB, bw=28117KB/s, iops=7029 &#8230; <a href="http://www.lessfs.com/wordpress/?p=793">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Tier-0.2.0 adds crash recovery and some bug fixes.</p>
<p>A brief benchmark of tier, flashcache and bcache with fio shows these results:<br />
<code>flashcache<br />
read : io=16635MB, bw=56778KB/s, iops=14194 , runt=300017msec<br />
read : io=872528KB, bw=2908.4KB/s, iops=727 , runt=300007msec<br />
write: io=8237.5MB, bw=28117KB/s, iops=7029 , runt=300001msec<br />
write: io=6038.4MB, bw=20611KB/s, iops=5152 , runt=300001msec</p>
<p>bcache<br />
read : io=20480MB, bw=103370KB/s, iops=25842 , runt=202878msec<br />
read : io=936760KB, bw=3122.4KB/s, iops=780 , runt=300014msec<br />
write: io=15604MB, bw=53263KB/s, iops=13315 , runt=300001msec<br />
write: io=6453.1MB, bw=22025KB/s, iops=5506 , runt=300016msec</p>
<p>tier<br />
read : io=20480MB, bw=167819KB/s, iops=41954 , runt=124965msec<br />
read : io=528236KB, bw=1760.8KB/s, iops=440 , runt=300012msec<br />
write: io=20480MB, bw=172857KB/s, iops=43214 , runt=121323msec<br />
write: io=5091.7MB, bw=17371KB/s, iops=4342 , runt=300141msec</code></p>
<p>The SSD used in this test had a size of 10GB while the SAS drive had a size of 100GB.</p>
<pre>The fio configuration file that was used is:
<code>[global]
bs=4k
ioengine=libaio
iodepth=4
size=20g
direct=1
runtime=60
directory=/mnt/fio
filename=test.file
[seq-read]
rw=read
stonewall
[rand-read]
rw=randread
stonewall
[seq-write]
rw=write
stonewall
[rand-write]
rw=randwrite
stonewall</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lessfs.com/wordpress/?feed=rss2&#038;p=793</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>TIER-0.1.7 has been released.</title>
		<link>http://www.lessfs.com/wordpress/?p=790</link>
		<comments>http://www.lessfs.com/wordpress/?p=790#comments</comments>
		<pubDate>Wed, 27 Jun 2012 07:00:04 +0000</pubDate>
		<dc:creator>maru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lessfs.com/wordpress/?p=790</guid>
		<description><![CDATA[This version of tier comes with some major changes. The caching layer has been removed from the code. EPRD can be used in cases where caching is needed. Also the block size has been changed so that TIER now uses &#8230; <a href="http://www.lessfs.com/wordpress/?p=790">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This version of tier comes with some major changes. The caching layer has been removed from the code. EPRD can be used in cases where caching is needed. Also the block size has been changed so that TIER now uses a 1MB block size. This greatly reduces the amount of meta data that has to be stored. TIER will now automatically migrate the data between the different tiers. The policy that determines when a block should be migrated is still hard coded in this release but will be adjustable per tier in future releases. TIER will detect unclean shutdowns and unfinished migrations after unclean shutdown. However this release does not yet handle recovery.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lessfs.com/wordpress/?feed=rss2&#038;p=790</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Introducing TIER</title>
		<link>http://www.lessfs.com/wordpress/?p=776</link>
		<comments>http://www.lessfs.com/wordpress/?p=776#comments</comments>
		<pubDate>Sat, 09 Jun 2012 13:00:52 +0000</pubDate>
		<dc:creator>maru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lessfs.com/wordpress/?p=776</guid>
		<description><![CDATA[Tier is a Linux kernel module that can be used to create a block device that allows automatically tiered storage. Tier can be used to aggregate up to 16 devices as one virtual device. Tier investigates access patterns to decide &#8230; <a href="http://www.lessfs.com/wordpress/?p=776">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Tier is a Linux kernel module that can be used to create a block device that allows automatically tiered storage. Tier can be used to aggregate up to 16 devices as one virtual device. Tier investigates access patterns to decide on which device the data should be written. It keeps track of how frequently data has been accessed as well as when it was used. Tier uses this information to decide if the data needs to be written to for example SSD/SAS or SATA.</p>
<p>One advantage of tier when compared to SSD caching only is that the total capacity of the tiered device is the sum of all attached devices. Kernel modules like flashcache use the SSD as cache only and therefore the capacity of the SSD is not available as part of the total size of the device.</p>
<p>Since TIER combines the RAM caching techniques of EPRD it is very fast. Even faster then what can be achieved with SSD only.</p>
<p>To get an impression of TIER performance I tested tier in this configuration.<br />
An Intel SSD with a 160GB size is used as first tier and the second tier is made up of 6 * 300GB SAS in software RAID10.</p>
<p>The iometer test that is used comes from : http://vmktree.org/iometer/<br />
Tier was configured with these parameters:</p>
<pre>./tier_setup -f /dev/sdb:/dev/md1 -p 1000M -m 5 -b -c</pre>
<pre>                              TIER - SSD  - MD1(R10)
Max-throughput-100%read    : 32540 - 3796 - 2746
Reallife-60%rand-65%read   : 1927  - 3185 - 226
Max-Throughput-50%read     : 6890  - 1753 - 470
Random-8k-70%read          : 937   - 2870 - 401</pre>
<p>As shown in the results table above TIER outperforms the MD raid10 on all tests. The SSD is faster in most cases but not all. TIER can outperform the SSD because it was configured to use 1GB of RAM for caching and TIER uses the speed advantage that raid10 will give on sequential reads and writes.</p>
<p style="text-align: center;"><img class="aligncenter" title="tier-iometer" src="http://www.lessfs.com/wordpress/wp-content/docimages/tier-iometer.jpg" alt="tier-iometer" width="429" height="254" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lessfs.com/wordpress/?feed=rss2&#038;p=776</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>EPRD &amp; lessfs</title>
		<link>http://www.lessfs.com/wordpress/?p=753</link>
		<comments>http://www.lessfs.com/wordpress/?p=753#comments</comments>
		<pubDate>Sun, 29 Apr 2012 09:21:42 +0000</pubDate>
		<dc:creator>maru</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lessfs.com/wordpress/?p=753</guid>
		<description><![CDATA[To get an idea of the efficiency of EPRD caching I repeated the lessfs benchmark test with EPRD caching the Intel 320 SSD. The Intel 320SSD was registered as /dev/sdc. EPRD was setup like this : ./eprd_setup -f /dev/sdc -m &#8230; <a href="http://www.lessfs.com/wordpress/?p=753">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To get an idea of the efficiency of EPRD caching I repeated the <a href="http://www.lessfs.com/wordpress/?p=707#more-707">lessfs benchmark test</a> with EPRD caching the Intel 320 SSD.</p>
<p>The Intel 320SSD was registered as /dev/sdc.<br />
EPRD was setup like this : ./eprd_setup -f /dev/sdc -m 3 -b -p 2048M<br />
The databases eventually reach a size of 8.5 GB during this test.</p>
<p><img class="alignleft" title="Lessfs with and without EPRD" src="http://www.lessfs.com/wordpress/wp-content/docimages/lessfs_normal_vs_eprd.png" alt="Lessfs with and without EPRD" width="288" height="216" /></p>
<p><img class="alignright" title="Lessfs with and without EPRD 2nd write" src="http://www.lessfs.com/wordpress/wp-content/docimages/lessfs_normal_vs_eprd2nd.png" alt="Lessfs with and without EPRD 2nd write" width="288" height="216" /></p>
<p>As the graph&#8217;s show a user space application like Lessfs speeds up with EPRD even when it is used to cache a relatively fast medium like an Intel 320 SSD. I intend to test EPRD with a number of other applications as well. Candidates that come to mind are for example openldap and Mysql.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lessfs.com/wordpress/?feed=rss2&#038;p=753</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
