r/AzureVirtualDesktop • • 22h ago

CPU Peaks during logon storms

Some tips what can be causing CPU Spikes during logon storms ?

We are running E8as v6 VMs with 256GB OS Disk, max session limit is set to 20 but we are mostly having 12-13 sessions on 1 VM. Users having standard workload, edge, office apps, just standard workload. I have opened ticket with Microsoft for more than 6 months now, but no results. Thats why im trying the power of comunity.

-rulled out defender

-FSLogix on newest version

-deployed edge optimization

the CPU Spikes seems to be caused by svchost, LaunchExperienceHost

If you have any tips or recommendations, ill be more than glad.

2 Upvotes

10 comments sorted by

4

u/ZomboBrain 22h ago

I don't understand the question honestly? This looks like a normal CPU graph fo any kind of Terminalserver?

Also, what is the actual problem? Is user experience affected? Because if I read your text correctly, you don't mention a specific problem.

IHMO this looks totally fine.

1

u/SadAgent4434 22h ago

Sorry, maybe i badly structured my question. The question is if there are some tips how to optimize and get rid of those CPU Spikes. And yes, users are complaining for a laggy experience when the cpu is at 100%. and does this looks fine ? I dont think that VM should have CPU Spikes like this IMO.

1

u/xmrminerman 21h ago

Are you configured for breadth first or depth first ?

1

u/SadAgent4434 20h ago

Breadth first

1

u/StratoLens 20h ago

Depending on your needs you might want to have more than one VM available during work-starting hours (pre-stage) and ensure breadth first load balancing.

If you suspect a weird process causing this you can setup a monitor to track what processes are consuming cpu. But this may be just a normal thing for login sessions.

1

u/SadAgent4434 20h ago

We have 30 vms, 20 starting in the morning before the biggest logon storm

2

u/Legal-Reality1142 16h ago

I have seen Teams autostart taking up a bit of cpu during logon.

2

u/TechCrow93 10h ago

Might be the wsappx service that runs through all the users msix apps (makes them ready for them). Would recommend using WDOT and remove as many msix packages not needed by the users that should keep the service off the CPU faster but will still crush the CPU at every logon for some mintues sadly (ty Microsoft).

As someone else said it could also be your storage performance for the FSlogix Containers.

1

u/trueg50 20h ago

Is Onedrive the Machine based installer? User based tries to update at each login and we've seen that take 100% CPU on non-Virtual Desktop machines.

Any scheduled tasks set to run at login (ex: powershell script to update app Appx packages)? Any gpo scripts?

1

u/Al1301 19h ago edited 19h ago

Maybe you should look at storage performance and stop looking at cpu, where are you fslogix profiles stored, they have enough troughtput?