{"id":452,"date":"1997-09-09T01:36:29","date_gmt":"1997-09-09T09:36:29","guid":{"rendered":"http:\/\/www.birdhouse.org\/betips\/?p=452"},"modified":"1997-09-09T01:36:29","modified_gmt":"1997-09-09T09:36:29","slug":"disable-filesystem-indices","status":"publish","type":"post","link":"https:\/\/www.betips.net\/?p=452","title":{"rendered":"Disable filesystem indices"},"content":{"rendered":"<p><b>This tip is for advanced users only. Proceed at your own risk.<\/b><br \/>\nAs you know, BeOS offers lightning-fast filesystem queries on arbitrary data sets by indexing attributes attached to your files. This is a huge convenience win for users, but can slow down some operations when dealing with zillions of small files, especially if those files have lots of attributes.<br \/>\nIf you want to create an ultra-fast filesystem and <i>are prepared to never be able to execute queries on a particular volume<\/i>, you can create a volume without indices by using the mkbfs command with the <code>-noindex<\/code> flag. Remember that using this command will destroy all data on the volume in question.<br \/>\nDetermine the device name where you want the filesystem to live (the df command is the easiest way to map volume names to device names), then type something like:<\/p>\n<pre>mkbfs -noindex 1024 \/dev\/disk\/ide\/ata\/0\/slave\/0\/0_0 speedy<\/pre>\n<p>This would create an index-free BFS volume with a block size of 1024 called speedy. If you later want to add indices to the volume, you&#8217;ll have to create it over from scratch. Some developers have noted great speed increases in compile time with very large projects.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tip is for advanced users only. Proceed at your own risk. As you know, BeOS offers lightning-fast filesystem queries on arbitrary data sets by indexing attributes attached to your files. This is a huge convenience win for users, but can slow down some operations when dealing with zillions of small files, especially if those [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[8],"class_list":["post-452","post","type-post","status-publish","format-standard","hentry","tag-misc"],"_links":{"self":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=452"}],"version-history":[{"count":0,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/452\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}