Professional Documents
Culture Documents
Module 6
Module 6
By
Dr. Nileshchandra K. Pickle
Assistant Professor
VIT AP University
Contents
● Storage structure
● Disk Scheduling Algorithms
● Protection Mechanisms
Storage Structure - Disk Structure
Click Here
Storage Structure - Disk Structure
Storage Structure - Disk Structure
# platters = 8
# surfaces = 2
# tracks = 256
# sectors = 512
# data size per sector = 512KB
|80 -50| = 30
0 50 100 150 199
|170 -80| = 90
|43 -170| = 127
|140 -43| = 97
|24 -140| = 116
|16 -24| = 8
|190 -16| = 174
Total = 642
Disk Scheduling Algorithms - FCFS
● Advantages
1. Simplicity
2. No starvation as FCFS strategy followed
● Disadvantages
1. Not very efficient
2. Average seek time is very high
Disk Scheduling Algorithms - SSTF
80 170 43 140 24 16 190 Current position of R/W head = 50
|43 -50| = 07
0 50 100 150 199
|24 -43| = 19
|16 -24| = 8
|80-16| = 64
|140 - 80| = 60
|170 - 140| = 30
|190 - 170| = 20
Total = 208
Disk Scheduling Algorithms - SSTF
80 170 43 140 24 16 190
Total = 332
Disk Scheduling Algorithms - SCAN
Total = 314
Disk Scheduling Algorithms - LOOK
Total = 391
Disk Scheduling Algorithms - Circular SCAN (C-SCAN)
|24 - 16| = 8
|43 - 24| = 19
Total = 341
Disk Scheduling Algorithms - C-LOOK
● Principles of Protection
1. Programs, users, system should be given just enough
privileges to perform their tasks
2. Privileges can be static (during life of system or
process)
Protection and Security
● Domain Structure
● Domain is a set of access rights
Domain/O F1 F2 F3 Printer
bjects
Access Matrix
D1 read read
D2 Print
D3 read Execute
D4 read read
write write
Protection and Security