{"id":15866,"date":"2014-01-03T16:39:13","date_gmt":"2014-01-03T16:39:13","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=15866"},"modified":"2014-01-03T16:39:13","modified_gmt":"2014-01-03T16:39:13","slug":"how-much-ram-cpu-does-window-server-deduplication-optimization-require","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=15866","title":{"rendered":"How Much RAM &#038; CPU Does Window Server Deduplication Optimization Require?"},"content":{"rendered":"<p>I\u2019ve been asked about resource requirements for the dedupe optimization job before but I did not have the <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/hardware\/dn567660.aspx\" target=\"_blank\">answer<\/a> before now.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Processor<\/span><\/strong><\/p>\n<p>The CPU side is \u2026 not clear.\u00a0 The dedupe subsystem will schedule one single-threaded job per volume. That means a machine with 8 logical processors is only 1\/8th utilized if there is a single data volume. Microsoft says:<\/p>\n<blockquote><p>To achieve optimal throughput, consider configuring multiple deduplication volumes, up to the number of CPU cores on the file server.<\/p><\/blockquote>\n<p>That seems pretty dumb to me. \u201cGo ahead and complicate volume management to optimize the dedupe processing\u201d. Uhhhhh, no thanks.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Memory<\/span><\/strong><\/p>\n<p>Microsoft tells us that 1-2 GB RAM is used per 1 TB of data per volume.\u00a0 They clarify this with an example:<\/p>\n<table border=\"1\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td><b>Volume <\/b><\/td>\n<td><b>Volume size <\/b><\/td>\n<td><b>Memory used <\/b><\/td>\n<\/tr>\n<tr>\n<td>Volume 1<\/td>\n<td>1 TB<\/td>\n<td>1-2 GB<\/td>\n<\/tr>\n<tr>\n<td>Volume 2<\/td>\n<td>1 TB<\/td>\n<td>1-2 GB<\/td>\n<\/tr>\n<tr>\n<td>Volume 3<\/td>\n<td>2 TB<\/td>\n<td>2-4 GB<\/td>\n<\/tr>\n<tr>\n<td>Total for all volumes<\/td>\n<td>1+1+2 * 1GB up to 2GB<\/td>\n<td>4 \u2013 8 GB RAM<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>By default a server will limit the RAM used by the optimization job to 50% of total RAM in the server.\u00a0 So if the above server had just 4 GB RAM, then only 2 GB would be available for the optimization job.\u00a0 You can manually override this:<\/p>\n<p>Start-Dedupjob &lt;volume&gt; -Type Optmization\u00a0 -Memory &lt;50 to 80&gt;<\/p>\n<p>There is an additional note from Microsoft:<\/p>\n<blockquote><p>Machines where very large amount of data change between optimization job is expected may require even up to 3 GB of RAM per 1 TB of diskspace.<\/p><\/blockquote>\n<p>So you might see RAM become a bottleneck or increase pressure (in a VM with Dynamic Memory) if the optimization job hasn&#8217;t run in a while or if lots of data is dumped into a deduped volume.\u00a0 Example: you have deployed lots of new personal (dedicated) VMs for new users on a deduped volume.<\/p>\n<div class=\"wlWriterEditableSmartContent\" id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:0be6135c-a82c-4b2a-b6ec-de2015609be3\" style=\"float: none; margin: 0px; display: inline; padding: 0px;\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/Windows+Server+2012\" rel=\"tag\">Windows Server 2012<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Windows+Server+2012+R2\" rel=\"tag\">Windows Server 2012 R2<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Storage\" rel=\"tag\">Storage<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Hyper-V\" rel=\"tag\">Hyper-V<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Virtualisation\" rel=\"tag\">Virtualisation<\/a>,<a href=\"http:\/\/technorati.com\/tags\/VDI\" rel=\"tag\">VDI<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Remote+Desktop+Services\" rel=\"tag\">Remote Desktop Services<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I\u2019ve been asked about resource requirements for the dedupe optimization job before but I did not have the answer before now. Processor The CPU side is \u2026 not clear.\u00a0 The dedupe subsystem will schedule one single-threaded job per volume. That means a machine with 8 logical processors is only 1\/8th utilized if there is a &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=15866\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How Much RAM &#038; CPU Does Window Server Deduplication Optimization Require?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[52],"tags":[181,188,99,102,195,118,120],"class_list":["post-15866","post","type-post","status-publish","format-standard","hentry","category-windows-server","tag-hyper-v","tag-remote-desktop-services","tag-storage","tag-vdi","tag-virtualisation","tag-windows-server-2012","tag-windows-server-2012-r2"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/15866","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15866"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/15866\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15866"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15866"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}