lkml.org 
[lkml]   [2017]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH RFC] sched/deadline: Use the revised wakeup rule for suspending constrained dl tasks
From
Date
On 04/24/2017 05:18 PM, Daniel Bristot de Oliveira wrote:
> remaining runtime = 4
> laxity = 5
Oops! The laxity is 5... so...

> Knowing the laxity of a task (deadline - t), it is possible to move
> it to the other side of the equality, thus enabling to define max
> remaining runtime a task can use within the absolute deadline, without
> over-running the allowed density:
>
> runtime = (dl_runtime / dl_deadline) * (deadline - t)
>
> For instance, in our previous example, the task could still run:
>
> runtime = ( 5 / 7 ) * 4
> runtime = 2.85 ms

This should be:
runtime = ( 5 / 7 ) * 5
runtime = 3.57 ms

even better :-)

-- Daniel

\
 
 \ /
  Last update: 2017-04-24 22:44    [W:0.087 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site