Bug 12193

Summary: cpu graphs cannot created if smt is disabled
Product: IPFire Reporter: Daniel Weismüller <daniel.weismueller>
Component: ---Assignee: Michael Tremer <michael.tremer>
Status: CLOSED FIXED QA Contact:
Severity: - Unknown -    
Priority: - Unknown - CC: michael.tremer, peter.mueller
Version: 2   
Hardware: unspecified   
OS: Unspecified   

Description Daniel Weismüller 2019-09-29 12:34:47 UTC
If the system has vulnerabilities and so hyperthreading is disabled the cpu graphs cannot be created.

I tried to fix it and deleted all rrd-files. After that i get the following message:

Error in RRD::graph for cpu: opening '/var/log/rrd/collectd/localhost/cpu-4/cpu-wait.rrd': No such file or directory

So I forced using smt and the graphs showup correctly again.
Comment 1 Arne.F 2020-09-03 14:47:15 UTC
I think this need a rewrite of the whole cpu graph. Looks like there are invalid values for the disabled cores and the current loops doesn't work with it.

For a dual core with HT we have data for cpu0 and cpu2 but not for cpu1 and cpu3...
Comment 2 Michael Tremer 2020-09-18 07:45:03 UTC
https://patchwork.ipfire.org/patch/3471/
Comment 4 Peter Müller 2020-10-13 19:19:12 UTC
This has been fixed in Core Update 150.

https://blog.ipfire.org/post/ipfire-2-25-core-update-150-released