subject

Consider a disk that is scheduled using the Elevator policy. That is, the disk head scans from the first cylinder to the last and back repeatedly, processing I/O requests along the way. However, the scan direction changes whenever there are no I/O requests in the disk queue in the direction of the scan, but there are I/O requests in the disk queue in the opposite direction. Let the disk have an average rotational latency of 0.5 time units and transfer time of 0.1 time units per sector. The seek time for processing a request is 0, if the request is in the same cylinder that the disk head is currently in. Otherwise, let the seek time be 1+(k-1)*0.1 time units, where k is the number of cylinders travelled.
Let the following table represent a stream of I/O requests for the disk:
Request Arrival Time Cylinder Number of Sectors
R1 t 36 2
R2 t+4 15 5
R3 t+5 25 2
R4 t+6 4 1
R5 t+9 98 5
R6 t+12 36 2
R7 t+15 27 1
R8 t+16 57 5
Assume that the disk head is at cylinder 20 at time t, and no other requests enter the disk queue until all of the above requests are processed. Determine the schedule of processing for the above stream of requests.
Based on the processing schedule, compute the wait times and turnaround times for the various requests. Note that the wait time for a request is the difference between the time at which the disk starts processing the request and the time at which the request arrives; the turnaround time is the difference between the time at which the request processing is completed and the arrival time of the request.
Identify the true statement among the following, with respect to the wait and turnaround times of the various requests.
A. R7 has the largest turnaround time.
B. R3 has the largest wait time.
C. R3 has the largest turnaround time.
D. R5 has the largest turnaround time.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 15:30
Some of the items below indicate the steps required to move a slide to a different location in a presentation. select those steps and indicate the order in which they should be performed to move the slide. (for example, if an item describes what you do first, select 1.) included in the list are items that are not part of the process. for these items, select n/a, an abbreviation for not applicable. 1 β€” first 2 β€” second 3 β€” third 4 β€” fourth 5 β€” fifth 6 β€” sixth n/a β€” not applicable drag the slide to the desired place. enter the slide position desired. hold the mouse button down. select move from the tools menu. select the slide. switch to the notes view.
Answers: 3
question
Computers and Technology, 22.06.2019 03:10
Write a program that begins by reading in a series of positive integers on a single line of input and then computes and prints the product of those integers. integers are accepted and multiplied until the user enters an integer less than 1. this final number is not part of the product. then, the program prints the product. if the first entered number is negative or 0, the program must print β€œbad input.” and terminate immediately. next, the program determines and prints the prime factorization of the product, listing the factors in increasing order. if a prime number is not a factor of the product, then it must not appear in the factorization. sample runs are given below. note that if the power of a prime is 1, then that 1 must appear in t
Answers: 3
question
Computers and Technology, 22.06.2019 08:00
Someone with this coz i don’t really know what i can choose, just pick whatever u want. homework - you need to choose a website that you like or use frequently. you must visit the website and discuss 6 different features/parts/aspects of the website that you think makes it good. (100 words)
Answers: 2
question
Computers and Technology, 22.06.2019 10:30
How can a user open a blank presentation? 1.on the file menu, click new, and then click recent templates 2.on the file menu, click new, and then click blank presentation 3. on the view menu, click templates, and then click recent templates 4. on the view menu, click samples, and then click blank presentation
Answers: 1
You know the right answer?
Consider a disk that is scheduled using the Elevator policy. That is, the disk head scans from the f...
Questions
question
Social Studies, 12.01.2021 18:30
question
Mathematics, 12.01.2021 18:30
question
Mathematics, 12.01.2021 18:30
question
Mathematics, 12.01.2021 18:30
Questions on the website: 13722361