[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RTEMS time overflow problem



Masim,

unfortunately you did not mention how you created the tasks. did you
apply the scheduling priorities properly (Note: The rate monotonic
manager does NOT change task priorities. In just makes the tasks "ready"
at the proper time.).

Did you make the tasks preemptable?

wkr,
Thomas.

Nasim Zehra wrote:
> dear users
>    also tell me that if i select periods of tasks such that when they are executed ,they are in running condition and before they are deleted ,time over flow error is occurred.Is there any solution for that.
> i am having four tasks
> 1st--------executed in 2202 ticks
> 2nd-------// //            848
> 3rd-----------------------246
> 4th--------------------88
>  above mentioned ticks are equal to execution time of respective tasks.
> now i am selecting periods for them randomly so that upper bound condition for 4 tasks should be met according to rule of rate monotonic schedualing.like that
>  1st---------8000 period in terms of ticks
> 2nd---------3000
> 3rd---------2000
> 4th---------5000
> 
> using these periods my U = 69.85%
> while theoritical U= 4(2(1/4) - 1)= 75.682%
>  so 69 %<75%
> => tasks are scheduable.
> but implementing it causes ime oveflow error on T simulator for leon3 processor.
> 
> kindly help out.
> 
> regards
> --------
> nasim
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users


-- 

--------------------------------------------
Embedded Brains GmbH
Thomas Doerfler        Obere Lagerstrasse 30
D-82178 Puchheim       Germany
email: Thomas.Doerfler at embedded-brains.de
Phone: +49-89-18908079-2
Fax:   +49-89-18908079-9