{"id":4774,"date":"2013-04-22T16:58:43","date_gmt":"2013-04-22T06:58:43","guid":{"rendered":"http:\/\/nsrd.info\/blog\/?p=4774"},"modified":"2018-12-11T14:12:46","modified_gmt":"2018-12-11T04:12:46","slug":"basics-tape-capacity-and-compression","status":"publish","type":"post","link":"https:\/\/nsrd.info\/blog\/2013\/04\/22\/basics-tape-capacity-and-compression\/","title":{"rendered":"Basics &#8211; Tape capacity and compression"},"content":{"rendered":"<p>Tape capacity.<\/p>\n<p>It should be straight forward, but many people tend to look at only the biggest, most optimistic numbers, and assume the best. In backup, this is a mistake, and one which I&#8217;ve seen consistently made the entire time I&#8217;ve been working in the industry.<\/p>\n<p>These days, when it comes to tape, LTO is the king of the hill, so consider the following table outlining native (i.e., uncompressed) format capacities:<\/p>\n<figure id=\"attachment_4775\" aria-describedby=\"caption-attachment-4775\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2013\/04\/LTO-capacity-table-uncompressed.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4775\" alt=\"LTO Capacity, Uncompressed\" src=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2013\/04\/LTO-capacity-table-uncompressed.png\" width=\"600\" height=\"191\" srcset=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2013\/04\/LTO-capacity-table-uncompressed.png 600w, https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2013\/04\/LTO-capacity-table-uncompressed-300x95.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-4775\" class=\"wp-caption-text\">LTO Capacity, Uncompressed<\/figcaption><\/figure>\n<p>This gives a <em>baseline<\/em> figure of tape capacity. But, LTO is capable of in-drive compression, which means vendors don&#8217;t&nbsp;<em>quote<\/em> uncompressed capacity, they quote&nbsp;<em>compressed<\/em><em> <\/em>capacity (and for that matter, speed).<\/p>\n<p>So the tables we see look more like the following:<\/p>\n<figure id=\"attachment_4776\" aria-describedby=\"caption-attachment-4776\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2013\/04\/LTO-capacity-table-compressed.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4776\" alt=\"LTO capacity table, compressed\" src=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2013\/04\/LTO-capacity-table-compressed.png\" width=\"600\" height=\"225\" srcset=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2013\/04\/LTO-capacity-table-compressed.png 600w, https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2013\/04\/LTO-capacity-table-compressed-300x112.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-4776\" class=\"wp-caption-text\">LTO Capacity, compressed<\/figcaption><\/figure>\n<p>See the much bigger capacity sizes? See the tiny footnote? That&#8217;s called <i>blind optimism<\/i>. In actual fact, it&#8217;s actually getting worse, not better, since LTO-6 saw a change in the compression algorithm used. That means vendors are now quoting a compressed capacity of 2.5:1 \u2013 so that LTO-6 there should in fact read 6,250 GB, not 5000 GB.<\/p>\n<p>Unfortunately, a lot of people don&#8217;t look at the footnotes \u2013 or if they do, they plan, with wild optimism, to hit that 2:1 compression ratio every time. And when they don&#8217;t it&#8217;s met with consternation and surprise.<\/p>\n<p>The truth is, compression ratios are a bit of a joke on tape, since they&#8217;re based&nbsp;<em>entirely<\/em> on what sort of data you&#8217;re backing up. I have, on multiple occasions, seen 1TB written to LTO-1 and LTO-2 tapes. Not once \u2013 not&nbsp;<em>once<\/em> have I worked under impression that I should get that compression ratio all the time. In case you&#8217;re wondering, these came from very large databases (at the time) that had been preallocated \u2013 so we were literally backing up very large, very empty, and thus very compressible files.<\/p>\n<p>Whenever I&#8217;m sizing for a customer, I use one compression ratio, and one compression ratio only, regardless of the tape being used, and that&#8217;s 1.3:1. Sometimes it&#8217;s pessimistic, and sometimes it&#8217;s optimistic, but on the whole, it&#8217;s usually fairly accurate. So on an LTO-5 tape, I&#8217;m assuming that in all likelihood, we should see a compressed used capacity of around 1,950GB. Anything after that? Cream on top. Anything below that? Heavy data.<\/p>\n<p>Don&#8217;t let yourself be fooled by tape compression ratios: they&#8217;re there for marketing purposes, not to be reflective of reality.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tape capacity. It should be straight forward, but many people tend to look at only the biggest, most optimistic numbers,&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6],"tags":[242,980],"class_list":["post-4774","post","type-post","status-publish","format-standard","hentry","category-basics","tag-compression","tag-tape"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKpIN-1f0","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/4774","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/comments?post=4774"}],"version-history":[{"count":10,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/4774\/revisions"}],"predecessor-version":[{"id":7465,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/4774\/revisions\/7465"}],"wp:attachment":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media?parent=4774"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/categories?post=4774"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/tags?post=4774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}