Skip to content

PVManager: max update rate has large impact on CPU usage #84

@xihui

Description

@xihui

My test case is based on the BOY performance test opi and softIOC. It has 300 PVs update at 10 hz and 700 PVs update at 1Hz. The OPI has 1000 text updates widgets.

Here is my test result (The CPU usage is a personal round average value using Windows Task Manager):

Max Update Rate PVManager CPU (with CSS Minimized) Utility PV CPU ( with CSS Minimized)
maxRate(ofMillis(10)) 42%(35%) 18% (3%)
maxRate(ofMillis(50)) 25%(10%) 17% (3%)
maxRate(ofMillis(100)) 22%(8%) 17% (3%)
maxRate(ofMillis(500)) 8% (4%) 6% (2%)

In my opinion, if the max update rate is faster than PV's update rate, it should not use too much extra CPU.

Here is a screenshot of JProfiler when it is using PVManager:

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions