Question

In: Computer Science

A disk drive has 300 cylinders, numbered 0 to 299. The drive is currently serving a...

  • A disk drive has 300 cylinders, numbered 0 to 299. The drive is currently serving a request at cylinder 51, and the previous request was at cylinder 56. The pending requests are received in the following order: 72, 56, 103, 111, 17, 189, 236, 198, and 88.
  • FCFS
  • SSTF
  • SCAN

Compare the algorithms and determine which is the fairest for the next process in the queue. Explain why this algorithm will always be the fairest disk-scheduling algorithm.

Describe an example of circumstances where fairness would be an important goal. Describe a scenario where it would be important that the operating system be unfair. Minimum 250 words.

Solutions

Expert Solution


Related Solutions

Suppose that a disk drive has 6,000 cylinders, numbered 0 to 5999. The drive is currently...
Suppose that a disk drive has 6,000 cylinders, numbered 0 to 5999. The drive is currently serving a request at cylinder 3150, and the previous request was at cylinder 1805 (Hint: this indicates the reading head's moving direction). The queue of pending requests, in FIFO order, is: 3511, 2332, 2800, 3192, 658, 1296, 1918, 1356, 5936, 2527 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...
Suppose that a disk drive has 5,000 cylinders, numbered 0 to 4,999. The drive is currently...
Suppose that a disk drive has 5,000 cylinders, numbered 0 to 4,999. The drive is currently serving a request at cylinder 2,150, and the previous request was at cylinder 1,805. The queue of pending requests, in FIFO order, is: 2,069, 1,212, 2,296, 2,800, 544, 1,618, 356, 1,523, 4,965, 3681 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?...
Suppose that a disk drive has 4,000 cylinders, numbered 0 to 3999. The drive is currently...
Suppose that a disk drive has 4,000 cylinders, numbered 0 to 3999. The drive is currently serving a request at cylinder 2250, and the previous request was at cylinder 1205. The queue of pending requests, in FIFO order is: 1870, 2150, 1250, 778, 3598 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? (show your working steps) FCFS...
1. A hard disk drive has 16 platters, 8192 cylinders, and 256 4KB sectors per track....
1. A hard disk drive has 16 platters, 8192 cylinders, and 256 4KB sectors per track. The storage capacity of this disk drive is at most Select one: a. 32 GB. b. 128 GB. c. 32 TB. 2. To further optimize I/O performance, some SSD schedulers Select one: a. merge adjacent write requests but not adjacent read requests. b. do not merge requests at all. c. merge adjacent read requests but not adjacent write requests. 3. What steps are necessary...
Question 1: On a disk with 1000 cylinders, number 0 to 999, compute the number of...
Question 1: On a disk with 1000 cylinders, number 0 to 999, compute the number of tracks the disk arm must move to satisfy all the requests in the disk queue. Assume the last request serviced was at track 345 and the head is moving toward track 0. The queue in FIFO order contains requests for the following tracks: 123, 847, 692, 475, 105, 376. Perform the computations for the following disk scheduling algorithms: a)       FCFS                                                                                                        b)       SSTF...
A physician with a practice is currently serving 300 patients. The physician would like to administer...
A physician with a practice is currently serving 300 patients. The physician would like to administer a survey to his patients to measure their satisfaction level with his practice. A random sample of 24 patients had an average satisfaction score of 8.1 on a scale of​ 1-10. The sample standard deviation was 1.5. Complete parts a and b below. a. Construct a​ 99% confidence interval to estimate the average satisfaction score for the​ physician's practice. The​ 99% confidence interval to...
A physician with a practice is currently serving 300 patients. The physician would like to administer...
A physician with a practice is currently serving 300 patients. The physician would like to administer a survey to his patients to measure their satisfaction level with his practice. A random sample of 22 patients had an average satisfaction score of 8.3 on a scale of​ 1-10. The sample standard deviation was 1.9. Complete parts a and b below. a. Construct a​ 99% confidence interval to estimate the average satisfaction score for the​ physician's practice. The​ 99% confidence interval to...
Order Size Discount 1-299 0% 300-499 2.0% 500-799 3.5% 800+ 6.0% The bookstore at Tech purchases...
Order Size Discount 1-299 0% 300-499 2.0% 500-799 3.5% 800+ 6.0% The bookstore at Tech purchases jackets emblazoned with the school name and logo from a vendor. The vendor sells the jackets to the store for $36 a piece. The cost to the bookstore for placing an order is $120 and the annual carrying cost is $10 per jacket. The bookstore manager estimates that 1,700 jackets will be sold during the year. The vendor has offered the bookstore the following...
A fair four sided die has two faes numbered 0 and two faces numbered 2. Another...
A fair four sided die has two faes numbered 0 and two faces numbered 2. Another fair four sided die has its faces numbered 0,1,4, and 5. The two dice are rolled. Let X and Y be the respective outcomes of the roll. Let W = X + Y. (a) Determine the pmf of W. (b) Draw a probability histogram of the pmf of W
A roulette wheel has 38 slots, numbered 0, 00, and 1 to 36. The slots 0...
A roulette wheel has 38 slots, numbered 0, 00, and 1 to 36. The slots 0 and 00 are colored green, 18 of the others are red, and 18 are black.The dealer spins the wheel and at the same time rolls a small ball along the wheel in the opposite direction. The wheel is carefully balanced so that the ball is equally likely to land in any slot when the wheel slows. Gamblers can bet on various combinations of numbers...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT