Skip to content

Commit 56e2837

Browse files
authored
Merge pull request #216284 from madewithsmiles/ngdiarra/adding-advisor-performance-resizehighusagevmrec-how-to
Adding info for new recommendation about VMs with high utilization
2 parents b1e628b + 58073a1 commit 56e2837

File tree

3 files changed

+76
-0
lines changed

3 files changed

+76
-0
lines changed
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
author: madewithsmiles
3+
ms.author: ngdiarra
4+
title: Improve the performance of highly used VMs using Azure Advisor
5+
description: Use Azure Advisor to improve the performance of your Azure virtual machines with consistent high utilization.
6+
ms.topic: article
7+
ms.date: 10/27/2022
8+
---
9+
10+
# Improve the performance of highly used VMs using Azure Advisor
11+
12+
Azure Advisor helps you improve the speed and responsiveness of your business-critical applications. You can get performance recommendations from the **Performance** tab on the Advisor dashboard.
13+
14+
1. Sign in to the [**Azure portal**](https://portal.azure.com).
15+
16+
1. Search for and select [**Advisor**](https://aka.ms/azureadvisordashboard) from any page.
17+
18+
1. On the **Advisor** dashboard, select the **Performance** tab.
19+
20+
## Optimize virtual machine (VM) performance by right-sizing highly utilized instances
21+
22+
You can improve the quality of your workload and prevent many performance-related issues (i.e., throttling, high latency) by regularly assessing your [performance efficiency](/azure/architecture/framework/scalability/overview). Performance efficiency is defined by the [Azure Well-Architected Framework](/azure/architecture/framework/) as the ability of your workload to adapt to changes in load. Performance efficiency is one of the five pillars of architectural excellence on Azure.
23+
24+
Unless by design, we recommend keeping your application's usage well below your virtual machine's size limits, so it can better operate and easily accommodate changes.
25+
26+
Advisor aggregates various metrics over a minimum of 7 days, identifies virtual machines with consistent high utilization across those metrics, and finds better sizes (SKUs) for improved performance. Finally, Advisor examines capacity signals in Azure to frequently refresh the recommended SKUs, ensuring that they are available for deployment in the region.
27+
28+
### Resize SKU recommendations
29+
30+
Advisor recommends resizing virtual machines when use is consistently high (above predefined thresholds) given the running virtual machine's size limits.
31+
32+
- The recommendation algorithm evaluates **CPU**, **Memory**, **VM Cached IOPS Consumed Percentage**, and **VM Uncached Bandwidth Consumed Percentage** usage metrics
33+
- The observation period is the past 7 days from the day of the recommendation
34+
- Metrics are sampled every 30 seconds, aggregated to 1 minute and then further aggregated to 30 minutes (taking the average of 1-minute average values while aggregating to 30 minutes)
35+
- A SKU upgrade for virtual machines is decided given the following criteria:
36+
- For each metric, we create a new feature from the P50 (median) of its 30-mins averages aggregated over the observation period. Therefore, a virtual machine is identified as a candidate for a resize if:
37+
* _Both_ `CPU` and `Memory` features are >= *90%* of the current SKU's limits
38+
* Otherwise, _either_
39+
* The `VM Cached IOPS` feature is >= to *95%* of the current SKU's limits, and the current SKU's max local disk IOPS is >= to its network disk IOPS. _or_
40+
* the `VM Uncached Bandwidth` feature is >= *95%* of the current SKU's limits, and the current SKU's max network disk throttle limits are >= to its local disk throttle units
41+
- We ensure the following:
42+
- The current workload utilization will be better on the new SKU's given that it has higher limits and better performance guarantees
43+
- The new SKU has the same Accelerated Networking and Premium Storage capabilities
44+
- The new SKU is supported and ready for deployment in the same region as the running virtual machine
45+
46+
47+
In some cases, recommendations can't be adopted or might not be applicable, such as some of these common scenarios (there may be other cases):
48+
- The virtual machine is short-lived
49+
- The current virtual machine has already been provisioned to accommodate upcoming traffic
50+
- Specific testing being done using the current SKU, even if not utilized efficiently
51+
- There's a need to keep the virtual machine as-is
52+
53+
In such cases, simply use the Dismiss/Postpone options associated with the recommendation.
54+
55+
We're constantly working on improving these recommendations. Feel free to share feedback on [Advisor Forum](https://aka.ms/advisorfeedback).
56+
57+
## Next steps
58+
59+
To learn more about Advisor recommendations and best practices, see:
60+
* [Get started with Advisor](advisor-get-started.md)
61+
* [Introduction to Advisor](advisor-overview.md)
62+
* [Advisor score](azure-advisor-score.md)
63+
* [Advisor performance recommendations](advisor-reference-performance-recommendations.md)
64+
* [Advisor cost recommendations (full list)](advisor-reference-cost-recommendations.md)
65+
* [Advisor reliability recommendations](advisor-reference-reliability-recommendations.md)
66+
* [Advisor security recommendations](advisor-security-recommendations.md)
67+
* [Advisor operational excellence recommendations](advisor-reference-operational-excellence-recommendations.md)
68+
* [The Microsoft Azure Well-Architected Framework](/azure/architecture/framework/)

articles/advisor/advisor-reference-performance-recommendations.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,12 @@ Ultra disk is available in the same region as your database workload. Ultra disk
247247

248248
Learn more about [Virtual machine - AzureStorageVmUltraDisk (Take advantage of Ultra Disk low latency for your log disks and improve your database workload performance.)](../virtual-machines/disks-enable-ultra-ssd.md?tabs=azure-portal).
249249

250+
### Upgrade the size of your virtual machines close to resource exhaustion
251+
252+
We analyzed data for the past 7 days and identified virtual machines (VMs) with high utilization across different metrics (i.e., CPU, Memory, and VM IO). Those VMs may experience performance issues since they are nearing/at their SKU's limits. Consider upgrading their SKU to improve performance.
253+
254+
Learn more about [Virtual machine - Improve the performance of highly used VMs using Azure Advisor](https://aka.ms/aa_resizehighusagevmrec_learnmore)
255+
250256
## Kubernetes
251257

252258
### Unsupported Kubernetes version is detected

articles/advisor/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646
href: advisor-cost-recommendations.md
4747
- name: Improve security
4848
href: advisor-security-recommendations.md
49+
- name: Improve the performance of highly used VMs
50+
href: advisor-how-to-performance-resize-high-usage-vm-recommendations.md
4951
- name: Use tags to filter recommendations and score
5052
href: advisor-tag-filtering.md
5153
- name: Configure recommendations

0 commit comments

Comments
 (0)