Question: Q 1 : Imagine we have a disk drive with 3 0 0 0 cylinders, which are numbered 0 to 2 9 9 9 .

Q1: Imagine we have a disk drive with 3000 cylinders, which are numbered 0 to 2999. The drive is currently serving a request at cylinder 97, and the previous request was at cylinder 125(hint this tells you direction). The queue of pending requests, in FIFO order, is:
1401751,222,47,526,1341,2458,327
Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requests, for each of the following disk scheduling algorithms you must draw how the head navigated through each of the algorithm and count that way (you cannot just use a table made from text. If you want to use a piece of software to draw it you must get approval from your professor first).
FCFS
SCAN
SSTE
C-SCAN
Q2: After looking over your results for question 1, which algorithm causes the disk head to travel the smallest number of cylinders?
Q3: Imagine we have another disk drive with 1250 cylinders, which are numbered 0 to 1249. The drive is currently servicing a request at cylinder 1051, and the previous request was at cylinder 900(hint this tells you direction). The queue of pending requests, in FIFO order, is:
111,1167,19,79,2,1211,47,999,453,921,1131
FCFS
SCAN
SSTF
C-SCAN
Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves
to satisfy all the pending requests, for each of the following disk scheduling algorithms you must draw how the head navigated through each of the algorithm and count that way, (you cannot just use a table made from text. If you want to use a piece of software to draw it you must get approval from your professor first).
Q4: For problem 3, which algorithm causes the disk head to travel the smallest number of cylinders?
Q5: What are three advantages of placing functionality in a device controller, rather than in the kernel? List and explain them. What are three disadvantages of placing functionality on the device controller rather than in the kernel? List and explain them.
Q6: What are some of the advantages/disadvantages of using HDDs as secondary storage? List and explain them. What are some of the advantages/disadvantages of using NVM devices as secondary storage? List and explain them

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!