Add TOC and Key card info as well minor edits

This commit is contained in:
Carmen Forsmann 2022-11-08 13:49:04 -07:00
parent 4c55c01695
commit 5941bcb895
3 changed files with 22 additions and 18 deletions

View File

@ -46,4 +46,6 @@
href: delivery-optimization-proxy.md href: delivery-optimization-proxy.md
- name: Content endpoints for Delivery Optimization and Microsoft Connected Cache - name: Content endpoints for Delivery Optimization and Microsoft Connected Cache
href: delivery-optimization-endpoints.md href: delivery-optimization-endpoints.md
- name: Testing Delivery Optimization
href: delivery-optimization-test.md

View File

@ -16,13 +16,13 @@ manager: naengler
## Overview ## Overview
Delivery Optimization is a powerful and useful tool to help enterprises manage bandwidth usage for downloading Microsoft content. It is a solution designed to be used in large-scale environments with large numbers of devices, various content sizes, etc. Delivery Optimization is native to Win10+ and provides default configuration to get the most out of the typical customer environment. It is used to deliver many different types of content, so Microsoft customers enjoy the best possible download experience for their environment. There are three components to Delivery Optimization, 1) HTTP downloader, 2) Peer-to-peer (P2P) cloud technology, and 3) Microsoft Connected Cache. One of the most powerful advantages of using Delivery Optimization is the ability to fine-tune settings that empower users to dial in Microsoft content delivery to meet the needs of specific environments. Delivery Optimization is a powerful and useful tool to help enterprises manage bandwidth usage for downloading Microsoft content. It's a solution designed to be used in large-scale environments with large numbers of devices, various content sizes, etc. Delivery Optimization is native to Win10+ and provides default configuration to get the most out of the typical customer environment. It is used to deliver many different types of content, so Microsoft customers enjoy the best possible download experience for their environment. There are three components to Delivery Optimization, 1) HTTP downloader, 2) Peer-to-peer (P2P) cloud technology, and 3) Microsoft Connected Cache. One of the most powerful advantages of using Delivery Optimization is the ability to fine-tune settings that empower users to dial in Microsoft content delivery to meet the needs of specific environments.
## Monitoring Value ## Monitoring Value
Since Delivery Optimization is on by default, you will be able to monitor the value either through the Windows Settings for Delivery Optimization, using Delivery Optimization PowerShell cmdlets, and/or via the Update Compliance experience in Azure. Since Delivery Optimization is on by default, you'll be able to monitor the value either through the Windows Settings for Delivery Optimization, using Delivery Optimization PowerShell cmdlets, and/or via the Update Compliance experience in Azure.
In the case where Delivery Optimization is not working in your environment, it is important to investigate to get to the root of the problem. We recommend a test environment be created to easily evaluate typical devices to ensure Delivery Optimization is working properly. For starters, Scenario 1: Basic Setup should be created to test the use of Delivery Optimization between two machines. This scenario is designed to eliminate any noise in the environment to ensure there is nothing preventing Delivery Optimization from working on the devices. Once you have a baseline, you can expand the test environment for more sophisticated tests. In the case where Delivery Optimization isn't working in your environment, it's important to investigate to get to the root of the problem. We recommend a test environment be created to easily evaluate typical devices to ensure Delivery Optimization is working properly. For starters, Scenario 1: Basic Setup should be created to test the use of Delivery Optimization between two machines. This scenario is designed to eliminate any noise in the environment to ensure there's nothing preventing Delivery Optimization from working on the devices. Once you have a baseline, you can expand the test environment for more sophisticated tests.
## Expectations and Goals ## Expectations and Goals
@ -34,9 +34,9 @@ The focus of the testing scenarios in this article is primarily centered on demo
Several elements that influence overall peering, using Delivery Optimization. The most common, impactful environment factors should be considered. Several elements that influence overall peering, using Delivery Optimization. The most common, impactful environment factors should be considered.
* **The number of files in the cache and** **the** **number of devices have a big effect on overall peering.** There is a set number of files available for peering at a time, from each client, so the peering device may not be serving a particular file. * **The number of files in the cache and** **the** **number of devices have a big effect on overall peering.** There's a set number of files available for peering at a time, from each client, so the peering device may not be serving a particular file.
* **File size** **and** **internet connection** **reliability matter.** There is a Delivery Optimization setting to determine the minimum file size to use P2P. In addition, internet connection must be open and reliable enough to let the Delivery Optimization client make cloud service API calls and download metadata files prior to starting a content file download * **File size** **and** **internet connection** **reliability matter.** There's a Delivery Optimization setting to determine the minimum file size to use P2P. In addition, internet connection must be open and reliable enough to let the Delivery Optimization client make cloud service API calls and download metadata files prior to starting a content file download
* **Delivery Optimization Policies can play a role.** In general, it is important to familiarize yourself with the Delivery Optimization settings and defaults [Delivery Optimization reference - Windows Deployment | Microsoft Docs](https://docs.microsoft.com/en-us/windows/deployment/do/waas-delivery-optimization-reference). * **Delivery Optimization Policies can play a role.** In general, it's important to familiarize yourself with the Delivery Optimization settings and defaults [Delivery Optimization reference - Windows Deployment | Microsoft Docs](https://docs.microsoft.com/en-us/windows/deployment/do/waas-delivery-optimization-reference).
### Delivery Optimization is a Hybrid P2P Platform ### Delivery Optimization is a Hybrid P2P Platform
@ -44,7 +44,7 @@ Several elements that influence overall peering, using Delivery Optimization. Th
* At the point a download is initiated, the DO client starts downloading from the HTTP and discovering peers simultaneously. With a smaller file, there might be nearly 100% bytes from HTTP before connecting to a peer, even though peers are available. With a larger file and quality LAN peers, it might reduce the HTTP request rate to near zero, but only after making those initial requests from HTTP. * At the point a download is initiated, the DO client starts downloading from the HTTP and discovering peers simultaneously. With a smaller file, there might be nearly 100% bytes from HTTP before connecting to a peer, even though peers are available. With a larger file and quality LAN peers, it might reduce the HTTP request rate to near zero, but only after making those initial requests from HTTP.
* In the next section, you will see how the two testing scenarios produce differing results in the number of bytes coming from HTTP vs. peers, which shows Delivery Optimization continuously evaluating the optimal location from which to download the content. * In the next section, you'll see how the two testing scenarios produce differing results in the number of bytes coming from HTTP vs. peers, which shows Delivery Optimization continuously evaluating the optimal location from which to download the content.
## Test Scenarios ## Test Scenarios
@ -58,16 +58,16 @@ Number of machines used: 2
Hardware: Hardware:
* 2 Virtual Machines or physical devices running Windows 10 (21H2) / Windows 11 (21H2) * Two Virtual Machines or physical devices running Windows 10 (21H2) / Windows 11 (21H2)
* 2 vCPUs / 8 GB RAM / 127 GB Disk * 8-GB RAM / 127-GB Disk
* Network ensure the test devices are connected to the same network, one that is representative of the corporate network * Network ensure the test devices are connected to the same network, one that is representative of the corporate network
Apply Policy settings/Windows configurations on each machine: Apply Policy settings/Windows configurations on each machine:
* Pause Windows Updates. This controls the test environment so no other content is made available during the test, and potentially altering the outcome of the test. By default, there are four pieces of content available for peering at a given time. The Delivery Optimization client cycles through the available content in the cache. Simply pausing Windows Updates might not be enough in some cases. If there are Microsoft Store Updates, for example, a download can be triggered causing the four caching slots to be filled. If this happens, the second machine may not see peers. Verify there is only one cached content before continuing the test on the second machine. * Pause Windows Updates. This controls the test environment so no other content is made available during the test, and potentially altering the outcome of the test. By default, there are four pieces of content available for peering at a given time. The Delivery Optimization client cycles through the available content in the cache. Simply pausing Windows Updates might not be enough in some cases. If there are Microsoft Store Updates, for example, a download can be triggered causing the four caching slots to be filled. If this happens, the second machine may not see peers. Verify there's only one cached content before continuing the test on the second machine.
* Ensure all Store apps are up to date * Ensure all Store apps are up to date
* Set Delivery Optimization Download mode = '2' * Set Delivery Optimization Download mode = '2'
* Set Delivery Optimization GroupID = 'GUID'. A GUID is a required value that can be generated using PowerShell, [[guid]::NewGuid()](https://blogs.technet.microsoft.com/heyscriptingguy/2013/07/25/powertip-create-a-new-guid-by-using-powershell/) * Set Delivery Optimization GroupID = 'GUID'. A GUID is a required value, which can be generated using PowerShell, [[guid]::NewGuid()](https://blogs.technet.microsoft.com/heyscriptingguy/2013/07/25/powertip-create-a-new-guid-by-using-powershell/)
* Run '`Enable-DeliveryOptimizationVerboseLogs to enable verbose logging. * Run '`Enable-DeliveryOptimizationVerboseLogs to enable verbose logging.
* **If Windows 11 devices** set 'Restrict Peer Selection' policy to '0-NAT'. The default behavior in Windows 11 is set to '2-Local Peer Discovery'. For testing purposes, this needs to be scoped to the NAT. * **If Windows 11 devices** set 'Restrict Peer Selection' policy to '0-NAT'. The default behavior in Windows 11 is set to '2-Local Peer Discovery'. For testing purposes, this needs to be scoped to the NAT.
@ -120,7 +120,7 @@ The following set of instructions will be used for each machine:
* A peer was found for the content and 87% of total bytes came from the peer. * A peer was found for the content and 87% of total bytes came from the peer.
* One peer was found for the piece of content, which is expected as there are only two devices in the peering group. * One peer was found for the piece of content, which is expected as there are only two devices in the peering group.
* Download mode was set to 'Group', but since group mode includes both LAN and Group devices, Delivery Optimization prioritizes LAN peers, if found. Therefore, 'BytesFromLanPeers' shows bytes where 'BytesFromGroupPeers' does not. * Download mode was set to 'Group', but since group mode includes both LAN and Group devices, Delivery Optimization prioritizes LAN peers, if found. Therefore, 'BytesFromLanPeers' shows bytes where 'BytesFromGroupPeers' doesn't.
* 'DownloadDuration' is roughly the same between machines. * 'DownloadDuration' is roughly the same between machines.
**Output: Windows 11 21H2** **Output: Windows 11 21H2**
@ -142,8 +142,8 @@ Number of machines used: 3
Hardware: Hardware:
* 5 Azure Virtual Machines running Windows 10 (21H2) * Three Azure Virtual Machines running Windows 10 (21H2)
* 2 vCPUs / 8 GB RAM / 127 GB Disk * 8-GB RAM / 127-GB Disk
* Network ensure the test devices are connected to the same network, one that is representative of the corporate network * Network ensure the test devices are connected to the same network, one that is representative of the corporate network
Apply Policy settings/Windows configurations on each machine: Apply Policy settings/Windows configurations on each machine:
@ -172,7 +172,7 @@ The following set of instructions will be used for each machine:
**Observations** **Observations**
* The first download in the group of devices show all bytes coming from HTTP, 'BytesFromHttp'. * The first download in the group of devices shows all bytes coming from HTTP, 'BytesFromHttp'.
* Download is in the Foreground because the Store app is doing the download and in the foreground on the device. * Download is in the Foreground because the Store app is doing the download and in the foreground on the device.
* No peers are found. * No peers are found.
@ -203,13 +203,13 @@ The following set of instructions will be used for each machine:
**Observations** **Observations**
* Bytes from peers is roughly the same as machine #2, at 99.7%. * 'PercentPeerCaching' is roughly the same as machine #2, at 99.7%.
* Now, two peers are found. * Now, two peers are found.
* Still downloading from HTTP source as seen with 'BytesFromHttp' value. * Still downloading from HTTP source as seen with 'BytesFromHttp' value.
## Peer sourcing observations for all machines in the test group ## Peer sourcing observations for all machines in the test group
As mentioned, the distributed nature of the Delivery Optimization technology is obvious when you re-run the Get-DeliveryOptimizationStatus cmdlet on each of the test machines. For each, there is a new value populated for the BytesToLanPeers field. This demonstrates that as more peers become available, the requests to download bytes are distributed across the peering group and act as the source for the peering content. Each peer plays a role in servicing the other. As mentioned, the distributed nature of the Delivery Optimization technology is obvious when you re-run the Get-DeliveryOptimizationStatus cmdlet on each of the test machines. For each, there's a new value populated for the BytesToLanPeers field. This demonstrates that as more peers become available, the requests to download bytes are distributed across the peering group and act as the source for the peering content. Each peer plays a role in servicing the other.
**Output:** Machine 1 **Output:** Machine 1

View File

@ -99,4 +99,6 @@ landingContent:
url: delivery-optimization-proxy.md url: delivery-optimization-proxy.md
- text: Content endpoints for Delivery Optimization and Microsoft Connected Cache - text: Content endpoints for Delivery Optimization and Microsoft Connected Cache
url: delivery-optimization-endpoints.md url: delivery-optimization-endpoints.md
- text: Testing Delivery Optimization
url: delivery-optimization-test.md