Bug 12193 - cpu graphs cannot created if smt is disabled
Summary: cpu graphs cannot created if smt is disabled
Status: CLOSED FIXED
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: unspecified Unspecified
: - Unknown - - Unknown -
Assignee: Michael Tremer
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-29 12:34 UTC by Daniel Weismüller
Modified: 2020-10-13 19:19 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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