Commit f66c2d64 authored by Jesse McKenna's avatar Jesse McKenna Committed by Commit Bot

Add SlowDCTimerInterruptsWin field-trial config

This change adds a field-trial testing config for the experiment
SlowDCTimerInterruptsWin so that it can be enabled on 50% of the Beta
channel.

Background on the SlowDCTimerInterruptsWin experiment:

Windows implements timers (e.g., sleep(50), wait(100)) by polling at
some frequency for any waiting timers that may have finished. This is
called the 'timer-interrupt frequency', and effectively limits the
actual granularity of timers.

Chrome frequently raises Windows' global timer-interrupt frequency to
make timers more responsive. However, raising the timer-interrupt
frequency increases system power consumption, so should be done
sparingly.

Chrome currently sets the following timer-interrupt frequency limits:

Default, not raised:      64 Hz
Raised, on wall power:    1000 Hz (MinTimerIntervalHighResMs = 1)
Raised, on battery power: 250 Hz  (MinTimerIntervalLowResMs = 4)

This experiment halves the raised frequency on battery power:

Raised, on battery power: 125 Hz  (MinTimerIntervalLowResMs = 8)

This level has been reported to result in a ~4% power savings and
minimal negative impact on performance (per crbug.com/927165).

Bug: 927165
Change-Id: I1db7cbacac2697f382d815dc2a48ece905d58871
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2145761Reviewed-by: default avatarAlexei Svitkine <asvitkine@chromium.org>
Commit-Queue: Alexei Svitkine <asvitkine@chromium.org>
Cr-Commit-Position: refs/heads/master@{#759776}
parent d795ac12
...@@ -5395,6 +5395,21 @@ ...@@ -5395,6 +5395,21 @@
] ]
} }
], ],
"SlowDCTimerInterruptsWin": [
{
"platforms": [
"windows"
],
"experiments": [
{
"name": "Enabled",
"enable_features": [
"SlowDCTimerInterruptsWin"
]
}
]
}
],
"SmartDimModelV3": [ "SmartDimModelV3": [
{ {
"platforms": [ "platforms": [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment