When a lot of parameter sets are being executed at once and the system is unable to cope with the large amount of sets, we see that the system becomes very slow as everything is added at the end of the stack.
What is the best way to detect large stack sizes in the system and what can be used to investigate what is in those stacks?
At first look, I advise you to have a look at the Microsoft Platform Element related to that Element (if any), and on Task Manager Page, mainly look at the SLNET, SLElement, and SLDataMiner process (CPU and memory/VM size). Disk throughput is, in general, not a specific concern, but of course, a safety check is always useful. If we want to go more in-depth, then we can also check a few items via the SLNet Client Test tool:
- Diagnostics > DMA > Stack Sizes
- Specifically, look at the number of notifications.
- Diagnostics > SLNet > StackSizes
- Here it’s relevant to keep the number of ParameterNotifications low.