Troubleshooting VM Performance

Miguel De Santiago 0 Reputation points
2024-04-08T22:13:53.1233333+00:00

So, I'm trying to troubleshoot some app performance issues for a client. They say the app is slow at times, and things that would take a couple of seconds now take minutes to perform.

My question is, why is there a difference between metrics and insights? Insights is showing a 20% decrease in utilization... so who is right here?

I read that Insights is like peeking at the Task Manager locally (which, in my opinion, would be more accurate) than Metrics looking at the host as a whole.

My dilemma is... if the client is complaining about performance and I am seeing higher usage up to 80-90% in Metrics but Insights is showing 50-30%, what do I do?

Accurately speaking, IMO Insights is correct, but Metrics could be telling of something... again just confused.

This is a D2as_v5 (2C/8GB) the minimum required specs for the app. Only two users are using it in a client-server setup. Memory hovers at 4GBs usage no matter what and has always been stable even during these peak CPU usage. We are using P10 SSDs.

Azure Monitoring Metrics

Azure Monitoring Insights

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. msrini-MSFT 9,291 Reputation points Microsoft Employee
    2024-04-10T07:09:13.78+00:00

    Hi,

    When it comes to performance issue, its important that you understand how the application works and then try to narrow down by doing some troubleshooting to see which component is at fault.

    In a generic manner, what you checked for is absolutely right. Checking for spike in CPU, Memory and higher IOPS, etc.

    Is this a web site ? Where is the client located ? How is the client trying to access this site ? Is it over private network or Internet ? When other client from different destination tries to access the site, was it working ? Is it an issue from client end or at the server end? Can you try to deploy the same application with a higher SKU and check if there are any improvements ?

    Its more as asking right questions to narrow down the issue and then take corrective action to fix it.

    Regards,

    Karthik Srinivas


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.