• S
    cpufreq: intel_pstate: Improve IO performance with per-core P-states · 7bde2d50
    Srinivas Pandruvada 提交于
    In the current implementation, the response latency between seeing
    SCHED_CPUFREQ_IOWAIT set and the actual P-state adjustment can be up
    to 10ms.  It can be reduced by bumping up the P-state to the max at
    the time SCHED_CPUFREQ_IOWAIT is passed to intel_pstate_update_util().
    With this change, the IO performance improves significantly.
    
    For a simple "grep -r . linux" (Here linux is the kernel source
    folder) with caches dropped every time on a Broadwell Xeon workstation
    with per-core P-states, the user and system time is shorter by as much
    as 30% - 40%.
    
    The same performance difference was not observed on clients that don't
    support per-core P-state.
    Signed-off-by: NSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
    [ rjw: Changelog ]
    Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
    7bde2d50
intel_pstate.c 57.5 KB