• epenner@chromium.org's avatar
    Telemetry: Set scaling governor on all cpus (on all devices) · b51cfab2
    epenner@chromium.org authored
    We try to set the scaling governor for all CPU cores, but
    this doesn't work SOCs that dynamically disable cores
    entirely (ie. Qualcomm). Since this only happens on Qcomm,
    this patch stops the 'mpdecision' process on Qualcomm, which
    makes it behave like other devices.
    
    PERF-SHERIFFS: This may improve metrics for the better given
    all cores are in 'performance' mode now. It should hopefully
    reduce noise, since a different number of cores might have
    had 'performance' set on each run, and any code that runs on
    a non-performance core will suffer from noisy timings/rates.
    
    Example: Tough-compositor-cases std-dev went from 0.25ms to
    0.04ms with this change.
    
    BUG=383566
    
    Review URL: https://codereview.chromium.org/338233003
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278837 0039d316-1c4b-4281-b951-d872f2087c98
    b51cfab2
perf_controller.py 6.84 KB