Tuesday, March 29, 2011

Case Study 4

OPERATING SYSTEMS

Case Study 4

Load the following jobs into memory using dynamic partition and relocatable dynamic partition: (The memory size is 220k with allocated OS for 15k).

a. Job1 (100k) f. Job6 (6k)

turnaround: 3 turnaround: 1

b. Job2 (10k) g. Job7 (25k)

turnaround: 1 turnaround: 1

c. Job3 (35k) h. Job8 (55k)

turnaround: 2 turnaround: 2

d. Job4 (15k) i. Job9 (88k)

turnaround: 1 turnaround: 3

e. Job5 (23k) j. Job10 (100k)

turnaround: 2 turnaround: 3

*turnaround – how long it will stay in the memory.

*apply compaction if only if the incoming jobs has no other block to allocate that will fit their sizes.

Dynamic Partition:

Relocatable Dynamic Partition


No comments:

Post a Comment