ZenStates-Core icon indicating copy to clipboard operation
ZenStates-Core copied to clipboard

Bad PhysicalCoreCount on Ryzen 5 5500

Open Foudge opened this issue 4 months ago • 2 comments

Hi, I have a AMD Ryzen 5 5500, core Cezanne with 6C/12T, but PhysicalCoreCount is wront (8 instead of 6).

A test with last version : static void Main(string[] args) { Cpu cpu = new Cpu(); Console.WriteLine("Version=" + cpu.Version); Console.WriteLine("Status=" + cpu.Status); Console.WriteLine("Vendor=" + cpu.info.vendor); Console.WriteLine("CpuName=" + cpu.info.cpuName); Console.WriteLine("CodeName=" + cpu.info.codeName); Console.WriteLine("SmuVersion=" + cpu.GetSmuVersion()); Console.WriteLine("TableVersion=" + cpu.GetTableVersion()); Console.WriteLine("NodesPerProcessor=" + cpu.systemInfo.NodesPerProcessor); Console.WriteLine("PhysicalCoreCount=" + cpu.systemInfo.PhysicalCoreCount); Console.WriteLine("SMT=" + cpu.systemInfo.SMT); Console.WriteLine("Threads=" + cpu.systemInfo.Threads); } The output :

Version=1.75.0 Status=OK Vendor=AuthenticAMD CpuName=AMD Ryzen 5 5500 CodeName=Cezanne SmuVersion=4213248 TableVersion=4194309 NodesPerProcessor=1 PhysicalCoreCount=8 SMT=True Threads=12

Foudge avatar Aug 21 '25 14:08 Foudge

Hi,

I believe that should be correct. The naming might not be very accurate, but the purpose of this property is to show the physical core count, including factory disabled cores. In case of Cezanne, it is a monolitic die with 8 cores in total. There's another prop called FusedCoreCount that should report stock core count configuration.

Overall, this information is probably incorrect on some SKUs as addresses to read CCD and core count vary between generations.

irusanov avatar Aug 21 '25 14:08 irusanov

So, I must use FusedCoreCount property to have the enabled cores, and not PhysicalCoreCount ? I said "I" but I am here because of [ZenStates-Cores](https://github.com/rawhide-kobayashi/ryzen-smu-cli/) tool that give me an error core count.

edit: I can confirm that FusedCoreCount=6

Foudge avatar Aug 21 '25 15:08 Foudge