Re: [RFC][PATCH 09/22] sched: add period support for -deadline tasks

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Raistlin
Date: Thursday, November 11, 2010 - 12:31 pm

On Thu, 2010-11-11 at 20:17 +0100, Peter Zijlstra wrote:
Well, apart from that really unhappy comment/changelog, it should be
like that in the code, and if it's not, it is what I meant and I'll
change to that as soon as I can! :-)

Since you spotted it... The biggest issue here is admission control
test. Right now this is done against task's bandwidth, i.e.,
sum_i(runtime_i/period_i)<=threshold, but it is unfortunately wrong...
Or at least very, very loose, to the point of being almost useless! :-(

The more correct --in the sense that it at least yield a sufficient (not
necessary!) condition-- thing to do would be
sum_i(runtime_i/min{deadline_i,period_i})<=threshold.

So, what you think we should do? Can I go for this latter option?

Thanks,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
----------------------------------------------------------------------
Dario Faggioli, ReTiS Lab, Scuola Superiore Sant'Anna, Pisa  (Italy)

http://blog.linux.it/raistlin / raistlin@ekiga.net /
dario.faggioli@jabber.org
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC][PATCH 09/22] sched: add period support for -dead ..., Raistlin, (Thu Nov 11, 12:31 pm)
Re: [RFC][PATCH 09/22] sched: add period support for -dead ..., Tommaso Cucinotta, (Thu Nov 11, 4:33 pm)