GNOME Bugzilla – Bug 635939
[patch] cpu usage graph unusable for 4+ cpus/cores
Last modified: 2012-11-09 20:10:15 UTC
Created attachment 175370 [details] [review] draw the CPU graph as a stacked area chart On a quad-core machine, the CPU usage graphs become so intertwined that it becomes very hard to see the actual total usage, or even to follow one of the lines. I propose using stacked area graphs. I have attached a patch that implements this and a pair of before and after screenshots. There is a drawing glitch with the patch that I can't seem to resolve (see the right side of the 2nd screenshot).
Created attachment 175372 [details] normal line graphs
Created attachment 175373 [details] stacked area graph
*** Bug 645662 has been marked as a duplicate of this bug. ***
Created attachment 184271 [details] [review] Temporary workaround for CPU with more than 4 cores Use the same color for cpu0, cpu4, cpu8, etc This at least allows to have an infinite number of cores, not being limited by the schema.
Review of attachment 184271 [details] [review]: This is definitely a band-aid for something that needs a more thoughtful fix. I'm looking into it. May ask for a hard freeze exception for this work-around patch. Thanks.
Bug #632188 contains a patch which works for an unlimited number of cores, by putting the list of colors in one GSettings key as a comma separated list of strings. This lets the user set a color separately for each core, and is not limited by the schema.
*** Bug 668929 has been marked as a duplicate of this bug. ***
[Adding missing "QA Contact" entry so system monitor bug report changes can still be watched via the "Users to watch" list on https://bugzilla.gnome.org/userprefs.cgi?tab=email when the assignee is changed to an individual.]
I absolutely like this stacked chart idea, as it clearly improves the situation on systems with many cores, and also helps user deciding the average CPU usage (fixing bug 498874).
*** Bug 498874 has been marked as a duplicate of this bug. ***
Created attachment 220908 [details] [review] Proposed patch updated I have updated the attached patch to work with the latest trunk.
*** Bug 466006 has been marked as a duplicate of this bug. ***
I have added an option in the preferences to turn on CPU stacked area chart display, the option defaults to false for now, you will have to turn it on manually. If it gets positive overall feedback, we might enable it later by default. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.