0% found this document useful (0 votes)
83 views2 pages

Lesson4 Review Question Mark John Ace Flores

The document contains answers to 6 questions about disk scheduling and memory management in an operating system. It discusses how SSTF scheduling favors middle cylinders, why rotational latency is not usually considered in disk scheduling, the importance of balancing I/O among disks and controllers in a multi-tasking environment, and the tradeoffs of storing code pages in swap space versus the file system. It also notes that truly stable storage cannot be implemented as it is impossible for storage to never lose data, but maintaining multiple copies provides the basic technique for safe storage.

Uploaded by

Ace Flores
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
83 views2 pages

Lesson4 Review Question Mark John Ace Flores

The document contains answers to 6 questions about disk scheduling and memory management in an operating system. It discusses how SSTF scheduling favors middle cylinders, why rotational latency is not usually considered in disk scheduling, the importance of balancing I/O among disks and controllers in a multi-tasking environment, and the tradeoffs of storing code pages in swap space versus the file system. It also notes that truly stable storage cannot be implemented as it is impossible for storage to never lose data, but maintaining multiple copies provides the basic technique for safe storage.

Uploaded by

Ace Flores
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Mark John Ace Flores Operating system

BSIT 2-2 Lesson 4 Review Questions Prof. Alma Fernandez

1. Is disk scheduling, other than FCFS scheduling, useful in a single-user environment?


Explain your answer

Answer:
Yes, disk scheduling other than FCFS scheduling can be helpful in a single user
environment. SSTF is valuable when the data sets are close to one another.

2. Explain why SSTF scheduling tends to favor middle cylinders over the innermost and
outermost cylinders.

Answer:
The focal point of the disk is the area having the littlest normal distance to any remaining
tracks. Consequently, the disk head will in general move a path from the edges of the
disk.

3. Why is rotational latency usually not considered in disk scheduling? How would you modify
SSTF, SCAN, and C-SCAN to include latency optimization?

Answer:
The rational latency can be almost as high as the average search time. However, it is
difficult for the operating system to prepare for improved rational latency because the
modern disk does not show the physical position of logical blocks. By implementing
algorithms for disk scheduling in the hardware of the controller built into the disk drive.
When a bunch of requests are sent by the OS to the controller. First and then, it will queue
them and then schedule them. This will increase both the search time and logical latency.

4. Why is it important to balance file-system I/O among the disks and controllers on a system
in a multitasking environment?

Answer:
In modern systems, disks or disk controllers are always the bottleneck, as their individual
output does not keep up with that of the CPU and system bus. Neither an individual disk
nor a controller is overloaded by balancing I/O between disks and controls, so the
bottleneck is avoided.

5. What are the tradeoffs involved in rereading code pages from the file system versus using
swap space to store them?

Answer:
If code pages are stored in swap space, they can be more easily moved to the main
memory (because swap space allocation is tuned for faster performance than general file
system allocation).
Mark John Ace Flores Operating system
BSIT 2-2 Lesson 4 Review Questions Prof. Alma Fernandez

6. Is there any way to implement truly stable storage? Explain your answer

Answer:
It will never lose data to completely secure storage. Maintaining several copies of the
data is the basic technique for safe storage, such that if one copy is lost, any other copy
is still available for use.

You might also like