mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 12:11:59 +02:00
sched/walt: Increase the number of history samples
The number history samples should be raised to a higher value so that an active history of 100ms is considered in accounting task demand. Raise the history size from 5 to 8 given the default windows size is 8ms. This will capture 64ms of history for 8ms windows, and 128ms of history for 16ms windows, granting a compromise to prevent further code bloat. Change-Id: I63ad5b2a20c9a32d3a65448a78d6aec98afe6ad5 Signed-off-by: Shaleen Agrawal <quic_shalagra@quicinc.com>
This commit is contained in:
parent
4735599f51
commit
4a531492c9
|
|
@ -31,7 +31,7 @@ enum task_boost_type {
|
|||
};
|
||||
|
||||
#define WALT_NR_CPUS 8
|
||||
#define RAVG_HIST_SIZE_MAX 5
|
||||
#define RAVG_HIST_SIZE_MAX 8
|
||||
#define NUM_BUSY_BUCKETS 10
|
||||
|
||||
struct walt_related_thread_group {
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ static inline void release_rq_locks_irqrestore(const cpumask_t *cpus,
|
|||
|
||||
static unsigned int walt_cpu_high_irqload;
|
||||
|
||||
static __read_mostly unsigned int sched_ravg_hist_size = 5;
|
||||
static __read_mostly unsigned int sched_ravg_hist_size = RAVG_HIST_SIZE_MAX;
|
||||
|
||||
static __read_mostly unsigned int sched_io_is_busy = 1;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user