Question

In: Computer Science

Provide an example of a real-time application and, to the best of your knowledge, discuss its...

  1. Provide an example of a real-time application and, to the best of your knowledge, discuss its following aspects:
  1. What would be the involved periodic tasks? What would be their release time (or release-time jitter)?
  2. What would be the aperiodic tasks in the application? What would be their release time, i.e., events that would trigger the aperiodic tasks?
  3. What would be the sporadic tasks in the application? What would be their release time, i.e., events that would trigger the aperiodic tasks?

Solutions

Expert Solution

a.

Periodic Task in the application
As the name suggests periodic tasks are type of tasks that work on the regular intervals.
*Phase of the task. Phase is release time of the first job in the task. If the phase is not mentioned then release time of first job is assumed to be zero.
*Period of the task i.e. the time interval between the release times of two consecutive jobs.
*Execution time of the task.
*Relative deadline of the task.

Release Time
*Sometimes actual release time of a job remains unknown.
*Only know that ri is in a range [ ri-, ri+ ],This range is known as release time jitter.
*Here "ri" is how early a job can be released and "ri+" is how late a job can be released.
Only range [ ei-, ei+ ] of the execution time of a job is known.   
*Here "ei" is the minimum amount of time required by a job to complete its execution and
"ei+" the maximum amount of time required by a job to complete its execution.


Real time example is,
Consider the task Ti with period = 5 and execution time = 3
Phase is not given so, assume the release time of the first job as zero. So the job of this task is first released at t = 0 then it executes for 3s and then next job is released at t = 5 which executes for 3s and then next job is released at t = 10. So jobs are released at t = 5k where k = 0, 1, . . ., n

b.

Aperiodic Task in the application

*Aperiodic task is a part of dynamic task
*In this type of task, jobs are released at arbitrary time intervals that is randomly
*Aperiodic tasks have soft deadlines or no deadlines

*The scheduling problem for aperiodic tasks is very different from the scheduling problem for
periodic tasks.
*Scheduling algorithms for aperiodic tasks must be able to guarantee the
deadlines for hard deadline aperiodic tasks and provide good average response times for
soft deadline aperiodic tasks even though the occurrence of the aperiodic requests are nondeterministic.

*Deadline remains as the important triggering factor for aperiodic tasks..

Release time-Aperiodic task

*Release time - It is the time at which the process becomes ready to execute. For aperiodic,the process is initiated by an event.
*The release time for aperiodic is measured from that event onwards.

c.

Sporadic Tasks in the Application
*Sporadic Tasks are similar to aperiodic tasks
*They repeat at random instances.
*The only difference is that sporadic tasks have hard deadlines.
*execution time of the task.
*minimum separation between the occurrence of two consecutive instances of the task.
*relative deadline of the task.

Release Time

One of its jobs Ji,c is released at t0
*A job in every higher-priority periodic task is released at t0
* The budget of the server is eS at t0, one or more aperiodic jobs are released at t0, and they
keep the server backlogged hereafter
*The next replenishment time of the server is t0 + eS


Related Solutions

Provide at least one example of a real-life application of a titration related to your major/intended...
Provide at least one example of a real-life application of a titration related to your major/intended career path. Include citations for resources used on this question. Electrical Engineering ___________________
Provide an example of how your organization uses managerial accounting. Discuss why this application of managerial...
Provide an example of how your organization uses managerial accounting. Discuss why this application of managerial accounting contributes the organization's success
•Provide one (1) real-life example or application of a binomial distribution. Explain how the example matches...
•Provide one (1) real-life example or application of a binomial distribution. Explain how the example matches the conditions for the binomial distribution. •Determine the conditions under which you would use a discrete probability distribution rather than a continuous probability distribution. Provide one (1) example to illustrate your reasoning
What is the Central Limit Theorem? Discuss an example of its application.
What is the Central Limit Theorem? Discuss an example of its application.
Discuss the application of multiple regression model using a real-life example. [Hint: You are supposed to...
Discuss the application of multiple regression model using a real-life example. [Hint: You are supposed to examine a possible relationship between a dependent and at least three important independent variables in the example which you have chosen. Identify dependent variable and independent variable and write the mathematical regression equation for the example and explain each component of the equation.]
4) Provide a business example or application of how BE analysis is used. 5) Discuss how...
4) Provide a business example or application of how BE analysis is used. 5) Discuss how breakeven analysis helps managers create revenue or pricing strategies.
Provide an example in which real-time data can be used as a competitive advantage for corporations....
Provide an example in which real-time data can be used as a competitive advantage for corporations. Why do you feel this real-time data is an advantage? How long can the advantage last?
Provide a real-world example of a wholesaler, a distributor, and a retailer. Discuss the differences among...
Provide a real-world example of a wholesaler, a distributor, and a retailer. Discuss the differences among them.
What is the Central Limit Theorem? Discuss an example of its application. What is meant by...
What is the Central Limit Theorem? Discuss an example of its application. What is meant by sampling distribution of the sample proportion? What are confidence intervals? How do you construct confidence intervals?
c++ language for this assignment use real world example. Your application must be a unique project...
c++ language for this assignment use real world example. Your application must be a unique project and must incorporate the use of an STL container and/or iterator and at least 7 STL algorithms with an option to exit. Your application must contain at least 8 menu options. You will decide how to implement these menu selections.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT