{"id":1693,"date":"2020-07-02T11:17:18","date_gmt":"2020-07-02T09:17:18","guid":{"rendered":"http:\/\/blog.open-e.com\/?p=1693"},"modified":"2025-06-18T12:16:48","modified_gmt":"2025-06-18T12:16:48","slug":"a-few-words-about-hardware-compression-in-a-backup-with-tape-drives","status":"publish","type":"post","link":"https:\/\/www.open-e.com\/blog\/a-few-words-about-hardware-compression-in-a-backup-with-tape-drives\/","title":{"rendered":"Hardware Compression in a Backup With Tape Drives"},"content":{"rendered":"<p>\t\t\t\t<strong>Last update: July 02, 2021<\/strong><\/p>\n<p style=\"text-align: justify;\">Most present tape drives include a function called <a href=\"https:\/\/www.ibm.com\/docs\/en\/sdk-java-technology\/8?topic=devices-enabling-hardware-compression-acceleration-aix-linux-only\">hardware compression<\/a>. This makes data compression available to the magnetic tape by a drive. In many cases, this feature may prove very useful.<\/p>\n<h3>Features of Hardware Compression<\/h3>\n<p style=\"text-align: justify;\">The hardware compression is much faster than software compression because, as opposed to software compression, it does not use a computer processor which draws from resources. Also, it is transparent to the operating system, and data is compressed &#8220;on the fly.&#8221; Usually, the compression ratio for magnetic tape drives is 2:1. This means that if we would write 2MB data to a tape, then the drive will compress the data, and you will have only 1MB\u00a0 saved of compressed data on the tape. Sounds good, yes? But not really!<\/p>\n<p style=\"text-align: justify;\">In fact, the compression ratio of 2:1 may be really equal to<strong> 1.2:1<\/strong> or <strong>1.6:1<\/strong> or <strong>another ratio<\/strong>. That depends on the type of data that you are writing onto tape. For uncompressed data types (such as txt, bmp, etc.), the real ratio may be near 2:1. Still, if you are going to write pre-compressed data (for example, multimedia data types such as mpg, jpg, mp3, etc.), this ratio will be very poor and in some compression algorithms may cause the written data to tape to be larger than the original data.<\/p>\n<h3>Two Capacities of Magnetic Tapes<\/h3>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.open-e.com\/blog\/d2d2t-a-disk-to-disk-to-tape-backup-strategy\/\">Magnetic tapes<\/a> manufacturers provide two tape capacities:<\/p>\n<ol>\n<li style=\"text-align: justify;\"><strong>Written large font<\/strong> &#8211; a compressed capacity.<\/li>\n<li style=\"text-align: justify;\"><strong>Written smaller font<\/strong> &#8211; a native data capacity.<\/li>\n<\/ol>\n<p style=\"text-align: justify;\">For example, a tape that is LTO-4 (Linear Tape-Open 4 generation) has a native capacity of 800GB. If the compression ratio is 2:1, then the compressed capacity is 1600GB (in theory). If you do<br \/>\nnot use hardware compression, then with LTO-4 tape, you can write 800GB maximum. When you use hardware compression, you can write more than 800GB. How much? It depends on your data.<\/p>\n<p style=\"text-align: justify;\">The compression ratio is also related to the speed obtained during operations on magnetic tape. This speed is greater when the compression ratio is better. For example, the tape drive has a native speed of 120MB\/s. With 2:1 compression ratio of this speed is doubled. Also, in this case, the real speed is dependent on the extent to which data will be compressed.<\/p>\n<p style=\"text-align: justify;\">Typically default hardware compression is turned on, but this is not a set rule. If a compression functionality for your drive is not enabled as &#8220;default&#8221;, you may turn on it in a few ways depending on the drive. Sometimes you can switch it on by an extra jumper on the corpus or through a program via the operating system.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last update: July 02, 2021 Most present tape drives include a function called hardware compression. This makes data compression available to the magnetic tape by a drive. In many cases,&nbsp;&#8230;<\/p>\n","protected":false},"author":4,"featured_media":55720,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,18],"tags":[86,216,299,657],"class_list":["post-1693","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-backup-storage-technology","category-hardware","tag-backup","tag-device-speed","tag-hardware-compression","tag-tape-drive"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/posts\/1693","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/comments?post=1693"}],"version-history":[{"count":1,"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/posts\/1693\/revisions"}],"predecessor-version":[{"id":55721,"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/posts\/1693\/revisions\/55721"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/media\/55720"}],"wp:attachment":[{"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/media?parent=1693"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/categories?post=1693"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/tags?post=1693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}