https://bugs.kde.org/show_bug.cgi?id=490675
Bug ID: 490675 Summary: [cpu_plugin] k10temp does not work for multi-die systems Classification: Frameworks and Libraries Product: ksystemstats Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: General Assignee: plasma-b...@kde.org Reporter: l...@lokis-chaos.de CC: ahiems...@heimr.nl Target Milestone: --- Created attachment 171913 --> https://bugs.kde.org/attachment.cgi?id=171913&action=edit Topology of 2970WX ThreadRipper SUMMARY The k10temp implementastion in the cpu_plugin of ksystemstats maps the value of tdie or tctl to all CPU cores. This ignores the fact, that there are multi-die CPUs like ThreadRipper. In `linuxcpuplugin.cpp`, `LinuxCpuPluginPrivate::addSensorsAmd()` is called once for each found k10temp sensor. Each call sets the found sensor for all cpu cores. On ThreadRipper Systems, more then one die is present (see attachment). This looses important information. Also, the k10temp sensor is blacklisted in the lmsensors plugin, despite the fact that this seems to be the only logical way to provide those temperatures. STEPS TO REPRODUCE 1. Run a threadripper system 2. get the temperatures for all CPU cores 3. compare them OBSERVED RESULT all values are identical EXPECTED RESULT the values should differ, as different cores are on different dies with different temperatures SOFTWARE/OS VERSIONS git commit b994c553f2e5d5d235f289c0112f1509b18e4e45 ADDITIONAL INFORMATION This may also be related to missing temperature values over all #474766 -- You are receiving this mail because: You are watching all bug changes.