SlideShare a Scribd company logo
Solution Manual for Real Time System by Jane W. S. Liu
Real Time System by Jane W. S. Liu (Pearson), the book builds on the student's background
in Operating System, Embedded System. It covers techniques for scheduling, resource access
control, and validation that are, or are likely to be, widely used in real time computing and
communication systems. Each algorithm, protocol, or mechanism is defined by pseudo code or
simple rules that can serve as a starting point of implementation. With few exceptions, each
scheduling algorithm is accompanied that your application will meet its real time requirement
when scheduling according to the algorithm.

Here, in next successive posts, I am going to post solutions for the same Text-book (Real Time
System by Jane W. S. Liu). If you find any difficulty or wants to suggest anything, feel free to
comment...:)

Link: http://targetiesnow.blogspot.in/p/solution-manual-for.html

Real Time System by Jane W. S. Liu Chapter 3.1 Solution

Q. 3.1: Because sporadic jobs may have varying release times and execution times, the
periodic task model may be too inaccurate and can lead to undue under utilization of the processor
even when the inter release times of jobs are bounded from below and their executions are
bounded from above. As an example, suppose we have a stream of sporadic jobs whose inter
release times are uniformly distributed from 9 to 11. Their execution times are uniformly
distributed from 1 to 3.
a. What are the parameters of the periodic task if we were to use such a task to model the stream?

Solution:
liu.html

http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-s-
Real Time System by Jane W. S. Liu Chapter 3.2 Solution

Q.3.2: Consider the real-time program described by the psuedo code below. Names of jobs are
in italic.
At 9 AM, start: have breakfast and go to office;
At 10 AM,
if there is class,
teach;
Else, help students;
When teach or help is done, eat_lunch;
Until 2 PM, sleep;
If there is a seminar,
If topic is interesting,
listen;
Else, read;
Else
write in office;
When seminar is over, attend social hour;
discuss;
jog;

Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_29.html

Real Time System by Jane W. S. Liu Chapter 3.3 Solution

Q.3.3:

job_1 | job_2 denotes a pipe: The result produced by job_1 is incrementally consumed
by job_2. (As an example, suppose that job_2 reads and displays one character at a time as each
handwritten character is recognized and placed in a buffer by job_1.) Draw a precedence
constraint graph to represent this producer-consumer relation between the jobs.

Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_8405.html?spref=fb

Real Time System by Jane W. S. Liu Chapter 3.4 Solution

Q.3.4: Draw a task graph to represent the flight control system described in Figure 1-3.
a) Assume the producers and consumers do not explicitly synchronize (i.e., each consumer uses the
latest result generated by each of its producers but does not wait for the completion of the
producer.)
Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_3066.html

Real Time System by Jane W. S. Liu Chapter 4.1 Solution

Q.4.1: The feasible interval of each job in the precedence graph in figure 4P-1 is given next to
its name. The execution time of all jobs are equal to 1.

a) Find the effective release times and deadlines of the jobs in the precendence graph in Figure 4P1.

Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_9175.html

Real Time System by Jane W. S. Liu Chapter 4.2 Solution

Q.4.2: The execution times of the jobs in the precedence graph in figure 4P-2 are all equal to
1, and their release times are identical. Give a non preemptive optimal schedule that minimizes
the completion time of all jobs on three processors. Describe briefly the algorithm you used to find
the schedule.

Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_4082.html
Real Time System by Jane W. S. Liu Chapter 4.4 Solution

Q.4.4: Consider a system that has five periodic tasks, A, B, C, D, and E, and three processors
P1, P2, P3. The periods of A, B, and C are 2 and their execution times are equal to 1. The periods of
D and E are 8 and their execution times are 6. The phase of every task is 0, that is, the first job of
the task is released at time 0. The relative deadline of every task is equal to its period.
a) Show that if the tasks are scheduled dynamically on three processors according to the LST
algorithm, some jobs in the system cannot meet their deadlines.
Sol:

Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_1862.html

Real Time System by Jane W. S. Liu Chapter 4.5 Solution

Q.4.5: A system contains nine non-preemptable jobs named Ji, for i = 1, 2, ..., 9. Their
execution times are 3, 2, 2, 2, 2, 4, 4, 4, 4, and 9, respectively, their release times are equal to 0,
and their deadlines are 12. J1 is the immediate predecessor of J9, and J4 is the immediate
predecessor of J5, J6, J7, and J8. There are no other precedence constraints. For all the jobs, J i has
a higher priority than Jk if i < k.
a) Draw the precedence graph of the jobs.

Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_6447.html

Real Time System by Jane W. S. Liu Chapter 4.7 Solution

Q.4.7: Consider the set of jobs in Figure 4-3. Suppose that the jobs have identical execution
time. What maximum execution time can the jobs have and still can be feasible scheduling on one
processor? Explain your answer.

Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_3971.html

Real Time System by Jane W. S. Liu Chapter 5.1(a)(b)
Solution
Q.5.1: Each of the following systems of periodic tasks is scheduled and executed according to
a cyclic schedule. For each system, choose an appropriate frame size. Preemptions are allowed,
but the number of preemption should be kept small.
a) (6, 1), (10, 2), and (18, 2)

Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_5855.html

Real Time System by Jane W. S. Liu Chapter 5.1(c)(d)
Solution

Q5.1: Each of the following systems of periodic tasks is scheduled and executed according to a
cyclic schedule. For each system, choose an appropriate frame size. Preemptions are allowed, but
the number of preemptions should be kept small.
c) (4, 0.5), (5, 1.0), (10, 2), and (24, 9)

Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_3069.html

Real Time System by Jane W. S. Liu Chapter 5.1(e)(f)
Solution

Q.5.1: Each of the following systems of periodic tasks is scheduled and executed according to
a cyclic schedule. For each system, choose an appropriate frame size. Preemptions are allowed,
but the number of preemptions should be kept small.

e) (5, 0.1), (7, 1.0), (12, 6), and (45, 9)

Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_793.html

Real Time System by Jane W. S. Liu Chapter 5.2 Solution

Q.5.2: A system uses the cyclic EDF algorithm to schedule sporadic jobs. The cyclic schedule of
periodic tasks in the system uses a frame size of 5, and a major cycle containts 6 frames. Supose
that the initial amounts of slack time in the frames are 1, 0.5, 0.5, 0.5, 1, and 1.
a.
Suppose that a sporadic job S(23, 1) arrives in frame 1, sporadic jobs S 2(16, 0.8)
and S3(20, 0.5) arrive in frame 2. In which frame are the accepted sporadic jobs scheduled?

Solution
liu_2408.html

http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-s-
Real Time System by Jane W. S. Liu Chapter 5.3 Solution

Q.5.3: Draw a network flow graph that we can use to find a preemptive cyclic schedule of the
periodic tasks
T1 = (3,7,1); T2 = (4,1); T3 = (6,2.4,8).

Solution

http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-s-

liu_4437.html

Real Time System by Jane W. S. Liu Chapter 5.4 Solution

Q.5.4:
T1 = (5,1);

A system contains the following periodic tasks:
T2 = (7,1,9);

T3 = (10,3) and T4 = (35,7).

If the frame size constraint (5-1) is ignored, what are the possible frame sizes ?

Solution

http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-s-

liu_8734.html

Real Time System by Jane W. S. Liu Chapter 6.4 Solution

Q.6.4: A system T contains for periodic tasks, (8, 1), (15, 3), (20, 4), and (22, 6). Its total
utilization is 0.80. Construct the initial segment in the time interval (0, 50) of a rate-monotonic
schedule of the system.

Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_1931.html

Real Time System by Jane W. S. Liu Chapter 6.5 Solution

Q.6.5: Which of the following systems of periodic tasks are schedulable by the rate-monotonic
algorithm? By the earliest-deadline-first algorithm? Explain your answer.
a.
T = {(8, 3), (9, 3), (15, 3)}

Solution http://targetiesnow.blogspot.in/2013/11/real-time-system-by-jane-w-sliu_6564.html
Real Time System by Jane W. S. Liu Chapter 6.8 Solution

Q.6.8: a) Use the time demand analysis method to show that the rate-monotonic algorithm
will produce a feasible schedule of the tasks (6,1), (8,2) and (15,6).

Solution http://targetiesnow.blogspot.in/2013/11/real-time-system-by-jane-w-sliu_6444.html

More Related Content

What's hot

Schedulability of Rate Monotonic Algorithm using Improved Time Demand Analysi...
Schedulability of Rate Monotonic Algorithm using Improved Time Demand Analysi...Schedulability of Rate Monotonic Algorithm using Improved Time Demand Analysi...
Schedulability of Rate Monotonic Algorithm using Improved Time Demand Analysi...
IJECEIAES
 
Bounded ant colony algorithm for task Allocation on a network of homogeneous ...
Bounded ant colony algorithm for task Allocation on a network of homogeneous ...Bounded ant colony algorithm for task Allocation on a network of homogeneous ...
Bounded ant colony algorithm for task Allocation on a network of homogeneous ...ijcsit
 
Real time Scheduling in Operating System for Msc CS
Real time Scheduling in Operating System for Msc CSReal time Scheduling in Operating System for Msc CS
Real time Scheduling in Operating System for Msc CS
Thanveen
 
A New Approach for Job Scheduling Using Hybrid GA-ST Optimization-Crimson Pub...
A New Approach for Job Scheduling Using Hybrid GA-ST Optimization-Crimson Pub...A New Approach for Job Scheduling Using Hybrid GA-ST Optimization-Crimson Pub...
A New Approach for Job Scheduling Using Hybrid GA-ST Optimization-Crimson Pub...
CrimsonPublishersRDMS
 
Ieeepro techno solutions 2014 ieee java project - a hyper-heuristic scheduling
Ieeepro techno solutions   2014 ieee java project - a hyper-heuristic schedulingIeeepro techno solutions   2014 ieee java project - a hyper-heuristic scheduling
Ieeepro techno solutions 2014 ieee java project - a hyper-heuristic scheduling
hemanthbbc
 
Reference Model of Real Time System
Reference Model of Real Time SystemReference Model of Real Time System
Reference Model of Real Time System
Raaz Karkee
 
3.Process Management
3.Process Management3.Process Management
3.Process Management
Senthil Kanth
 
Real time scheduling - basic concepts
Real time scheduling - basic conceptsReal time scheduling - basic concepts
Real time scheduling - basic concepts
Student
 
SWARM INTELLIGENCE SCHEDULING OF SOFT REAL-TIME TASKS IN HETEROGENEOUS MULTIP...
SWARM INTELLIGENCE SCHEDULING OF SOFT REAL-TIME TASKS IN HETEROGENEOUS MULTIP...SWARM INTELLIGENCE SCHEDULING OF SOFT REAL-TIME TASKS IN HETEROGENEOUS MULTIP...
SWARM INTELLIGENCE SCHEDULING OF SOFT REAL-TIME TASKS IN HETEROGENEOUS MULTIP...
ecij
 
STATISTICAL APPROACH TO DETERMINE MOST EFFICIENT VALUE FOR TIME QUANTUM IN RO...
STATISTICAL APPROACH TO DETERMINE MOST EFFICIENT VALUE FOR TIME QUANTUM IN RO...STATISTICAL APPROACH TO DETERMINE MOST EFFICIENT VALUE FOR TIME QUANTUM IN RO...
STATISTICAL APPROACH TO DETERMINE MOST EFFICIENT VALUE FOR TIME QUANTUM IN RO...
ijcsit
 
Job shop scheduling problem using genetic algorithm
Job shop scheduling problem using genetic algorithmJob shop scheduling problem using genetic algorithm
Job shop scheduling problem using genetic algorithm
Aerial Telecom Solutions (ATS) Pvt. Ltd.
 
K017446974
K017446974K017446974
K017446974
IOSR Journals
 
(Slides) Task scheduling algorithm for multicore processor system for minimiz...
(Slides) Task scheduling algorithm for multicore processor system for minimiz...(Slides) Task scheduling algorithm for multicore processor system for minimiz...
(Slides) Task scheduling algorithm for multicore processor system for minimiz...
Naoki Shibata
 
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time SystemsSara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
knowdiff
 
Schedulability Analysis for a Combination of Non-Preemptive Strict Periodic T...
Schedulability Analysis for a Combination of Non-Preemptive Strict Periodic T...Schedulability Analysis for a Combination of Non-Preemptive Strict Periodic T...
Schedulability Analysis for a Combination of Non-Preemptive Strict Periodic T...
IOSR Journals
 

What's hot (19)

Schedulability of Rate Monotonic Algorithm using Improved Time Demand Analysi...
Schedulability of Rate Monotonic Algorithm using Improved Time Demand Analysi...Schedulability of Rate Monotonic Algorithm using Improved Time Demand Analysi...
Schedulability of Rate Monotonic Algorithm using Improved Time Demand Analysi...
 
Bounded ant colony algorithm for task Allocation on a network of homogeneous ...
Bounded ant colony algorithm for task Allocation on a network of homogeneous ...Bounded ant colony algorithm for task Allocation on a network of homogeneous ...
Bounded ant colony algorithm for task Allocation on a network of homogeneous ...
 
Real time Scheduling in Operating System for Msc CS
Real time Scheduling in Operating System for Msc CSReal time Scheduling in Operating System for Msc CS
Real time Scheduling in Operating System for Msc CS
 
A New Approach for Job Scheduling Using Hybrid GA-ST Optimization-Crimson Pub...
A New Approach for Job Scheduling Using Hybrid GA-ST Optimization-Crimson Pub...A New Approach for Job Scheduling Using Hybrid GA-ST Optimization-Crimson Pub...
A New Approach for Job Scheduling Using Hybrid GA-ST Optimization-Crimson Pub...
 
Ieeepro techno solutions 2014 ieee java project - a hyper-heuristic scheduling
Ieeepro techno solutions   2014 ieee java project - a hyper-heuristic schedulingIeeepro techno solutions   2014 ieee java project - a hyper-heuristic scheduling
Ieeepro techno solutions 2014 ieee java project - a hyper-heuristic scheduling
 
Reference Model of Real Time System
Reference Model of Real Time SystemReference Model of Real Time System
Reference Model of Real Time System
 
3.Process Management
3.Process Management3.Process Management
3.Process Management
 
Real time scheduling - basic concepts
Real time scheduling - basic conceptsReal time scheduling - basic concepts
Real time scheduling - basic concepts
 
Mutual exclusion and sync
Mutual exclusion and syncMutual exclusion and sync
Mutual exclusion and sync
 
SWARM INTELLIGENCE SCHEDULING OF SOFT REAL-TIME TASKS IN HETEROGENEOUS MULTIP...
SWARM INTELLIGENCE SCHEDULING OF SOFT REAL-TIME TASKS IN HETEROGENEOUS MULTIP...SWARM INTELLIGENCE SCHEDULING OF SOFT REAL-TIME TASKS IN HETEROGENEOUS MULTIP...
SWARM INTELLIGENCE SCHEDULING OF SOFT REAL-TIME TASKS IN HETEROGENEOUS MULTIP...
 
DebuggingMOZ04
DebuggingMOZ04DebuggingMOZ04
DebuggingMOZ04
 
Crypto
CryptoCrypto
Crypto
 
RTS
RTSRTS
RTS
 
STATISTICAL APPROACH TO DETERMINE MOST EFFICIENT VALUE FOR TIME QUANTUM IN RO...
STATISTICAL APPROACH TO DETERMINE MOST EFFICIENT VALUE FOR TIME QUANTUM IN RO...STATISTICAL APPROACH TO DETERMINE MOST EFFICIENT VALUE FOR TIME QUANTUM IN RO...
STATISTICAL APPROACH TO DETERMINE MOST EFFICIENT VALUE FOR TIME QUANTUM IN RO...
 
Job shop scheduling problem using genetic algorithm
Job shop scheduling problem using genetic algorithmJob shop scheduling problem using genetic algorithm
Job shop scheduling problem using genetic algorithm
 
K017446974
K017446974K017446974
K017446974
 
(Slides) Task scheduling algorithm for multicore processor system for minimiz...
(Slides) Task scheduling algorithm for multicore processor system for minimiz...(Slides) Task scheduling algorithm for multicore processor system for minimiz...
(Slides) Task scheduling algorithm for multicore processor system for minimiz...
 
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time SystemsSara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
 
Schedulability Analysis for a Combination of Non-Preemptive Strict Periodic T...
Schedulability Analysis for a Combination of Non-Preemptive Strict Periodic T...Schedulability Analysis for a Combination of Non-Preemptive Strict Periodic T...
Schedulability Analysis for a Combination of Non-Preemptive Strict Periodic T...
 

Viewers also liked

Survey Results Age Of Unbounded Data June 03 10
Survey Results Age Of Unbounded Data June 03 10Survey Results Age Of Unbounded Data June 03 10
Survey Results Age Of Unbounded Data June 03 10
nhaque
 
Kernel Recipes 2016 - Wo needs a real-time operating system (not you!)
Kernel Recipes 2016 - Wo needs a real-time operating system (not you!)Kernel Recipes 2016 - Wo needs a real-time operating system (not you!)
Kernel Recipes 2016 - Wo needs a real-time operating system (not you!)
Anne Nicolas
 
Priority Inversion on Mars
Priority Inversion on MarsPriority Inversion on Mars
Priority Inversion on Mars
National Cheng Kung University
 
Rtos Concepts
Rtos ConceptsRtos Concepts
Rtos Concepts
Sundaresan Sundar
 
Real time Operating System
Real time Operating SystemReal time Operating System
Real time Operating SystemTech_MX
 

Viewers also liked (6)

Ch3-2
Ch3-2Ch3-2
Ch3-2
 
Survey Results Age Of Unbounded Data June 03 10
Survey Results Age Of Unbounded Data June 03 10Survey Results Age Of Unbounded Data June 03 10
Survey Results Age Of Unbounded Data June 03 10
 
Kernel Recipes 2016 - Wo needs a real-time operating system (not you!)
Kernel Recipes 2016 - Wo needs a real-time operating system (not you!)Kernel Recipes 2016 - Wo needs a real-time operating system (not you!)
Kernel Recipes 2016 - Wo needs a real-time operating system (not you!)
 
Priority Inversion on Mars
Priority Inversion on MarsPriority Inversion on Mars
Priority Inversion on Mars
 
Rtos Concepts
Rtos ConceptsRtos Concepts
Rtos Concepts
 
Real time Operating System
Real time Operating SystemReal time Operating System
Real time Operating System
 

Similar to Solution manual real time system bt jane w s liu solution manual

Full solution manual real time system by jane w s liu solution manual
Full solution manual real time system by jane w s liu solution manualFull solution manual real time system by jane w s liu solution manual
Full solution manual real time system by jane w s liu solution manual
neeraj7svp
 
K017617786
K017617786K017617786
K017617786
IOSR Journals
 
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
iosrjce
 
Temporally Extended Actions For Reinforcement Learning Based Schedulers
Temporally Extended Actions For Reinforcement Learning Based Schedulers Temporally Extended Actions For Reinforcement Learning Based Schedulers
Temporally Extended Actions For Reinforcement Learning Based Schedulers
IJSCAI Journal
 
TEMPORALLY EXTENDED ACTIONS FOR REINFORCEMENT LEARNING BASED SCHEDULERS
TEMPORALLY EXTENDED ACTIONS FOR REINFORCEMENT LEARNING BASED SCHEDULERSTEMPORALLY EXTENDED ACTIONS FOR REINFORCEMENT LEARNING BASED SCHEDULERS
TEMPORALLY EXTENDED ACTIONS FOR REINFORCEMENT LEARNING BASED SCHEDULERS
ijscai
 
TEMPORALLY EXTENDED ACTIONS FOR REINFORCEMENT LEARNING BASED SCHEDULERS
TEMPORALLY EXTENDED ACTIONS FOR REINFORCEMENT LEARNING BASED SCHEDULERSTEMPORALLY EXTENDED ACTIONS FOR REINFORCEMENT LEARNING BASED SCHEDULERS
TEMPORALLY EXTENDED ACTIONS FOR REINFORCEMENT LEARNING BASED SCHEDULERS
ijscai
 
Multiprocessor scheduling of dependent tasks to minimize makespan and reliabi...
Multiprocessor scheduling of dependent tasks to minimize makespan and reliabi...Multiprocessor scheduling of dependent tasks to minimize makespan and reliabi...
Multiprocessor scheduling of dependent tasks to minimize makespan and reliabi...
ijfcstjournal
 
IRJET- Syllabus and Timetable Generation System
IRJET- Syllabus and Timetable Generation SystemIRJET- Syllabus and Timetable Generation System
IRJET- Syllabus and Timetable Generation System
IRJET Journal
 
Survey of Real Time Scheduling Algorithms
Survey of Real Time Scheduling AlgorithmsSurvey of Real Time Scheduling Algorithms
Survey of Real Time Scheduling Algorithms
IOSR Journals
 
Temporal workload analysis and its application to power aware scheduling
Temporal workload analysis and its application to power aware schedulingTemporal workload analysis and its application to power aware scheduling
Temporal workload analysis and its application to power aware scheduling
ijesajournal
 
Temporal workload analysis and its application to power aware scheduling
Temporal workload analysis and its application to power aware schedulingTemporal workload analysis and its application to power aware scheduling
Temporal workload analysis and its application to power aware scheduling
ijesajournal
 
(Paper) Task scheduling algorithm for multicore processor system for minimiz...
 (Paper) Task scheduling algorithm for multicore processor system for minimiz... (Paper) Task scheduling algorithm for multicore processor system for minimiz...
(Paper) Task scheduling algorithm for multicore processor system for minimiz...
Naoki Shibata
 
SMP4 Thread Scheduler======================INSTRUCTIONS.docx
SMP4 Thread Scheduler======================INSTRUCTIONS.docxSMP4 Thread Scheduler======================INSTRUCTIONS.docx
SMP4 Thread Scheduler======================INSTRUCTIONS.docx
pbilly1
 
Novel Scheduling Algorithm in DFS9(1)
Novel Scheduling Algorithm in DFS9(1)Novel Scheduling Algorithm in DFS9(1)
Novel Scheduling Algorithm in DFS9(1)kota Ankita
 
Fake gyarmathyvarasdi
Fake gyarmathyvarasdiFake gyarmathyvarasdi
Fake gyarmathyvarasdi
Eva Gyarmathy
 
Assignment 02 Process State SimulationCSci 430 Introduction to.docx
Assignment 02 Process State SimulationCSci 430 Introduction to.docxAssignment 02 Process State SimulationCSci 430 Introduction to.docx
Assignment 02 Process State SimulationCSci 430 Introduction to.docx
cargillfilberto
 
Lab3F22.pdf
Lab3F22.pdfLab3F22.pdf
Lab3F22.pdf
ssuser0e9cc4
 
SMP4 Thread Scheduler (PART 1)======================INSTR.docx
SMP4 Thread Scheduler (PART 1)======================INSTR.docxSMP4 Thread Scheduler (PART 1)======================INSTR.docx
SMP4 Thread Scheduler (PART 1)======================INSTR.docx
pbilly1
 
GENERATIVE SCHEDULING OF EFFECTIVE MULTITASKING WORKLOADS FOR BIG-DATA ANALYT...
GENERATIVE SCHEDULING OF EFFECTIVE MULTITASKING WORKLOADS FOR BIG-DATA ANALYT...GENERATIVE SCHEDULING OF EFFECTIVE MULTITASKING WORKLOADS FOR BIG-DATA ANALYT...
GENERATIVE SCHEDULING OF EFFECTIVE MULTITASKING WORKLOADS FOR BIG-DATA ANALYT...
IAEME Publication
 

Similar to Solution manual real time system bt jane w s liu solution manual (20)

Full solution manual real time system by jane w s liu solution manual
Full solution manual real time system by jane w s liu solution manualFull solution manual real time system by jane w s liu solution manual
Full solution manual real time system by jane w s liu solution manual
 
K017617786
K017617786K017617786
K017617786
 
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
 
Temporally Extended Actions For Reinforcement Learning Based Schedulers
Temporally Extended Actions For Reinforcement Learning Based Schedulers Temporally Extended Actions For Reinforcement Learning Based Schedulers
Temporally Extended Actions For Reinforcement Learning Based Schedulers
 
TEMPORALLY EXTENDED ACTIONS FOR REINFORCEMENT LEARNING BASED SCHEDULERS
TEMPORALLY EXTENDED ACTIONS FOR REINFORCEMENT LEARNING BASED SCHEDULERSTEMPORALLY EXTENDED ACTIONS FOR REINFORCEMENT LEARNING BASED SCHEDULERS
TEMPORALLY EXTENDED ACTIONS FOR REINFORCEMENT LEARNING BASED SCHEDULERS
 
TEMPORALLY EXTENDED ACTIONS FOR REINFORCEMENT LEARNING BASED SCHEDULERS
TEMPORALLY EXTENDED ACTIONS FOR REINFORCEMENT LEARNING BASED SCHEDULERSTEMPORALLY EXTENDED ACTIONS FOR REINFORCEMENT LEARNING BASED SCHEDULERS
TEMPORALLY EXTENDED ACTIONS FOR REINFORCEMENT LEARNING BASED SCHEDULERS
 
Multiprocessor scheduling of dependent tasks to minimize makespan and reliabi...
Multiprocessor scheduling of dependent tasks to minimize makespan and reliabi...Multiprocessor scheduling of dependent tasks to minimize makespan and reliabi...
Multiprocessor scheduling of dependent tasks to minimize makespan and reliabi...
 
IRJET- Syllabus and Timetable Generation System
IRJET- Syllabus and Timetable Generation SystemIRJET- Syllabus and Timetable Generation System
IRJET- Syllabus and Timetable Generation System
 
Survey of Real Time Scheduling Algorithms
Survey of Real Time Scheduling AlgorithmsSurvey of Real Time Scheduling Algorithms
Survey of Real Time Scheduling Algorithms
 
Temporal workload analysis and its application to power aware scheduling
Temporal workload analysis and its application to power aware schedulingTemporal workload analysis and its application to power aware scheduling
Temporal workload analysis and its application to power aware scheduling
 
Temporal workload analysis and its application to power aware scheduling
Temporal workload analysis and its application to power aware schedulingTemporal workload analysis and its application to power aware scheduling
Temporal workload analysis and its application to power aware scheduling
 
(Paper) Task scheduling algorithm for multicore processor system for minimiz...
 (Paper) Task scheduling algorithm for multicore processor system for minimiz... (Paper) Task scheduling algorithm for multicore processor system for minimiz...
(Paper) Task scheduling algorithm for multicore processor system for minimiz...
 
SMP4 Thread Scheduler======================INSTRUCTIONS.docx
SMP4 Thread Scheduler======================INSTRUCTIONS.docxSMP4 Thread Scheduler======================INSTRUCTIONS.docx
SMP4 Thread Scheduler======================INSTRUCTIONS.docx
 
Novel Scheduling Algorithm in DFS9(1)
Novel Scheduling Algorithm in DFS9(1)Novel Scheduling Algorithm in DFS9(1)
Novel Scheduling Algorithm in DFS9(1)
 
Fake gyarmathyvarasdi
Fake gyarmathyvarasdiFake gyarmathyvarasdi
Fake gyarmathyvarasdi
 
Assignment 02 Process State SimulationCSci 430 Introduction to.docx
Assignment 02 Process State SimulationCSci 430 Introduction to.docxAssignment 02 Process State SimulationCSci 430 Introduction to.docx
Assignment 02 Process State SimulationCSci 430 Introduction to.docx
 
slot_shifting
slot_shiftingslot_shifting
slot_shifting
 
Lab3F22.pdf
Lab3F22.pdfLab3F22.pdf
Lab3F22.pdf
 
SMP4 Thread Scheduler (PART 1)======================INSTR.docx
SMP4 Thread Scheduler (PART 1)======================INSTR.docxSMP4 Thread Scheduler (PART 1)======================INSTR.docx
SMP4 Thread Scheduler (PART 1)======================INSTR.docx
 
GENERATIVE SCHEDULING OF EFFECTIVE MULTITASKING WORKLOADS FOR BIG-DATA ANALYT...
GENERATIVE SCHEDULING OF EFFECTIVE MULTITASKING WORKLOADS FOR BIG-DATA ANALYT...GENERATIVE SCHEDULING OF EFFECTIVE MULTITASKING WORKLOADS FOR BIG-DATA ANALYT...
GENERATIVE SCHEDULING OF EFFECTIVE MULTITASKING WORKLOADS FOR BIG-DATA ANALYT...
 

More from neeraj7svp

PSF_Introduction_to_R_Package_for_Pattern_Sequence (1)
PSF_Introduction_to_R_Package_for_Pattern_Sequence (1)PSF_Introduction_to_R_Package_for_Pattern_Sequence (1)
PSF_Introduction_to_R_Package_for_Pattern_Sequence (1)neeraj7svp
 
Ugc net solutions at target ies
Ugc net solutions at target iesUgc net solutions at target ies
Ugc net solutions at target ies
neeraj7svp
 
Full solution manual for modern processor design by john paul shen and mikko ...
Full solution manual for modern processor design by john paul shen and mikko ...Full solution manual for modern processor design by john paul shen and mikko ...
Full solution manual for modern processor design by john paul shen and mikko ...
neeraj7svp
 
Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...
neeraj7svp
 
Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...
neeraj7svp
 
Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...neeraj7svp
 
Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...neeraj7svp
 

More from neeraj7svp (7)

PSF_Introduction_to_R_Package_for_Pattern_Sequence (1)
PSF_Introduction_to_R_Package_for_Pattern_Sequence (1)PSF_Introduction_to_R_Package_for_Pattern_Sequence (1)
PSF_Introduction_to_R_Package_for_Pattern_Sequence (1)
 
Ugc net solutions at target ies
Ugc net solutions at target iesUgc net solutions at target ies
Ugc net solutions at target ies
 
Full solution manual for modern processor design by john paul shen and mikko ...
Full solution manual for modern processor design by john paul shen and mikko ...Full solution manual for modern processor design by john paul shen and mikko ...
Full solution manual for modern processor design by john paul shen and mikko ...
 
Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...
 
Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...
 
Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...
 
Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...Solution manual for modern processor design by john paul shen and mikko h. li...
Solution manual for modern processor design by john paul shen and mikko h. li...
 

Recently uploaded

Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 

Recently uploaded (20)

Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 

Solution manual real time system bt jane w s liu solution manual

  • 1. Solution Manual for Real Time System by Jane W. S. Liu Real Time System by Jane W. S. Liu (Pearson), the book builds on the student's background in Operating System, Embedded System. It covers techniques for scheduling, resource access control, and validation that are, or are likely to be, widely used in real time computing and communication systems. Each algorithm, protocol, or mechanism is defined by pseudo code or simple rules that can serve as a starting point of implementation. With few exceptions, each scheduling algorithm is accompanied that your application will meet its real time requirement when scheduling according to the algorithm. Here, in next successive posts, I am going to post solutions for the same Text-book (Real Time System by Jane W. S. Liu). If you find any difficulty or wants to suggest anything, feel free to comment...:) Link: http://targetiesnow.blogspot.in/p/solution-manual-for.html Real Time System by Jane W. S. Liu Chapter 3.1 Solution Q. 3.1: Because sporadic jobs may have varying release times and execution times, the periodic task model may be too inaccurate and can lead to undue under utilization of the processor even when the inter release times of jobs are bounded from below and their executions are bounded from above. As an example, suppose we have a stream of sporadic jobs whose inter release times are uniformly distributed from 9 to 11. Their execution times are uniformly distributed from 1 to 3. a. What are the parameters of the periodic task if we were to use such a task to model the stream? Solution: liu.html http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-s-
  • 2. Real Time System by Jane W. S. Liu Chapter 3.2 Solution Q.3.2: Consider the real-time program described by the psuedo code below. Names of jobs are in italic. At 9 AM, start: have breakfast and go to office; At 10 AM, if there is class, teach; Else, help students; When teach or help is done, eat_lunch; Until 2 PM, sleep; If there is a seminar, If topic is interesting, listen; Else, read; Else write in office; When seminar is over, attend social hour; discuss; jog; Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_29.html Real Time System by Jane W. S. Liu Chapter 3.3 Solution Q.3.3: job_1 | job_2 denotes a pipe: The result produced by job_1 is incrementally consumed by job_2. (As an example, suppose that job_2 reads and displays one character at a time as each handwritten character is recognized and placed in a buffer by job_1.) Draw a precedence constraint graph to represent this producer-consumer relation between the jobs. Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_8405.html?spref=fb Real Time System by Jane W. S. Liu Chapter 3.4 Solution Q.3.4: Draw a task graph to represent the flight control system described in Figure 1-3. a) Assume the producers and consumers do not explicitly synchronize (i.e., each consumer uses the latest result generated by each of its producers but does not wait for the completion of the producer.)
  • 3. Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_3066.html Real Time System by Jane W. S. Liu Chapter 4.1 Solution Q.4.1: The feasible interval of each job in the precedence graph in figure 4P-1 is given next to its name. The execution time of all jobs are equal to 1. a) Find the effective release times and deadlines of the jobs in the precendence graph in Figure 4P1. Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_9175.html Real Time System by Jane W. S. Liu Chapter 4.2 Solution Q.4.2: The execution times of the jobs in the precedence graph in figure 4P-2 are all equal to 1, and their release times are identical. Give a non preemptive optimal schedule that minimizes the completion time of all jobs on three processors. Describe briefly the algorithm you used to find the schedule. Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_4082.html
  • 4. Real Time System by Jane W. S. Liu Chapter 4.4 Solution Q.4.4: Consider a system that has five periodic tasks, A, B, C, D, and E, and three processors P1, P2, P3. The periods of A, B, and C are 2 and their execution times are equal to 1. The periods of D and E are 8 and their execution times are 6. The phase of every task is 0, that is, the first job of the task is released at time 0. The relative deadline of every task is equal to its period. a) Show that if the tasks are scheduled dynamically on three processors according to the LST algorithm, some jobs in the system cannot meet their deadlines. Sol: Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_1862.html Real Time System by Jane W. S. Liu Chapter 4.5 Solution Q.4.5: A system contains nine non-preemptable jobs named Ji, for i = 1, 2, ..., 9. Their execution times are 3, 2, 2, 2, 2, 4, 4, 4, 4, and 9, respectively, their release times are equal to 0, and their deadlines are 12. J1 is the immediate predecessor of J9, and J4 is the immediate predecessor of J5, J6, J7, and J8. There are no other precedence constraints. For all the jobs, J i has a higher priority than Jk if i < k. a) Draw the precedence graph of the jobs. Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_6447.html Real Time System by Jane W. S. Liu Chapter 4.7 Solution Q.4.7: Consider the set of jobs in Figure 4-3. Suppose that the jobs have identical execution time. What maximum execution time can the jobs have and still can be feasible scheduling on one processor? Explain your answer. Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_3971.html Real Time System by Jane W. S. Liu Chapter 5.1(a)(b) Solution
  • 5. Q.5.1: Each of the following systems of periodic tasks is scheduled and executed according to a cyclic schedule. For each system, choose an appropriate frame size. Preemptions are allowed, but the number of preemption should be kept small. a) (6, 1), (10, 2), and (18, 2) Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_5855.html Real Time System by Jane W. S. Liu Chapter 5.1(c)(d) Solution Q5.1: Each of the following systems of periodic tasks is scheduled and executed according to a cyclic schedule. For each system, choose an appropriate frame size. Preemptions are allowed, but the number of preemptions should be kept small. c) (4, 0.5), (5, 1.0), (10, 2), and (24, 9) Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_3069.html Real Time System by Jane W. S. Liu Chapter 5.1(e)(f) Solution Q.5.1: Each of the following systems of periodic tasks is scheduled and executed according to a cyclic schedule. For each system, choose an appropriate frame size. Preemptions are allowed, but the number of preemptions should be kept small. e) (5, 0.1), (7, 1.0), (12, 6), and (45, 9) Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_793.html Real Time System by Jane W. S. Liu Chapter 5.2 Solution Q.5.2: A system uses the cyclic EDF algorithm to schedule sporadic jobs. The cyclic schedule of periodic tasks in the system uses a frame size of 5, and a major cycle containts 6 frames. Supose that the initial amounts of slack time in the frames are 1, 0.5, 0.5, 0.5, 1, and 1. a. Suppose that a sporadic job S(23, 1) arrives in frame 1, sporadic jobs S 2(16, 0.8) and S3(20, 0.5) arrive in frame 2. In which frame are the accepted sporadic jobs scheduled? Solution liu_2408.html http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-s-
  • 6. Real Time System by Jane W. S. Liu Chapter 5.3 Solution Q.5.3: Draw a network flow graph that we can use to find a preemptive cyclic schedule of the periodic tasks T1 = (3,7,1); T2 = (4,1); T3 = (6,2.4,8). Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-s- liu_4437.html Real Time System by Jane W. S. Liu Chapter 5.4 Solution Q.5.4: T1 = (5,1); A system contains the following periodic tasks: T2 = (7,1,9); T3 = (10,3) and T4 = (35,7). If the frame size constraint (5-1) is ignored, what are the possible frame sizes ? Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-s- liu_8734.html Real Time System by Jane W. S. Liu Chapter 6.4 Solution Q.6.4: A system T contains for periodic tasks, (8, 1), (15, 3), (20, 4), and (22, 6). Its total utilization is 0.80. Construct the initial segment in the time interval (0, 50) of a rate-monotonic schedule of the system. Solution http://targetiesnow.blogspot.in/2013/10/real-time-system-by-jane-w-sliu_1931.html Real Time System by Jane W. S. Liu Chapter 6.5 Solution Q.6.5: Which of the following systems of periodic tasks are schedulable by the rate-monotonic algorithm? By the earliest-deadline-first algorithm? Explain your answer. a. T = {(8, 3), (9, 3), (15, 3)} Solution http://targetiesnow.blogspot.in/2013/11/real-time-system-by-jane-w-sliu_6564.html
  • 7. Real Time System by Jane W. S. Liu Chapter 6.8 Solution Q.6.8: a) Use the time demand analysis method to show that the rate-monotonic algorithm will produce a feasible schedule of the tasks (6,1), (8,2) and (15,6). Solution http://targetiesnow.blogspot.in/2013/11/real-time-system-by-jane-w-sliu_6444.html