WLAN-Pi / wlanpi-profiler

Wi-Fi client capabilities analyzer tool built for the WLAN Pi
BSD 3-Clause "New" or "Revised" License
23 stars 8 forks source link

High CPU utilization #98

Closed joshschmelzle closed 2 years ago

joshschmelzle commented 2 years ago

The loop on the main process is causing high CPU utilization of up to 100% on one of the cores. In the image below, it is PID 2392.

image

The culprit appears to be on the main process: https://github.com/WLAN-Pi/wlanpi-profiler/blob/fd4aedf18e142b4b51c19c84fcee605933b90ac5/profiler/manager.py#L257-L267

Where a short sleep between loops might solve the issue.