avd-opsDeploy quietly
Community research project. Use at your own risk. No warranty.Use at your own risk
  • Built on my own time for research and learning. Not affiliated with, endorsed by or supported by my employer or Microsoft.
  • Don't run any of it in production or against tenants that matter. Test in a dedicated lab subscription and tenant first.
  • Provided "as is", without warranty of any kind, under each repo's license. You use it at your own risk and own the Azure charges it incurs.
  • Contributions and forks are welcome and encouraged. See Contribute.

Tune and rightsize

methods/tune-rightsize.md · Edition 8875905 of avd-assess, 2026-11-11. What changed

A repeatable loop for making a running AVD estate perform as its baseline profile says, at the lowest cost that keeps it there: measure, compare, change one thing, measure again, record. avd-assess holds the loop; avd-landing-zone applies each change; avd-current-state measures before and after. The order of levers and the record are ours ([G1]).

Method

  1. Start from the profile and a baseline measurement of each host pool, in the profile's window ([G2], [1, PE:04], [2, baseline-defined]).
  2. Compare and classify: experience pass or fail, and each host's CPU and memory band ([G2], [3, user-facing-targets], [4, cpu-bands]).
  3. Fix the experience gate first. For a failing target, read CPU, memory and disk in the same hours to find the bottleneck ([5, input-delay-then-resources], [5, high-utilization-resize]).
  4. Then take waste out, in order: image optimization, density, size and family, host count and hours, and rates last ([G1], [6, test-first], [7, scale-down-off-peak]). A cost change that would make an experience target fail isn't a candidate ([8, over-and-under]).
  5. Write the hypothesis before the change: which lever, from what to what, and which metric should move by how much ([2, hypothesis-baseline-variant]).
  6. Change one thing on one host pool through the landing zone's parameters, in a validation pool first where the lever allows ([G1], [1, PE:06]).
  7. Measure again the same way: the same days of the week, hours, statistic and counters as the baseline ([8, test-before-and-after], [G2]).
  8. Keep, revert or extend: keep when the hypothesis held and no experience target got worse, revert when one got worse, extend the window when coverage was too thin to tell ([G1], [2, regression-and-drift]).
  9. Record the round with its hypothesis, before and after values, decision and claims, so the next round starts from evidence ([9, document-capacity-plan], [G1]).
  10. Feed it back: the kept values become the estate's measured density and baselines, and a prior that measured rounds keep contradicting becomes a disagrees observation, submitted as an evidence file like anyone else's ([2, record-baselines], [G3], [G4]).
  11. Repeat on a cadence and whenever use is about to change, watching for drift between rounds ([1, PE:12], [1, PE:02], [2, regression-and-drift]).

Roles

Step avd-assess avd-landing-zone avd-current-state
1, 2 the profile and bands measures and classifies
3 to 5 the lever order and record shape proposes the candidate, with its claims
6 applies the one change as a parameter
7, 8 the rule for keep, revert or extend measures again and compares
9, 10 takes disagreements as observations writes the record's evidence

Which landing zone parameters are levers, and the facts and checks avd-current-state needs, are in [G1]. The loop needs nothing above the foundation; an upper layer may keep the records or propose rounds as plans a person approves.

Not yet known

  • No round has run on real users; the lever order is our judgment, not a published sequence ([G1]).
  • The scaling plan's thresholds and the load balancing algorithm are set by hand in the landing zone, so the loop can record them but not change them through it yet ([O1]).
  • Most measured facts the loop needs are proposed, not built ([G1]).

References

  1. [1]Microsoft Learn. Design review checklist for Performance Efficiency (Azure Well-Architected Framework). Pinned at git_commit_id ce3921c, updated 2026-05-06; read 2026-10-20. Claims cited: PE:04, PE:06, PE:12, PE:02. Source · Entry
  2. [2]Microsoft Learn. Architecture strategies for performance testing (Azure Well-Architected Framework). Pinned at git_commit_id c96d7de, updated 2026-08-04; read 2026-10-20. Claims cited: baseline-defined, hypothesis-baseline-variant, regression-and-drift, record-baselines. Source · Entry
  3. [3]Microsoft Learn. Optimize VM or scale set spend by resizing or shutting down underutilized instances (Azure Advisor). Pinned at git_commit_id 9b9c50e, updated 2026-04-01; read 2026-10-20. Claims cited: user-facing-targets. Source · Entry
  4. [4]Microsoft Learn. Troubleshoot issues using Performance Monitor (Windows Server). Pinned at git_commit_id 30a8288, updated 2026-02-19; read 2026-10-20. Claims cited: cpu-bands. Source · Entry
  5. [5]Microsoft Learn. Use cases for Azure Virtual Desktop Insights. Pinned at git_commit_id ec0c680, updated 2025-06-25; read 2026-10-20. Claims cited: input-delay-then-resources, high-utilization-resize. Source · Entry
  6. [6]GitHub, The-Virtual-Desktop-Team/Windows-Desktop-Optimization-Tool. Windows Desktop Optimization Tool (WDOT). Pinned at commit f20d6b7; read 2026-10-20. Claims cited: test-first. Source · Entry
  7. [7]Microsoft Learn. Workload optimization (Microsoft's guide to the FinOps Framework capability). Pinned at git_commit_id a74e7c7, updated 2026-02-11; read 2026-10-20. Claims cited: scale-down-off-peak. Source · Entry
  8. [8]Microsoft Learn. Architecture strategies for continuous performance optimization (Azure Well-Architected Framework). Pinned at git_commit_id 28a78d2, updated 2025-10-30; read 2026-10-20. Claims cited: over-and-under, test-before-and-after. Source · Entry
  9. [9]Microsoft Learn. Session host virtual machine sizing guidelines. Pinned at commit ad5a77c; read 2026-10-20. Claims cited: document-capacity-plan. Source · Entry

Our observations

What our own runs showed about a cited claim. Evidence links are public and pinned.

  1. [O1]extends tuning-levers-set-by-hand, on waf-performance-checklist#PE:05, 2026-10-20. The landing zone sets size, host count and session limit as parameters, but fixes breadth-first load balancing and the scaling plan's capacity thresholds and minimum host shares (60% and 20% at ramp-up, 90% and 10% at ramp-down) in its control plane module, and lists the schedule as set by hand. A tuning loop can change the first three through the landing zone; the scaling levers it can only record until they become parameters.

Our own method (gaps)

Where no published source covers a step, avd-assess writes the method and says what was searched and not found.

  1. [G1]tune-loop: a repeatable tune and rightsize loop for AVD.
  2. [G2]baseline-profile: a baseline profile of what good looks like.
  3. [G3]gold-standards: gold standards.
  4. [G4]evidence-intake: one evidence intake for everyone.

Cite this

avd-assess@8875905:methods/tune-rightsize.md

Cite a claim as avd-assess@<commit>:references/<source>.yaml#<claim>. How to cite

Built from avd-assess at 8875905. Something wrong or missing? Open an issue or a pull request in avd-assess.