{"id":229,"date":"2004-04-10T22:29:08","date_gmt":"2004-04-11T03:29:08","guid":{"rendered":"http:\/\/www.flamingspork.com\/blog\/?p=229"},"modified":"2004-04-10T22:29:08","modified_gmt":"2004-04-11T03:29:08","slug":"onode-unique-id-versus-packing-id","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2004\/04\/10\/onode-unique-id-versus-packing-id\/","title":{"rendered":"onode unique id versus packing id"},"content":{"rendered":"<p>along the lines of how reiser chooses to pack things on disk (heuristic that makes numbers of where and how to pack things).<\/p>\n<p>onodes get a unique id.<br \/>\n &#8211; to be used in indexing (onode_index primarily, but also higher level indicies)<\/p>\n<p>onodes get a packing id<br \/>\n &#8211; onodes with similar packing ids get put on disk together (theoretically). Numbers can overlap. i.e. non-unique. if two onodes share the same packing id, we REALLY want them to be packed together.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>along the lines of how reiser chooses to pack things on disk (heuristic that makes numbers of where and how to pack things). onodes get a unique id. &#8211; to be used in indexing (onode_index primarily, but also higher level &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2004\/04\/10\/onode-unique-id-versus-packing-id\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[12],"tags":[],"class_list":["post-229","post","type-post","status-publish","format-standard","hentry","category-fcfs"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-3H","jetpack-related-posts":[{"id":228,"url":"https:\/\/www.flamingspork.com\/blog\/2004\/04\/10\/tightly-packing-onodes\/","url_meta":{"origin":229,"position":0},"title":"Tightly packing onodes","author":"Stewart Smith","date":"2004-04-10","format":false,"excerpt":"The current problem is that an onode, however much we can pack forks into a block, still takes up a minimum of one disk block. A disk block typically being 4kb, and a tendancy to want to be bigger (think large media files), and also being the unit of atomicity\u2026","rel":"","context":"In &quot;fcfs&quot;","block_context":{"text":"fcfs","link":"https:\/\/www.flamingspork.com\/blog\/category\/fcfs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":928,"url":"https:\/\/www.flamingspork.com\/blog\/2007\/11\/14\/twitter-updates-for-2007-11-14\/","url_meta":{"origin":229,"position":1},"title":"Twitter Updates for 2007-11-14","author":"Stewart Smith","date":"2007-11-14","format":false,"excerpt":"packing # \"what the fuck is twitter?\" # i have followers # i haven't jumped off a cliff, so they don't have to # turns out I can actually now remember all my credit card details. # so many distractions from actually packing... :( # people in tech companies not\u2026","rel":"","context":"In &quot;Twitter&quot;","block_context":{"text":"Twitter","link":"https:\/\/www.flamingspork.com\/blog\/category\/from-twitter\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":929,"url":"https:\/\/www.flamingspork.com\/blog\/2007\/11\/14\/twitter-updates-for-2007-11-14-2\/","url_meta":{"origin":229,"position":2},"title":"Twitter Updates for 2007-11-14","author":"","date":"2007-11-14","format":false,"excerpt":"packing # \"what the fuck is twitter?\" # i have followers # i haven't jumped off a cliff, so they don't have to # turns out I can actually now remember all my credit card details. # so many distractions from actually packing... :( # people in tech companies not\u2026","rel":"","context":"In &quot;Twitter&quot;","block_context":{"text":"Twitter","link":"https:\/\/www.flamingspork.com\/blog\/category\/from-twitter\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3413,"url":"https:\/\/www.flamingspork.com\/blog\/2013\/09\/24\/disk-usage-bzr-vs-git\/","url_meta":{"origin":229,"position":3},"title":"Disk usage: bzr vs git","author":"Stewart Smith","date":"2013-09-24","format":false,"excerpt":"For MySQL 5.1, 5.5 and 5.6 in the same repository, after repacking: bzr: 269MB (217MB pack, 52MB indicies) git: 177MB repo (152MB pack) One thing I'll say is that BZR is always more chatty over the network and is substantially slower than GIT in pulling a fresh copy.","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":499,"url":"https:\/\/www.flamingspork.com\/blog\/2005\/10\/27\/__packed-2\/","url_meta":{"origin":229,"position":4},"title":"__packed","author":"Stewart Smith","date":"2005-10-27","format":false,"excerpt":"Blog | rml struct __packed s { ... }This attribute tells GCC that a type or variable should be packed into memory, using the minimum amount of space possible, potentially disregarding alignment requirements. If specified on a struct or union, all variables therein are so packed. If specified on just\u2026","rel":"","context":"In &quot;mysql&quot;","block_context":{"text":"mysql","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1716,"url":"https:\/\/www.flamingspork.com\/blog\/2009\/10\/01\/table_raw_reader-reading-the-table-proto-from-disk-and-examining-everything\/","url_meta":{"origin":229,"position":5},"title":"table_raw_reader &#8211; reading the table proto from disk and examining everything","author":"Stewart Smith","date":"2009-10-01","format":false,"excerpt":"Ever wondered exactly *what* was in a Drizzle Table proto? Well, wonder no more. A while back this little utility called table_raw_reader hit the drizzle codebase. It's a simple command line utility that takes a .proto file as an argument, reads it off disk and then prints out a text\u2026","rel":"","context":"In &quot;drizzle&quot;","block_context":{"text":"drizzle","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/drizzle-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=229"}],"version-history":[{"count":1,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/229\/revisions"}],"predecessor-version":[{"id":2776,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/229\/revisions\/2776"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}