Skip to content

Improvement in CPU usage checker #19

@gimki

Description

@gimki

ProfilerDisabler's CPU usage checker calculate the CPU usage by profiler by the average runProfiler time divided by sampling interval.

runProfiler includes time to refreshConfig, submitProfile, sampling, aggregate sample.

RefreshConfig and SubmitProfile get called every report interval (e.g. 5 minutes) while sampling and aggregate sample get called every sampling interval (e.g. 1 second).

To have a better estimation of the cpu overhead; we should consider sampling + aggregate sample separately from refreshConfig + submitProfile.

Sampling + aggregate sample overhead can stick with what CPUUsageChecker is doing now. A separate mechanism should be used for estimating the CPU overhead by submitProfile and refreshConfig

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions