<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://kerneltrap.org"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>KernelTrap - reiserfs</title>
 <link>http://kerneltrap.org/taxonomy/term/389/0</link>
 <description></description>
 <language>en-local</language>
<item>
 <title>HAMMER B-Tree Recovery</title>
 <link>http://kerneltrap.org/DragonFlyBSD/HAMMER_B-Tree_Recovery</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/dragonflybsd&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-FlyBSD_1.gif&quot; alt=&quot;DragonFlyBSD&quot; title=&quot;DragonFlyBSD&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&quot;&lt;i&gt;Speaking of on-disk B-Trees, ReiserFS&#039; biggest problems are all based on its use of flexible B-Trees,&lt;/i&gt;&quot; suggested a reader on the DragonFlyBSD Kernel mailing list, pointing to the difficulty of detecting a failed node and then of rebuilding the B-Tree.  HAMMER filesystem designer and author, Matt Dillon, explained, &quot;&lt;i&gt;if a cluster needs to be recovered, HAMMER will simply throw away the B-Tree and regenerate it from scratch using the cluster&#039;s record list.  This way all B-Tree I/O operations can be asynchronous and do not have to be flushed on fsync.  At the same time HAMMER will remove any records whose creation transaction id&#039;s are too large (i.e. not synchronized with the cluster header), and will zero out the delete transaction id for any records whos deletion transaction id&#039;s are too large.&lt;/i&gt;&quot;  Matt then acknowledged:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;The real performance issue for HAMMER is going to be B-Tree insertions and rebalancing across clusters.  I think most of the issues can be resolved with appropriate heuristics and by a background process to slowly rebalance clusters.  This will require a lot of work, though, and only minimal rebalancing will be in [the end-of-the-year] release.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/DragonFlyBSD/HAMMER_B-Tree_Recovery&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/DragonFlyBSD/HAMMER_B-Tree_Recovery#comments</comments>
 <category domain="http://kerneltrap.org/taxonomy/term/1131">b-tree</category>
 <category domain="http://kerneltrap.org/DragonFlyBSD">DragonFlyBSD</category>
 <category domain="http://kerneltrap.org/filesystem">filesystem</category>
 <category domain="http://kerneltrap.org/HAMMER">HAMMER</category>
 <category domain="http://kerneltrap.org/Matthew_Dillon">Matthew Dillon</category>
 <category domain="http://kerneltrap.org/reiserfs">reiserfs</category>
 <category domain="http://kerneltrap.org/news/dragonflybsd">DragonFlyBSD</category>
 <pubDate>Wed, 07 Nov 2007 12:46:26 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">14753 at http://kerneltrap.org</guid>
</item>
<item>
 <title>HAMMER Performance</title>
 <link>http://kerneltrap.org/DragonFlyBSD/HAMMER_Performance</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/dragonflybsd&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-FlyBSD_1.gif&quot; alt=&quot;DragonFlyBSD&quot; title=&quot;DragonFlyBSD&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&quot;&lt;i&gt;I&#039;ve never looked at the Reiser code though the comments I get from friends who use it are on the order of &#039;extremely reliable but not the fastest filesystem in the world&#039;,&lt;/i&gt;&quot; &lt;a href=&quot;http://kerneltrap.org/mailarchive/dragonflybsd-kernel/2007/10/13/337206&quot;&gt;Matt Dillon explained&lt;/a&gt; when asked to compare his new clustering HAMMER filesystem with ReiserFS, both of which utilize BTrees to organize objects and records.  He continued, &quot;&lt;i&gt;I don&#039;t expect HAMMER to be slow.  A B-Tree typically uses a fairly small radix in the 8-64 range (HAMMER uses 8 for now).  A standard indirect block methodology typically uses a much larger radix, such as 512, but is only able to organize information in a very restricted, linear way.&lt;/i&gt;&quot;  He continued to describe numerous plans he has for optimizing performance, &quot;&lt;i&gt;my expectation is that this will lead to a fairly fast filesystem.  We will know in about a month :-)&lt;/i&gt;&quot;  &lt;/p&gt;
&lt;p&gt;Among the optimizations planned, Matt explained, &quot;&lt;i&gt;the main thing you want to do is to issue large I/Os which cover multiple B-Tree nodes and then arrange the physical layout of the B-Tree such that a linear I/O will cover the most likely path(s), thus reducing the actual number of physical I/O&#039;s needed.&lt;/i&gt;&quot;  He noted, &quot;&lt;i&gt;HAMMER will also be able to issue 100% asynchronous I/Os for all B-Tree operations, because it doesn&#039;t need an intact B-Tree for recovery of the filesystem.&lt;/i&gt;&quot;  He went on to describe another potential optimization allowed by the filesystem&#039;s design, &quot;&lt;i&gt;HAMMER is designed to allow clusters-by-cluster reoptimization of the storage layout.  Anything that isn&#039;t optimally layed-out at the time it was created can be re-layed-out at some later time, e.g. with a continuously running background process or a nightly cron job or  something of that ilk.  This will allow HAMMER to choose to use an expedient layout instead of an optimal one in its critical path and then &#039;fix&#039; the layout later on to make re-accesses optimal.&lt;/i&gt;&quot;&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/DragonFlyBSD/HAMMER_Performance&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/DragonFlyBSD/HAMMER_Performance#comments</comments>
 <category domain="http://kerneltrap.org/DragonFlyBSD">DragonFlyBSD</category>
 <category domain="http://kerneltrap.org/filesystem">filesystem</category>
 <category domain="http://kerneltrap.org/HAMMER">HAMMER</category>
 <category domain="http://kerneltrap.org/Matthew_Dillon">Matthew Dillon</category>
 <category domain="http://kerneltrap.org/performance">performance</category>
 <category domain="http://kerneltrap.org/reiserfs">reiserfs</category>
 <category domain="http://kerneltrap.org/news/dragonflybsd">DragonFlyBSD</category>
 <pubDate>Sun, 14 Oct 2007 10:07:50 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">14576 at http://kerneltrap.org</guid>
</item>
<item>
 <title>Linux: Reiser4&#039;s Future</title>
 <link>http://kerneltrap.org/node/8102</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;The future of Reiser4 was raised on the &lt;a href=&quot;http://www.tux.org/lkml/&quot;&gt;lkml&lt;/a&gt;, with the filesystem&#039;s creator, Hans Reiser [&lt;a href=&quot;http://kerneltrap.org/node/5654&quot;&gt;interview&lt;/a&gt;], awaiting his &lt;a href=&quot;http://en.wikipedia.org/wiki/Hans_Reiser#Nina_Reiser.27s_disappearance&quot;&gt;May 7&#039;th trial&lt;/a&gt; [&lt;a href=&quot;http://kerneltrap.org/node/7211&quot;&gt;story&lt;/a&gt;].  Concerns that the filesystem wasn&#039;t being maintained were laid to rest when Andrew Morton [&lt;a href=&quot;http://kerneltrap.org/node/view/10&quot;&gt;interview&lt;/a&gt;] stated, &quot;&lt;i&gt;the namesys engineers continue to maintain reiser4 and I continue to receive patches for it.&lt;/i&gt;&quot;  He further added, &quot;&lt;i&gt;the namesys guys are responsive and play well with other