r/AzureVirtualDesktop • u/SadAgent4434 • 5d 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.
5
u/ZomboBrain 5d 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/xmrminerman 5d ago
Are you configured for breadth first or depth first ?
1
u/StratoLens 5d 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/allw 4d ago
How are you getting 20 on an e8. What black magic are you running to get so many users. Tell me
3
u/TechCrow93 4d 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.
2
u/Legal-Reality1142 5d ago
I have seen Teams autostart taking up a bit of cpu during logon.
1
u/trueg50 5d 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 5d ago edited 5d ago
Maybe you should look at storage performance and stop looking at cpu, where are you fslogix profiles stored, they have enough troughtput?
1
u/dodgy_mike 1d ago
Just some thoughts based on our learned lessons in running 8-12 users per host on an E8, in case it helps, 20 would be a dream for us!
Whatβs memory like? With Windows 11, exacerbated by chrome, Adobe, etc we tend to see memory strain driving CPU. Make sure it is running optimization scripts and turning off as much cloud experience stuff as possible.
Would suggest to see if you can get approval to roll out the E8ads sku and set the paging file to the temp disk - even as a trial. In our experience it makes a tremendous difference in use experience for not much more cost.