nokyan / resources

Keep an eye on system resources
GNU General Public License v3.0
667 stars 54 forks source link

Multiple statistics in one graph #329

Open Surferlul opened 1 month ago

Surferlul commented 1 month ago

Is there an existing issue for this?

Is your feature request related to a problem? Please describe.

I find the view with multiple graphs for logical CPU cores or network usage uncomprehensive compared to the graph views in Gnome System Monitor.

Describe the solution you'd like

An alternate graph view that you can toggle in the settings to avoid visual clutter. The graph view can be used for cases where multiple related statistics are displayed in multiple graphs (for example: logical CPU cores, disk read/write, network upload/download). It would be a line graph, with different colored lines and statistics associated with a specific color

Describe alternatives you've considered

No response

Additional context

Example CPU graph from Gnome System Monitor: image

I find this to be a far superior summary view, especially for CPU usage, and think this would make Resources defacto superior to Gnome System Monitor (especially if these multi-statistic summary views can be used in the sidebar)

vs. current implementation in Resources: image

nokyan commented 1 month ago

Hi, thanks for the issue. For some things like upload/download speed for network interface this could make sense I think but I don't quite think it's a good idea for CPU usage. The graph you can see in System Monitor tends go become very messy beyond 12 threads in my opinion, I'd rather look into making the current thread usage grid more compact.

Surferlul commented 1 week ago

I think having the option would be nice because it's a very subjective matter. Even with 16 or 32 threads, this graph gives me the information I need with one look (are there threads at 100%? Are multiple threads at 100%? Are there some threads that are not pinned at 100%? Does the program switch CPU threads or stay on the same thread?). I usually just need a rough estimate of how the system is doing and information on how much headroom I have, and for this use case, the view is perfect in my opinion.

I think you could probably leave out the exact usage statistics for each core in that view, because if someone wants details they can use the split-core view.

Leaving out the exact values I'd imagine the graph to look something like this: Resources Mockup I think leaving the total CPU usage would be a good addition

But as I said it's very subjective and there are enough people like you who would find it polluted, having the option would be nice tho