<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Russ,<div><br></div><div>Excellent! What about migration methods from tradspool to timehash? Has anyone written something like that?</div><div><br></div><div>--</div><div>maarten</div><div><br></div><div><br><div><div>On Nov 14, 2008, at 1:28 AM, Russ Allbery wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Maarten Thibaut <<a href="mailto:mthibaut@cisco.com">mthibaut@cisco.com</a>> writes:<br><br><blockquote type="cite">We have up to a million articles in some news groups. As they're all<br></blockquote><blockquote type="cite">stored in a single directory, our file system is grounding to a halt.<br></blockquote><blockquote type="cite">We would like to use some kind of mechanism whereby the different files<br></blockquote><blockquote type="cite">are stored in a tree structure, maybe like this:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">First level: 256 dirs named dir.00 to dir.ff. Second level: each dir  has<br></blockquote><blockquote type="cite">256 dirs each named dir.00 to dir.ff. Each of those contains the  actual<br></blockquote><blockquote type="cite">news articles. You then use a hash function to generate the  name of the<br></blockquote><blockquote type="cite">file.<br></blockquote><br>Yup, it's called timehash.  :)  See storage.conf(5).<br><br>-- <br>Russ Allbery (<a href="mailto:rra@stanford.edu">rra@stanford.edu</a>)             <<a href="http://www.eyrie.org/~eagle/">http://www.eyrie.org/~eagle/</a>><br><br>    Please send questions to the list rather than mailing me directly.<br>     <<a href="http://www.eyrie.org/~eagle/faqs/questions.html">http://www.eyrie.org/~eagle/faqs/questions.html</a>> explains why.<br></div></blockquote></div><br></div></body></html>