[Bug?] CPU Core Counts >=64 Measure=CPU & UsageMonitor Wrong
Posted: January 31st, 2021, 3:31 am
I'm writing a skin to monitor each CPU core on a dual AMD EPYC 7742 64-Core Processor. This system has 256 logical cores. I have found that as soon as I attempt to measure a CPU above 64, the usual CPU Measure throws an error in the log "CPU: Processor=65 is not valid" and while UsageMonitor doesn't throw any errors I can see, it simply does not work for Name=>64. OS here is WinServer 2019. I've tried Rain 4.3 and 4.4 r3412.
I assume CPU Measure is a known limitation given the error. Is the issue with the UsageMonitor also a known bug/limitation? Can this be fixed soon? Is there a workaround without using say the HWInfo plugin (haven't tried it yet so don't know if works but would prefer not have to install this tool)?
While the above processor is a server-class device, you can already buy AMD Threadripper Processors with 64 logical cores. Aside from existing servers, I'm pretty sure there will be PC/Workstation systems in the wild at some point soon with >64 logical cores.
Here's a simple skin that shows the issue using both measure methods:
I assume CPU Measure is a known limitation given the error. Is the issue with the UsageMonitor also a known bug/limitation? Can this be fixed soon? Is there a workaround without using say the HWInfo plugin (haven't tried it yet so don't know if works but would prefer not have to install this tool)?
While the above processor is a server-class device, you can already buy AMD Threadripper Processors with 64 logical cores. Aside from existing servers, I'm pretty sure there will be PC/Workstation systems in the wild at some point soon with >64 logical cores.
Here's a simple skin that shows the issue using both measure methods:
Code: Select all
[Rainmeter]
Update=1000
BackgroundMode=2
SolidColor=0,0,0,255
[MeasureCPU]
Measure=CPU
Processor=65
[MeasureCPUUsageMonitor]
Measure=Plugin
Plugin=UsageMonitor
Category=Processor
Counter=% Processor Time
Name=65
MinValue=0
MaxValue=100
[MeterText]
Meter=String
MeasureName=MeasureCPU
X=5
Y=5
W=180
H=35
FontColor=255,255,255,255
NumOfDecimals=1
Text="Core CPUMeasure %1%#CRLF#Core UsageMonitor [MeasureCPUUsageMonitor] : [MeasureCPUUsageMonitor:1]%"
DynamicVariables=1