AVPUI: high CPU load and memory consumption
-
<p><strong>Reproduction steps: Open Reports or Manage Applications window, maximize to full screen, scroll or move/hover mouse. This is on Windows 11, but looks similar to my former issue report of KES Beta running on W10.</strong></p>
<p><strong></strong></p>
<p><strong>Actual result: High CPU load by AVPUI.EXE (one CPU core maxed, another core loaded 50%).</strong></p>
<p><span></span></p>
<p><strong>Expected Result: Low CPU load by AVPUI.EXE.</strong></p>
<p><span></span></p>
<p><span><strong>Extra note:</strong> The initial scan window right after installation also causes AVPUI.EXE to load one CPU core to about 50% (or about half of AVP.EXE, which only seems to use a single-core in this scan). This seems quite high for doing little more than animating a single progress bar.</span></p>
<p><span>Furthermore memory consumption of AVPUI.EXE seems excessively high during a normal "Full Scan". Even worse, when the UI window is closed then memory consumption initially drops, but only after some time and then it builds up again even while the window is still closed.</span></p>
<p><span>(4.16% = 1 CPU core maxed out of 24 logical cores)</span></p>
<p><span>UI load while moving mouse in Manage Applications window: <a href="https://imgur.com/xw8STmD" target="_blank" rel="noopener"><span style="color: unset; text-decoration: unset; text-align: unset;"></span></a><a href="https://imgur.com/xw8STmD" target="_blank" rel="noopener">https://imgur.com/xw8STmD</a></span></p>
<p><span><span style="color: unset; text-decoration: unset; text-align: unset;"><img src="https://imgur.com/xw8STmD.png" alt="" width="196" height="188" /></span></span></p>
<p><span>UI load during initial (post-setup) scan: <a href="https://imgur.com/FJ5KCLA" target="_blank" rel="noopener"><span style="color: unset; text-decoration: unset; text-align: unset;"></span></a><a target="_blank" rel="noopener">https://imgur.com/FJ5KCLA</a></span></p>
<p><span><span style="color: unset; text-decoration: unset; text-align: unset;"><img src="https://imgur.com/FJ5KCLA.png" alt="" width="849" height="39" /></span></span></p>
<p><span>UI memory during Scan All with window open: <a href="https://imgur.com/UArvsgp" target="_blank" rel="noopener"><span style="color: unset; text-decoration: unset; text-align: unset;"></span></a><a href="https://imgur.com/UArvsgp" target="_blank" rel="noopener">https://imgur.com/UArvsgp</a></span></p>
<p><span><span style="color: unset; text-decoration: unset; text-align: unset;"><img src="https://imgur.com/UArvsgp.png" alt="" width="593" height="60" /></span></span></p>
<p><span>UI memory during Scan all with window closed (keeps going up and down): <a href="https://imgur.com/E8nSfov" target="_blank" rel="noopener"><span style="color: unset; text-decoration: unset; text-align: unset;"></span></a><a target="_blank" rel="noopener">https://imgur.com/E8nSfov</a></span></p>
<p><span><img src="https://imgur.com/E8nSfov.png" alt="" width="592" height="59" /></span></p>
<p><span><span style="color: unset; text-decoration: unset; text-align: unset;"></span></span></p> -
Hello!
for such reports we need xperf traces:- our bat files and steps are here - https://box.kaspersky.com/d/b005d35ddec14eb4b31f/
- xperf should be installed with Windows ADK
- also you should turn off debugging mechanism (you can click "beta" button at the top left corner)
- our traces should be disabled too
-
<p>You already got traces and animated GIFs for the same issues during the KES beta. I got no feedback for the traces I sent in, but especially the high load and lag of the maximized reports window should be easily reproducable.</p>