Exercise Set 2 - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

Exercise Set 2

Description:

The goal in RTS is to make them as predictable as possible. ... system response more optimal (lower mean tardiness) at the expense of being less ... – PowerPoint PPT presentation

Number of Views:19
Avg rating:3.0/5.0
Slides: 8
Provided by: danielort
Category:

less

Transcript and Presenter's Notes

Title: Exercise Set 2


1
Exercise Set 2
  • Methods of Design for Embedded Systems

2
Exercise 1
  • Explain what is the tradeoff between optimality
    and predictability in a RTS

The goal in RTS is to make them as predictable as
possible. However, making the system highly
predictable may require an excessive amount of
computation. On the other hand, we can make the
system response more optimal (lower mean
tardiness) at the expense of being less
predictable.
3
Exercise 2
  • A) Show a utility function of a hard RT, which
    produces catastrophic consequences when a
    deadline is not met.

1
-1
4
Exercise 2
  • B) Show the utility function of a soft RTS where
    the early completion of an action is
    counterproductive and after missing the deadline
    the action be somewhat useful.

1
-1
5
Exercise 3
  • Use the rate monotonic scheduling analysis to
    determine if the following system of tasks Ji is
    schedulable. (Ciexecution time, Tiperiod). All
    tasks are available for executon at t0. Show the
    schedule and indicate change to make it
    schedulable

U1/42/52/7(355640)/140131/140.93 L3(21/3-
1)0.78 therefore LltU and system is not
schedulable
6
Exercise 3
  • Use the rate monotonic scheduling analysis to
    determine if the following system of tasks Ji is
    schedulable. (Ciexecution time, Tiperiod). All
    tasks are available for executon at t0. Show the
    schedule and indicate changes to make it
    schedulable

If T38 U1/42/52/8(101610)/4036/400.9.
Still L lt U but schedule
Missed deadline
7
Exercise 4
  • Use EDF algorithm to find the schedule for Ji
    tasks (aistarting time, Ciexecution time,
    dideadline). Assume all tasks have a period of
    10. Determine if it is schedulable.

Its schedulable, because all deadlines are met
Write a Comment
User Comments (0)
About PowerShow.com