Allow Users To Modify Polling Rate #4

Merged
Ta180m merged 1 commit from sensor_rate into master 2021-04-01 18:34:36 +00:00
Ta180m commented 2021-04-01 18:34:27 +00:00 (Migrated from github.com)

This patch allows users to modify how quickly sensors are polled.

One of the major features of Zen+ and newer processors is the ability
for them to perform gated sleeping on one or multiple cores at a time,
where power consumption of the gated core is "basically zero".

Since, by default, the application uses a polling rate of 300ms, the
power saving features of cores sleeping on Zen+ and newer is negated
when a sensor or MSR is probed often.

Allowing the users to modify the polling rate from between 50ms and
up to 60 seconds improves power saving by preventing cores from being
awoken multiple times a second when it isn't needed.

This patch allows users to modify how quickly sensors are polled. One of the major features of Zen+ and newer processors is the ability for them to perform gated sleeping on one or multiple cores at a time, where power consumption of the gated core is "basically zero". Since, by default, the application uses a polling rate of 300ms, the power saving features of cores sleeping on Zen+ and newer is negated when a sensor or MSR is probed often. Allowing the users to modify the polling rate from between 50ms and up to 60 seconds improves power saving by preventing cores from being awoken multiple times a second when it isn't needed.
Sign in to join this conversation.
No description provided.