Feb 28 2024 10:36 AM - edited Feb 28 2024 10:46 AM
Our client is using AVD for about 5 weeks in 'production' now. It is a smaller company with about 40 users. We have 6 VM's in AVD (D4s_v5) in use at the moment. We have tried D8s_v5 without any improvement.
But we see memory and cpu usage at high levels most of the time with OneDrive at the top of the processes. Every server feels sluggish at the moment. Starting Excel takes about 30-40 seconds, Word about the same time. Opening a Word document takes about 20-25 seconds to open and opening folders from the right pane (yes only the right pane) in explorer takes abount 7-15 seconds per folder.
All those folders are folders from SharePoint document libraries.
It doens't matter if a folder is fully synced with the server or it isn't.
We are using FSlogic with profiles stored on azure.
I was reading a blog of Christian Brinkhoff about almost the same kind of issues but can't really pinpoint the exact cause or find a solution for this issue.
Can you help me out?
Feb 28 2024 05:31 PM
I thought this is used for file sync, what kind of resource in high from your environment?
Feb 28 2024 10:02 PM
Feb 29 2024 01:05 AM
@virtualmanc
Disabeling OneDrive makes the servers 'fly'. Enabled slows them down incredibly.
It doesn't matter if 1 or 5 users are on the server. We upgraded to D8s_V5 without improvement.
Storage for servers and FSLogic is Standard & Premium SSD.
ODFC is enabled.
The other questions I will try to find out. Will be back....
Feb 29 2024 01:06 AM
Feb 29 2024 01:30 AM
Analyze Resource Consumption:
PerfInsights: Consider using PerfInsights, a tool specifically designed for Azure VMs. It provides insights into Azure best practices, SQL best practices, I/O latency graphs, and detailed CPU and memory information.
Existing Tools: Utilize familiar performance troubleshooting tools like Perfmon or Procmon (similar to on-premises servers). These tools can help identify resource-intensive processes and bottlenecks.
Common Factors for High-CPU Situations:
Recent Code Changes or Deployments: Check if recent code changes or deployments (especially for apps like Internet Information Services, Microsoft SharePoint, or Microsoft SQL Server) are contributing to the high CPU usage.
Updates: Investigate whether recent OS-level updates or application-level cumulative updates might be causing the issue.
Query Optimization: For SQL Server and Oracle data tier applications, outdated indexes or inefficient query plans can lead to increased CPU consumption.
Azure VM-Specific Processes: Certain processes (e.g., RDAgent, Monitoring Agent, MMA agent, or Security client) specific to Azure VMs may cause high CPU usage.
Check VM Size and Storage:
Verify if the current VM size (D4s_v5) is sufficient for the workload. If both CPU usage and available memory are consistently high, consider upgrading to a larger VM size (e.g., D8s_v5) to better support your users’ needs.
Monitor and Optimize:
Continuously monitor resource utilization using Azure Monitor or other monitoring tools.
Optimize your application code, database queries, and indexing to reduce unnecessary resource consumption.
Review Extensions and Agents:
Ensure that any extensions or agents running on the VM (e.g., Monitoring Agent, MMA agent) are configured correctly and not causing excessive CPU load.
Remember that each environment is unique, so tailor your troubleshooting approach based on the specific characteristics of your client’s AVD setup. If the issue persists, consider reaching out to Azure support for further assistance.
Feb 29 2024 02:05 AM
Feb 29 2024 02:09 AM
Feb 29 2024 11:21 PM
Update:
We have installed a new VM from scratch, not using the default images provided by Microsoft.
We did the same with M365. After that we added the machine to the pool and deployed policies etc.
This machine seems to work fine - for now.
We will do some tests the upcoming days and I will keep you posted.
Our 'conlcusion' for now - something is not right in the default Win11 Pro image provided by MS in combination with settings/policies we have installed.
Mar 04 2024 07:09 AM
Mar 06 2024 05:19 AM
Mar 06 2024 05:53 AM
@EBRIN2233 HI,
It worked to deploy a fresh AVD host without using the VDOT or Marcels OneDrive cleanup. Im seeing pretty normal performance for the users. The only problem is i have nothing to dehydrate the files for the users.
Disk is 128 GB SSD Premium and IOPS is bumped up to 1100. Im running 1:1 ratio with the vCPU per user.
Mar 06 2024 06:15 AM
Mar 13 2024 09:51 PM
Mar 14 2024 12:23 AM
@Oliver_Krage - same here. But we hear several of our customers complain about this the last 3-4 days - on local devices!
At first we did not match our AVD problems with the problems on local devices but we do have a premonition that the OneDrive client could be the cause of all these issues.
Keep you posted!
Mar 14 2024 02:55 AM
Mar 21 2024 12:28 AM
Mar 21 2024 12:33 AM
Mar 21 2024 12:37 AM
Mar 21 2024 04:33 AM