You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran it on this windows server with code like this, and after running it for about a few minutes, I started to get incorrect utilization reports with output of 100 utilization at intervals, which only happened on this multi-core CPU, which is NUMA architecture:
importpsutildefget_cpu_utilization():
""" Fetches the CPU utilization using psutil library. :return: The average CPU utilization percentage across all cores. :rtype: int """cpu_percent=psutil.cpu_percent(interval=1, percpu=False)
returncpu_percentif__name__=='__main__':
whileTrue:
cpu=get_cpu_utilization()
print(cpu)
The text was updated successfully, but these errors were encountered:
Summary
Description
I ran it on this windows server with code like this, and after running it for about a few minutes, I started to get incorrect utilization reports with output of 100 utilization at intervals, which only happened on this multi-core CPU, which is NUMA architecture:
The text was updated successfully, but these errors were encountered: