Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Blogs / AXStart / Performance tuning developm...

Performance tuning development VM

It is a general complain of any developer. Why is it so SLOOOWWWWW? And yes, it is slow. But there are performance tuning tricks.  Slow is influence on 3 things

  • Startup VM
    • Is also startup of
      • Batches
      • Management reporter
      • Windows security
      • Windows update
      • Windows maintenance
    • SQL
      • There is no SQL maintenance

You could disable the batches & management reporter. That will help. But the real issue is how the disks of that VM are configured.  In general, it looks like below 16 lazy disks.

Now you can change these to faster disks , but please be aware of the prices. Also, these are managed disk, the cost fixed amount every month, so stopping the VM will not reduce below cost.

Size Premium SSD Standard SSD Standard HDD 
64   GiB 9.47 4.05 2.54
128 GiB 18.29 8.10 4.97
256 GiB 35.26 16.20 9.56
512 GiB 67.92 32.39 18.36

How does the disk migration work?  The first step is migration to managed disks

Managed Disks simplify disk management for VMs by managing the Storage accounts behind the scenes. Managed Disks also provide granular access control with RBAC and better reliability for VMs in an Availability Set. Learn more about the benefits of using Managed Disks

Source unmanaged disks are not deleted after the migration. Managed Disks are created by making a copy of the source disks. You can revert back to unmanaged disks by creating a new VM with the source disks. Configuration of the VMs is not changed after the migration. Learn more about migrating to Managed Disks

In order to complete migration, we will need to start the virtual machine. Once migration is complete, you may stop the virtual machine.

Next you can change all the discs

But hold on 16 disks multiplied with 18.29 makes 292 euro on top of running the VM. This is very expensive in the relation to how you use it. So next step:

  • Archive your code & database.
  • Delete the VM
  • Deploy a new one

And of course, do not forget to setup the auto shutdown and the azure software reductions

Het bericht Performance tuning development VM verscheen eerst op Kaya Consulting.

Comments

*This post is locked for comments