From: Dietmar Eggemann <dietmar.eggemann@arm.com>
To: Parth Shah <parth@linux.ibm.com>, linux-kernel@vger.kernel.org
Cc: peterz@infradead.org, mingo@redhat.com,
vincent.guittot@linaro.org, patrick.bellasi@matbug.net,
valentin.schneider@arm.com, qais.yousef@arm.com, pavel@ucw.cz,
dhaval.giani@oracle.com, qperret@qperret.net,
David.Laight@ACULAB.COM, morten.rasmussen@arm.com,
pjt@google.com, tj@kernel.org, viresh.kumar@linaro.org,
rafael.j.wysocki@intel.com, daniel.lezcano@linaro.org
Subject: Re: [RFC 0/3] Introduce per-task latency_tolerance for scheduler hints
Date: Thu, 5 Dec 2019 10:24:33 +0100 [thread overview]
Message-ID: <450fc7e2-49d5-d809-281f-7d9a99d3e530@arm.com> (raw)
In-Reply-To: <20191125094618.30298-1-parth@linux.ibm.com>
On 25/11/2019 10:46, Parth Shah wrote:
> This patch series is based on the discussion started as the "Usecases for
> the per-task latency-nice attribute"[1]
>
> This patch series introduces a new per-task attribute latency_tolerance to
> provide the scheduler hints about the latency requirements of the task.
I forgot but is there a chance to have this as a per-taskgroup attribute
as well?
> Latency_tolerance is a ranged attribute of a task with the value ranging
> from [-20, 19] both inclusive which makes it align with the task nice
> value.
>
> The value should provide scheduler hints about the relative latency
> requirements of tasks, meaning the task with "latency_tolerance = -20"
> should have lower latency than compared to those tasks with higher values.
> Similarly a task with "latency_tolerance = 19" can have higher latency and
> hence such tasks may bot care much about the latency numbers.
>
> The default value is set to 0. The usecases defined in [1] can use this
> range of [-20, 19] for latency_tolerance for the specific purpose. This
> patch does not define any use cases for such attribute so that any change
> in naming or range does not affect much to the other (future) patches using
> this. The actual use of latency_tolerance during task wakeup and
> load-balancing is yet to be coded for each of those usecases.
This can definitely be useful for Android/EAS by replacing the current
proprietary solution in android-google-common android-5.4:
commit 760b82c9b88d ("ANDROID: sched/fair: Bias EAS placement for latency")
commit c28f9d3945f1 ("ANDROID: sched/core: Add a latency-sensitive flag
to uclamp")
which links to usercase 6 (EAS) in [1].
next prev parent reply other threads:[~2019-12-05 9:24 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-25 9:46 Parth Shah
2019-11-25 9:46 ` [RFC 1/3] Introduce latency-tolerance as an per-task attribute Parth Shah
2019-12-03 8:36 ` Qais Yousef
2019-12-03 15:47 ` Parth Shah
2019-12-05 9:24 ` Dietmar Eggemann
2019-12-05 11:42 ` Parth Shah
2019-11-25 9:46 ` [RFC 2/3] Propagate parent task's latency requirements to the child task Parth Shah
2019-11-25 9:46 ` [RFC 3/3] Allow sched_{get,set}attr to change latency_tolerance of the task Parth Shah
2019-12-03 8:39 ` Qais Yousef
2019-12-03 15:51 ` Parth Shah
2019-12-05 9:24 ` Dietmar Eggemann
2019-12-06 16:04 ` Dietmar Eggemann
2019-12-08 5:52 ` Parth Shah
2019-12-05 9:24 ` Dietmar Eggemann [this message]
2019-12-05 10:49 ` [RFC 0/3] Introduce per-task latency_tolerance for scheduler hints Valentin Schneider
2019-12-05 14:03 ` Dietmar Eggemann
2019-12-05 17:13 ` Parth Shah
2019-12-06 12:31 ` Dietmar Eggemann
2019-12-08 5:57 ` Parth Shah
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=450fc7e2-49d5-d809-281f-7d9a99d3e530@arm.com \
--to=dietmar.eggemann@arm.com \
--cc=David.Laight@ACULAB.COM \
--cc=daniel.lezcano@linaro.org \
--cc=dhaval.giani@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=morten.rasmussen@arm.com \
--cc=parth@linux.ibm.com \
--cc=patrick.bellasi@matbug.net \
--cc=pavel@ucw.cz \
--cc=peterz@infradead.org \
--cc=pjt@google.com \
--cc=qais.yousef@arm.com \
--cc=qperret@qperret.net \
--cc=rafael.j.wysocki@intel.com \
--cc=tj@kernel.org \
--cc=valentin.schneider@arm.com \
--cc=vincent.guittot@linaro.org \
--cc=viresh.kumar@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome