question

SukirtiSen-2775 avatar image
0 Votes"
SukirtiSen-2775 asked prmanhas-MSFT commented

Downsize Azure VMs

Hi,

Recently we got a recommendation from some internal folks to downsize our Azure VMs as given below

128959-image.png

Now, we can see that the suggested VM SKU is e2as VM has cpu of 2 , against 4 cpus currently existing in D4s. Also, the data disks for the suggested VM SKU is 4 against 8 on the current VM.
We pulled some graphs from the app insights for the current D4s VM, the same is attached below

129137-image.png

Now, I have 2 questions:
1- if you see the current cpu utilization graph the peaks are ~ 48%. given that e2s(recommended size) has 2 cpus against 4 exiting cpus in d4 VM, does this mean that with 50% reduced cpus there is a chance to hit 48 X 2=96% CPU utilization
2- What impact could a reduction in data disks have? Here i have pasted a screen garb of the logical disk space used under th current config, but what should we check from insights/monitoring to know what possible impact data disk reduction can have


azure-virtual-machines
dwn.jpg (29.7 KiB)
vm.jpg (91.8 KiB)
image.png (58.4 KiB)
image.png (239.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

prmanhas-MSFT avatar image
0 Votes"
prmanhas-MSFT answered prmanhas-MSFT commented

@SukirtiSen-2775 Apologies for the delay in response and all the inconvenience caused because of the issue!!!


If you see the current cpu utilization graph the peaks are ~ 48%. given that e2s(recommended size) has 2 cpus against 4 exiting cpus in d4 VM, does this mean that with 50% reduced cpus there is a chance to hit 48 X 2=96% CPU utilization.

Yes, basically reducing the number of vCPUs will put load on existing one. If the current VM (4 vCPU) utilization has 40-50% usage of CPU. Then reducing it to 2vCPU will definitely put load on the VM.



What impact could a reduction in data disks have? Here i have pasted a screen garb of the logical disk space used under the current config, but what should we check from insights/monitoring to know what possible impact data disk reduction can have.

Disk count reduction doesn't have any direct impact unless if you want to attach more than 4 data disk to VM.

General Recommendation: Ideally, one should not just resize the VM based on CPU usage. Application running within VM can be memory specific or network specific application and due to which much load may not be on CPU, but reducing the size considering only CPU, will affect such above application as memory & network capability of the VM will also be reduce. In this particular case, as Memory size is same, resizing can be considered but as suspected, CPU load can get increased and might choke overall perform if any other application consumes more CPU than expected.

Hope it helps!!!

Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.






· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Anwer is accepted but wheres the accept as answer link?

0 Votes 0 ·

@SukiSen-9575 Accept as Answer will be visible to OP who has posted the query and assuming that you have posted from @SukirtiSen-2775 so you will get the option to Accept it as Answer on that profile only :)

As mentioned here you will get option as OP as below :

131795-image.png

Hope it helps!!!


0 Votes 0 ·
image.png (202.9 KiB)