Windows 11 Insider 22449 update for SMB compression

Published Sep 14 2021 04:04 PM 1,720 Views
Microsoft

Heya folks, Ned here again. We released a change to SMB compression for Windows 11 Insider Preview build 22449 & later

 

TL/DR

We stopped being so algorithmically cute: when you request compression, we now just try to do it because you said so. :) 

 

Full explanation

We first introduced SMB compression in Windows Server 2022 & Windows 11. SMB compression allows an administrator, user, or application to request compression of files as they transfer over the network. This removes the need to first deflate a file manually with an application, copy it, then inflate on the destination PC. Compressed files will consume less network bandwidth and take less time to transfer, at the cost of slightly increased CPU usage during transfers.

 

Based on testing and analysis, we have changed the default behavior of compression. Previously, the SMB compression decision algorithm would attempt to compress the first 524,288,000 bytes (500MiB) of a file during transfer and track that at least 104,857,600 bytes (100MiB) compressed within that 500-MB range. If fewer than 100 MiB were compressible, SMB compression stopped trying to compress the rest of the file. If at least 100 MiB compressed, SMB compression attempted to compress the rest of the file. This meant that very large files with compressible data – for instance, a multi-gigabyte virtual machine disk – were likely to compress but a relatively small file – even a very compressible one – would not compress.

 

Starting in Build 22449, we will no longer use this decision algorithm by default. Instead, if compression is requested, we will always attempt to compress. If you wish to modify this new behavior to return to a decision algorithm, please see this article: Understanding and controlling compression behaviors.

 

Please use the Feedback Hub to give feedback or report issues with SMB compression, using the Files, Folders, and Online Storage > File Sharing category.

 

Until next time,

 

Ned "smooooosh" Pyle

%3CLINGO-SUB%20id%3D%22lingo-sub-2750995%22%20slang%3D%22en-US%22%3EWindows%2011%20Insider%2022449%20update%20for%20SMB%20compression%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2750995%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EHeya%20folks%2C%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2F%40nerdpyle%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3ENed%3C%2FA%3E%3CSPAN%3E%26nbsp%3Bhere%20again.%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22css-901oao%20css-16my406%20r-poiln3%20r-bcqeeo%20r-qvutc0%22%20style%3D%22font-family%3A%20inherit%3B%22%3EWe%20released%20a%20change%20to%20SMB%20compression%20for%20%3CA%20href%3D%22https%3A%2F%2Fblogs.windows.com%2Fwindows-insider%2F2021%2F09%2F02%2Fannouncing-windows-11-insider-preview-build-22449%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EWindows%2011%20Insider%20Preview%20build%2022449%20%26amp%3B%20later%3C%2FA%3E.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--352561259%22%20id%3D%22toc-hId--352540399%22%3E%3CSPAN%20class%3D%22css-901oao%20css-16my406%20r-poiln3%20r-bcqeeo%20r-qvutc0%22%20style%3D%22font-family%3A%20inherit%3B%22%3ETL%2FDR%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%20class%3D%22css-901oao%20css-16my406%20r-poiln3%20r-bcqeeo%20r-qvutc0%22%20style%3D%22font-family%3A%20inherit%3B%22%3EWe%20stopped%20being%20so%20algorithmically%20cute%3A%20when%20you%20request%20compression%2C%20we%20now%20just%20try%20to%20do%20it%20because%20you%20said%20so.%20%3A)%3C%2Fimg%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-2134951574%22%20id%3D%22toc-hId-2134972434%22%3E%3CSPAN%20class%3D%22css-901oao%20css-16my406%20r-poiln3%20r-bcqeeo%20r-qvutc0%22%20style%3D%22font-family%3A%20inherit%3B%22%3EFull%20explanation%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%20class%3D%22%22%3EWe%20first%20introduced%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fsmbcompression%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESMB%20compression%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ein%20Windows%20Server%202022%20%26amp%3B%20Windows%2011.%20SMB%20compression%20allows%20an%20administrator%2C%20user%2C%20or%20application%20to%20request%20compression%20of%20files%20as%20they%20transfer%20over%20the%20network.%20This%20removes%20the%20need%20to%20first%20deflate%20a%20file%20manually%20with%20an%20application%2C%20copy%20it%2C%20then%20inflate%20on%20the%20destination%20PC.%20Compressed%20files%20will%20consume%20less%20network%20bandwidth%20and%20take%20less%20time%20to%20transfer%2C%20at%20the%20cost%20of%20slightly%20increased%20CPU%20usage%20during%20transfers.%3C%2FP%3E%0A%3CP%20class%3D%22%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBased%20on%20testing%20and%20analysis%2C%20we%20have%20changed%20the%20default%20behavior%20of%20compression.%20Previously%2C%20the%20SMB%20compression%20decision%20algorithm%20would%20attempt%20to%20compress%20the%20first%20524%2C288%2C000%20bytes%20(500MiB)%20of%20a%20file%20during%20transfer%20and%20track%20that%20at%20least%20104%2C857%2C600%20bytes%20(100MiB)%20compressed%20within%20that%20500-MB%20range.%20If%20fewer%20than%20100%20MiB%20were%20compressible%2C%20SMB%20compression%20stopped%20trying%20to%20compress%20the%20rest%20of%20the%20file.%20If%20at%20least%20100%20MiB%20compressed%2C%20SMB%20compression%20attempted%20to%20compress%20the%20rest%20of%20the%20file.%20This%20meant%20that%20very%20large%20files%20with%20compressible%20data%20%E2%80%93%20for%20instance%2C%20a%20multi-gigabyte%20virtual%20machine%20disk%20%E2%80%93%20were%20likely%20to%20compress%20but%20a%20relatively%20small%20file%20%E2%80%93%20even%20a%20very%20compressible%20one%20%E2%80%93%20would%20not%20compress.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EStarting%20in%20Build%2022449%2C%20we%20will%20no%20longer%20use%20this%20decision%20algorithm%20by%20default.%20Instead%2C%20if%20compression%20is%20requested%2C%20we%20will%20always%20attempt%20to%20compress.%20If%20you%20wish%20to%20modify%20this%20new%20behavior%20to%20return%20to%20a%20decision%20algorithm%2C%20please%20see%20this%20article%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fwindows-server%2Fstorage%2Ffile-server%2Fsmb-compression%23understanding-and-controlling-compression-behaviors%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EUnderstanding%20and%20controlling%20compression%20behaviors%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20use%20the%20Feedback%20Hub%20to%20give%20feedback%20or%20report%20issues%20with%20SMB%20compression%2C%20using%20the%20Files%2C%20Folders%2C%20and%20Online%20Storage%20%26gt%3B%20File%20Sharing%20category.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUntil%20next%20time%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENed%20%22smooooosh%22%20Pyle%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2750995%22%20slang%3D%22en-US%22%3E%3CP%3EBuild%26nbsp%3B22449%20changes%20SMB%20compression%2C%20learn%20more.%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Co-Authors
Version history
Last update:
‎Sep 14 2021 04:04 PM
Updated by:
www.000webhost.com