Reduced the threshold to go from 2->3core to 2.25 avg. threads instead of
2.75 avg. threads.
This allows us to respond faster to load and gives us better perf in some
cases.
Change-Id: I0833416915b978d8fe20ca4e040e56ab9201042c
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/764515
GVS: Gerrit_Virtual_Submit
Tested-by: Daniel Dworakowski <ddworakowski@nvidia.com>
Reviewed-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
#define NR_FSHIFT (1 << NR_FSHIFT_EXP)
/* avg run threads * 8 (e.g., 11 = 1.375 threads) */
static unsigned int default_thresholds[] = {
- 10, 18, 20, UINT_MAX
+ 10, 14, 20, UINT_MAX
};
static unsigned int nr_run_last;