{"id":1762,"date":"2016-03-23T09:17:57","date_gmt":"2016-03-23T09:17:57","guid":{"rendered":"http:\/\/tekhead.it\/blog\/?p=1762"},"modified":"2016-09-25T21:20:28","modified_gmt":"2016-09-25T20:20:28","slug":"words-mean-things-apparently-deduplication-myths-explored","status":"publish","type":"post","link":"https:\/\/tekhead.it\/blog\/2016\/03\/words-mean-things-apparently-deduplication-myths-explored\/","title":{"rendered":"Words Mean Things, Apparently &#8211; Deduplication Myths Explored"},"content":{"rendered":"<p>A rose by any other name would smell as sweet?<\/p>\n<p>We might all agree that this is most definitely the case, but in the technology industry we have a problem, and it was highlighted across a number of the sessions we attended at <a href=\"http:\/\/techfieldday.com\/event\/sfd9\/\" target=\"_blank\">Storage Field Day 9<\/a> this week.<\/p>\n<p>Specifically, the use of certain terms to describe technology features, when the specific implementations are very different, and have potentially very different outcomes. This is becoming more and more of a problem across the industry as similar features are being &#8220;RFP checkboxed&#8221; as the same, when in reality they are not.<\/p>\n<div align=\"center\">\n<blockquote class=\"twitter-tweet\" data-partner=\"tweetdeck\">\n<p dir=\"ltr\" lang=\"en\">Words mean things! <a href=\"https:\/\/twitter.com\/hashtag\/SFD9?src=hash\">#SFD9<\/a><\/p>\n<p>\u2014 Justin Warren (@jpwarren) <a href=\"https:\/\/twitter.com\/jpwarren\/status\/710488112745426944\">March 17, 2016<\/a><\/p><\/blockquote>\n<p><script src=\"\/\/platform.twitter.com\/widgets.js\" async=\"\" charset=\"utf-8\"><\/script><\/p>\n<\/div>\n<p>For example most of the vendors we saw support deduplication in one form or another, and in many cases there was a significant use of the word &#8220;inline&#8221;.<\/p>\n<p><i>What do we mean by &#8220;inline deduplication&#8221;, and what impact to performance can this have?<\/i><\/p>\n<p>One of the other delegates at SFD9, <a href=\"https:\/\/twitter.com\/wcpreston\" target=\"_blank\">W Curtis Preston<\/a>, had very strong opinions on this, which I am generally inclined to agree with!<\/p>\n<p><em>UPDATE 08\/04\/2016:<\/em> Curtis has recently published an article detailing his thoughts <a href=\"http:\/\/storageswiss.com\/2016\/04\/06\/not-all-inline-dedupe-is-actually-inline\/#comments\" target=\"_blank\">here<\/a>.<\/p>\n<p>If a write hits the system and is deduplicated prior to being written to its final non-volatile media, be it flash or disk, then it can generally be considered as inline.<\/p>\n<div id=\"attachment_1765\" style=\"width: 559px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/Dedupe-Inline.png\" rel=\"attachment wp-att-1765\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1765\" class=\"wp-image-1765\" src=\"http:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/Dedupe-Inline.png\" alt=\"Dedupe-Inline\" width=\"549\" height=\"133\" srcset=\"https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/Dedupe-Inline.png 805w, https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/Dedupe-Inline-150x36.png 150w, https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/Dedupe-Inline-300x73.png 300w\" sizes=\"auto, (max-width: 549px) 100vw, 549px\" \/><\/a><p id=\"caption-attachment-1765\" class=\"wp-caption-text\">Inline Deduplication<\/p><\/div>\n<p>If deduplication is running in hardware (for example as <a href=\"http:\/\/blog.nigelpoulton.com\/3par-dedupe-lets-take-a-look\/\" target=\"_blank\">3PAR do in their Gen4+ ASIC<\/a>), the deduplication process has minimal overhead on the system, and by not needing to send all writes to the back end storage it can actually improve performance overall, even under sustained high throughput where it can actually improve it by reducing back end writes.<\/p>\n<p>Most non-inline deduplication would typically be referred to as &#8220;post-process&#8221;, and as a general rule are either run on a schedule\u00a0or as a lower priority 24\/7 system maintenance task. It can also run immediately after the write has gone to disk. This is still post-process, not inline.<\/p>\n<p>It&#8217;s worth noting that any of these post-process methods can potentially have an impact on back-end capacity management, as dumping large quantities of data onto a system can temporarily spike capacity utilisation until the dedupe process has time to work its magic and increase storage efficiency. Not ideal if your storage capacity is approaching critical.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1768\" src=\"http:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/depu-300x300.jpg\" alt=\"depu\" width=\"250\" height=\"250\" srcset=\"https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/depu-300x300.jpg 300w, https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/depu-150x150.jpg 150w, https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/depu.jpg 500w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>In addition, the block has been written to an NVRAM device which should protect it from power loss etc, but the problem we have is that cache is an expensive and finite resource. As such, by throwing a sustained number of IOs at the system, you end up potentially filling up that cache\/NVRAM faster than\u00a0the IOs can be flushed and deduplicated, which is exacerbated by the fact that post-process dedupe generates yet more IOPS on the back end storage (by as much as 2-3x compared to the original write!). The cumulative effect causes IO to back up in the system like a dodgy toilet, thereby increasing latency and reducing your maximum capable IOPS from the system.<\/p>\n<p>Worse still, in some vendor implementations, when system performance is maxed out deduplication in the IO path is dropped altogether, and inbound data is dumped out to disk as fast as possible. Then is then post-processed later, but this could obviously leave you in a bit of a hole again if you are at high capacity utilisation.<\/p>\n<div id=\"attachment_1766\" style=\"width: 559px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/Dedupe-post.png\" target=\"_blank\" rel=\"attachment wp-att-1766\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1766\" class=\"wp-image-1766\" src=\"http:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/Dedupe-post.png\" alt=\"Dedupe-post\" width=\"549\" height=\"129\" srcset=\"https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/Dedupe-post.png 805w, https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/Dedupe-post-150x35.png 150w, https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/Dedupe-post-300x70.png 300w\" sizes=\"auto, (max-width: 549px) 100vw, 549px\" \/><\/a><p id=\"caption-attachment-1766\" class=\"wp-caption-text\">Post-Process Deduplication<\/p><\/div>\n<p>None of this is likely to kick in for the vast majority of customers as they will probably have workloads generating tens of thousands of IOPS, or maybe low hundreds of thousands on aggregate. As such, for most modern systems and mixed workloads, this is unlikely to be a huge problem. However, when you have a use case which is pushing your array or <a href=\"http:\/\/www.webopedia.com\/TERM\/H\/hyper-converged-infrastructure.html\" target=\"_blank\">HCI<\/a> solution to its maximum capability, this can potentially have a significant impact on performance as described above.<\/p>\n<p>[HCI &#8211; yet another <a href=\"https:\/\/en.wikipedia.org\/wiki\/Human%E2%80%93computer_interaction\" target=\"_blank\">misappropriated<\/a> computing acronym, but I&#8217;ll let that one slide for now and move on!]<\/p>\n<h5>VMware VSAN Deduplication<\/h5>\n<p>In the case of one of one of the vendors we saw, <a href=\"http:\/\/www.vmware.com\/uk\/products\/virtual-san\" target=\"_blank\">VMware<\/a>, they joked that because of the fact that they initially write to the caching flash tier prior to deduplication, they spent more time arguing over whether it was valid to call this inline\u00a0than it took them to actually develop the feature! In their case, they have been open enough not to call it &#8220;inline&#8221; but instead &#8220;nearline&#8221;.<\/p>\n<p>In part this is because they are always written to a flash device prior to dedupe, but also because not all of the writes to their caching tier actually get sent to the capacity tier. In fact some may live out their entire existence in an non-deduplicated state in flash cache.<\/p>\n<p><a href=\"http:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/dedupe.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1761\" src=\"http:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/dedupe.png\" alt=\"dedupe.png\" width=\"550\" height=\"309\" srcset=\"https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/dedupe.png 954w, https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/dedupe-150x84.png 150w, https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/03\/dedupe-300x169.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/p>\n<p>I applaud VMware for their attempt to avoid jumping on the inline bandwagon, though it would have perhaps been better to use a term which doesn&#8217;t already mean something <a href=\"http:\/\/www.snia.org\/sites\/default\/education\/tutorials\/2008\/spring\/storage\/Whittington-W_Desktop_Nearline_Enterprise_HDDS.pdf\" target=\"_blank\">completely different<\/a> in the context of storage! \ud83d\ude42<\/p>\n<p>You can catch the full VMware session at the link below &#8211; it&#8217;s well worth a watch!<br \/>\n<a href=\"http:\/\/techfieldday.com\/appearance\/vmware-storage-presents-at-storage-field-day-9\/\" target=\"_blank\">VMware Storage Presents at Storage Field Day 9<\/a><\/p>\n<h5><b>Further Reading<\/b><\/h5>\n<p>Some of the other SFD9 delegates and VMware staffers had their own takes on the presentation we saw. Check them out here:<\/p>\n<ul>\n<li><a href=\"https:\/\/twitter.com\/esignoretti\" target=\"_blank\">Enrico Signoretti<\/a> &#8211; <a href=\"http:\/\/www.juku.it\/en\/vmware-vsan-when-good-enough-becomes-very-good\/\" target=\"_blank\">VMware VSAN, When good enough becomes very good<\/a><\/li>\n<li><a href=\"https:\/\/twitter.com\/3ParDude\" target=\"_blank\">Richard Arnold<\/a> &#8211;\u00a0<a href=\"http:\/\/3pardude.com\/2016\/03\/07\/sfd9-preview-will-vsan-be-the-san\/\" target=\"_blank\">Will VSAN be THE SAN?<\/a><\/li>\n<li><a href=\"https:\/\/twitter.com\/DuncanYB\" target=\"_blank\">Duncan Epping<\/a> &#8211;\u00a0<a href=\"http:\/\/www.yellow-bricks.com\/2016\/03\/20\/want-hear-vsan-6-2-watch-sfd9-recordings\/\" target=\"_blank\">Want to hear all about VSAN 6.2? Watch the #SFD9 recordings!<\/a><\/li>\n<li><a href=\"https:\/\/twitter.com\/wcpreston\" target=\"_blank\">W Curtis Preston<\/a> &#8211; <a href=\"http:\/\/storageswiss.com\/2016\/04\/06\/not-all-inline-dedupe-is-actually-inline\/\" target=\"_blank\">Not all \u201cInline\u201d Dedupe is actually Inline \u2013 and it matters<\/a><\/li>\n<\/ul>\n<p><i>Disclaimer\/Disclosure: My flights, accommodation, meals, etc, at Storage Field Day 9 were provided by Tech Field Day, but there was no expectation or request for me to write about any of the vendors products or services and I was not compensated in any way for my time at the event.<\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A rose by any other name would smell as sweet? We might all agree that this is most definitely the case, but in the technology industry we have [..]<\/p>\n","protected":false},"author":1,"featured_media":889,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"Deduplication","_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"What do we mean by \"inline deduplication\", and what impact to performance can this have? Find out how deduplication works in VMware VSAN here!","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"New Blog Post: Words Mean Things, Apparently - #Deduplication Myths Explored #SFD9 #VMware #VSAN","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":[449,554,41],"tags":[770,769,771,772,695,189,552,550,540,229],"class_list":["post-1762","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-storage","category-tech-field-day","category-vmware","tag-dedupe","tag-deduplication","tag-inline","tag-post-process","tag-sfd9","tag-storage","tag-storage-field-day","tag-tech-field-day","tag-vmware","tag-vsan"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2013\/04\/Storage150.jpg","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2l3lU-sq","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/posts\/1762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/comments?post=1762"}],"version-history":[{"count":2,"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/posts\/1762\/revisions"}],"predecessor-version":[{"id":1778,"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/posts\/1762\/revisions\/1778"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/media\/889"}],"wp:attachment":[{"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/media?parent=1762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/categories?post=1762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/tags?post=1762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}