Performance discrepancy in monitoring with psutil between Linux and Windows #2827
emredav
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am developing a cross-platform system monitoring tool(using with psutil) to track CPU, RAM, and network usage. My application frequently iterates through processes to analyze network connections and calculate system-wide metrics.
During these processes, Windows uses about three times more CPU than Linux. What is the root cause of this?
There might be more processes running on Windows, but I don't think there will be three times the CPU usage.
What are the underlying architectural reasons for this performance gap in psutil (/proc filesystem on Linux vs. Win32/WMI APIs on Windows)?
All reactions