It is currently March 28th, 2024, 4:33 pm

AdvancedCPU plugin lags Rainmeter horrendously

Report bugs with the Rainmeter application and suggest features.
User avatar
raiguard
Posts: 660
Joined: June 25th, 2015, 7:02 pm
Location: The Sky, USA
Contact:

AdvancedCPU plugin lags Rainmeter horrendously

Post by raiguard »

The AdvancedCPU plugin lags Rainmeter. Hard. If there are any AdvancedCPU measures active, Rainmeter hangs for half a second every time that skin updates. Even in a barebones skin, it causes all other skins to lag and increases Rainmeter's CPU usage by 5-6% (1.7% -> 6.8% on average, Intel Core i7-6700).

I sincerely hope this can be fixed. Tested on 4.1.0.2989 and 4.2.0.3018.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: AdvancedCPU plugin lags Rainmeter horrendously

Post by jsmorley »

raiguard wrote:The AdvancedCPU plugin lags Rainmeter. Hard. If there are any AdvancedCPU measures active, Rainmeter hangs for half a second every time that skin updates. Even in a barebones skin, it causes all other skins to lag and increases Rainmeter's CPU usage by 5-6% (1.7% -> 6.8% on average, Intel Core i7-6700).

I sincerely hope this can be fixed. Tested on 4.1.0.2989 and 4.2.0.3018.
Does no such thing for me, or for the million or so other people using Rainmeter... ;-)

You might want to look at this:

https://forum.rainmeter.net/viewtopic.php?f=118&t=23156
User avatar
raiguard
Posts: 660
Joined: June 25th, 2015, 7:02 pm
Location: The Sky, USA
Contact:

Re: AdvancedCPU plugin lags Rainmeter horrendously

Post by raiguard »

I tried every method that page detailed. No effect. And a side note, it's only AdvancedCPU measures that are lagging Rainmeter. PerfMon measures are unaffected.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: AdvancedCPU plugin lags Rainmeter horrendously

Post by jsmorley »

raiguard wrote:I tried every method that page detailed. No effect. And a side note, it's only AdvancedCPU measures that are lagging Rainmeter. PerfMon measures are unaffected.
Yeah, in poking around a bit, AdvancedCPU is a bit of a pig. I'd be tempted to stay with Perfmon, or maybe even better, the Nomferp plugin written by ailia. I think that is actual the most efficient of the bunch.
User avatar
raiguard
Posts: 660
Joined: June 25th, 2015, 7:02 pm
Location: The Sky, USA
Contact:

Re: AdvancedCPU plugin lags Rainmeter horrendously

Post by raiguard »

Ooo, Nomferp looks amazing. I was actually looking for a way to list processes by CPU usage as well, so it's a double win! Thanks for the help. :thumbup:
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: AdvancedCPU plugin lags Rainmeter horrendously

Post by jsmorley »

Man, you are right, AdvancedCPU is a pantsload...
User avatar
SilverAzide
Rainmeter Sage
Posts: 2588
Joined: March 23rd, 2015, 5:26 pm
Contact:

Re: AdvancedCPU plugin lags Rainmeter horrendously

Post by SilverAzide »

raiguard wrote:The AdvancedCPU plugin lags Rainmeter. Hard.
jsmorley wrote:Man, you are right, AdvancedCPU is a pantsload...
I recently created a "Top Process" skin just for fun, which uses a lot of AdvancedCPU measures. On one PC, my CPU usage for Rainmeter went from ~1.5% to about 5%. On another machine, with the same skins active, it went from ~1.5% to nearly 15%! The only real difference was the latter machine is an Enterprise system running a lot of service processes, so a lot of active AdvancedCPU measures really does hammer Rainmeter.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: AdvancedCPU plugin lags Rainmeter horrendously

Post by jsmorley »

It's not even so much the CPU, but it does "lag" things. We are looking into it.
User avatar
raiguard
Posts: 660
Joined: June 25th, 2015, 7:02 pm
Location: The Sky, USA
Contact:

Re: AdvancedCPU plugin lags Rainmeter horrendously

Post by raiguard »

SilverAzide wrote:I recently created a "Top Process" skin just for fun
That's funny, the only reason I really noticed that AdvancedCPU uses so many resources is because I'm creating a process meter right now.
2018-01-18 20_33_32-.png
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: AdvancedCPU plugin lags Rainmeter horrendously

Post by jsmorley »

But if you use NomFerp, it uses almost no resources...
PerfCounterSort_1.0.rmskin
(2.18 MiB) Downloaded 57 times
1.png

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

[Variables]
TextFont=Fira Sans
TextSize=11
TextColor=235,245,255,255
DeadColor=170,180,190,255
OddColor=30,40,50
EvenColor=50,60,70

[MeasureListProcess]
Measure=Plugin
Plugin=NomFerp.dll
Order=% Processor Time
Mode=Difference
Filter=_Total|Idle|dwm|wmpnetwk|csrss|svchost|lsass|System|system
OnUpdateAction=[!UpdateMeasureGroup All]

[MeasureProcess1Name]
Measure=Plugin
Plugin=NomFerp.dll
Group=All
ParentName=MeasureListProcess
Counter=Name
Instance=1
UpdateDivider=-1
RegExpSubstitute=1
Substitute="(?siU)^(.*)#.*$":"\1"

[MeasureProcess1CPU]
Measure=Plugin
Plugin=NomFerp.dll
Group=All
ParentName=MeasureListProcess
Counter=% Processor Time
Mode=DifferenceTotalPercent
Instance=1
UpdateDivider=-1
IfCondition=#CURRENTSECTION# = 0
IfTrueAction=[!SetOptionGroup 1 FontColor "#DeadColor#"]
IfFalseAction=[!SetOptionGroup 1 FontColor "#TextColor#"]
IfConditionMode=1

[MeasureProcess2Name]
Measure=Plugin
Plugin=NomFerp.dll
Group=All
ParentName=MeasureListProcess
Counter=Name
Instance=2
UpdateDivider=-1
RegExpSubstitute=1
Substitute="(?siU)^(.*)#.*$":"\1"

[MeasureProcess2CPU]
Measure=Plugin
Plugin=NomFerp.dll
Group=All
ParentName=MeasureListProcess
Counter=% Processor Time
Mode=DifferenceTotalPercent
Instance=2
UpdateDivider=-1
IfCondition=#CURRENTSECTION# = 0
IfTrueAction=[!SetOptionGroup 2 FontColor "#DeadColor#"]
IfFalseAction=[!SetOptionGroup 2 FontColor "#TextColor#"]
IfConditionMode=1

[MeasureProcess3Name]
Measure=Plugin
Plugin=NomFerp.dll
Group=All
ParentName=MeasureListProcess
Counter=Name
Instance=3
UpdateDivider=-1
RegExpSubstitute=1
Substitute="(?siU)^(.*)#.*$":"\1"

[MeasureProcess3CPU]
Measure=Plugin
Plugin=NomFerp.dll
Group=All
ParentName=MeasureListProcess
Counter=% Processor Time
Mode=DifferenceTotalPercent
Instance=3
UpdateDivider=-1
IfCondition=#CURRENTSECTION# = 0
IfTrueAction=[!SetOptionGroup 3 FontColor "#DeadColor#"]
IfFalseAction=[!SetOptionGroup 3 FontColor "#TextColor#"]
IfConditionMode=1

[MeasureProcess4Name]
Measure=Plugin
Plugin=NomFerp.dll
Group=All
ParentName=MeasureListProcess
Counter=Name
Instance=4
UpdateDivider=-1
RegExpSubstitute=1
Substitute="(?siU)^(.*)#.*$":"\1"

[MeasureProcess4CPU]
Measure=Plugin
Plugin=NomFerp.dll
Group=All
ParentName=MeasureListProcess
Counter=% Processor Time
Mode=DifferenceTotalPercent
Instance=4
UpdateDivider=-1
IfCondition=#CURRENTSECTION# = 0
IfTrueAction=[!SetOptionGroup 4 FontColor "#DeadColor#"]
IfFalseAction=[!SetOptionGroup 4 FontColor "#TextColor#"]
IfConditionMode=1

[MeasureProcess5Name]
Measure=Plugin
Plugin=NomFerp.dll
Group=All
ParentName=MeasureListProcess
Counter=Name
Instance=5
UpdateDivider=-1
RegExpSubstitute=1
Substitute="(?siU)^(.*)#.*$":"\1"

[MeasureProcess5CPU]
Measure=Plugin
Plugin=NomFerp.dll
Group=All
ParentName=MeasureListProcess
Counter=% Processor Time
Mode=DifferenceTotalPercent
Instance=5
UpdateDivider=-1
IfCondition=#CURRENTSECTION# = 0
IfTrueAction=[!SetOptionGroup 5 FontColor "#DeadColor#"]
IfFalseAction=[!SetOptionGroup 5 FontColor "#TextColor#"]
IfConditionMode=1

[MeasureCPUDelay]
Measure=Calc
Formula=MeasureCPU
MinValue=0
MaxValue=100

[MeasureCPU]
Measure=CPU

[StyleTextAll]
FontFace=#TextFont#
FontSize=#TextSize#
FontColor=#TextColor#
AntiAlias=1

[StyleTextLeft]
X=5
Y=4R
W=200
H=16
Padding=5,3,5,5

[StyleTextRight]
X=210
Y=3r
StringAlign=Right
NumOfDecimals=1
Text="%1%"

[MeterBackground]
Meter=Image
W=220
H=160
SolidColor=10,20,30,255

[MeterCPUBar]
Meter=Bar
X=5
Y=5
W=210
H=24
MeasureName=MeasureCPUDelay
BarColor=205,215,225,255
BarOrientation=Horizontal
SolidColor=50,60,70,255

[MeterCPUText]
Meter=String
MeterStyle=StyleTextAll | StyleTextRight
MeasureName=MeasureCPU

[MeterProcess1Name]
Meter=String
MeterStyle=StyleTextAll | StyleTextLeft
Group=1
MeasureName=MeasureProcess1Name
Y=10R
SolidColor=#OddColor#

[MeterProcess1CPU]
Meter=String
MeterStyle=StyleTextAll | StyleTextRight
Group=1
MeasureName=MeasureProcess1CPU

[MeterProcess2Name]
Meter=String
MeterStyle=StyleTextAll | StyleTextLeft
Group=2
MeasureName=MeasureProcess2Name
SolidColor=#EvenColor#

[MeterProcess2CPU]
Meter=String
MeterStyle=StyleTextAll | StyleTextRight
Group=2
MeasureName=MeasureProcess2CPU

[MeterProcess3Name]
Meter=String
MeterStyle=StyleTextAll | StyleTextLeft
Group=3
MeasureName=MeasureProcess3Name
SolidColor=#OddColor#

[MeterProcess3CPU]
Meter=String
MeterStyle=StyleTextAll | StyleTextRight
Group=3
MeasureName=MeasureProcess3CPU

[MeterProcess4Name]
Meter=String
MeterStyle=StyleTextAll | StyleTextLeft
Group=4
MeasureName=MeasureProcess4Name
SolidColor=#EvenColor#

[MeterProcess4CPU]
Meter=String
MeterStyle=StyleTextAll | StyleTextRight
Group=4
MeasureName=MeasureProcess4CPU

[MeterProcess5Name]
Meter=String
MeterStyle=StyleTextAll | StyleTextLeft
Group=5
MeasureName=MeasureProcess5Name
SolidColor=#OddColor#

[MeterProcess5CPU]
Meter=String
MeterStyle=StyleTextAll | StyleTextRight
Group=5
MeasureName=MeasureProcess5CPU
Post Reply