Essentials of Computer Organization and Architecture
Essentials of Computer Organization and Architecture
5th Edition
ISBN: 9781284123036
Author: Linda Null
Publisher: Jones & Bartlett Learning
Expert Solution & Answer
Book Icon
Chapter 11, Problem 19E

Explanation of Solution

Performance:

  • The speed of the CPU is a key factor that often decides the performance of the system.
  • Disk access speed is considered to be another factor that is used to determine the performance.
  • The read write operation that is performed on the disk (milliseconds) is considered to take significantly longer access time in comparison with that of the operation that is performed in a CPU (nanoseconds).
  • To improve the performance of the disk access they are different ways present.
  • The algorithm that determines the order in which the data access made in the disk will be beneficial is calculated.

Given:

It is know that there are 100 tracks that are ranged from 0 to 99.

At the beginning the disk arm is considered to be at the position 50 and it will getting move through and towards the lower numbered tracks.

The service request order is as follows 54, 36,21,74,46,35,26,67.

Disk traversed using FCFS (First come First Serve):

The service request is being handled in the way they are being received:

Service requestAccess madeNumber of access
5450-544
3654-3618
2136-2115
7421-7453
4674-4628
3546-3511
2635-269
6726-6741
Total number of disk access179

Therefore, total number of disk access required is “179”.

Disk traversed using SSTF (Shortest Seek Time First):

  • The service request that are from the nearest of the sector to that of the current position of the disk arm are being handled on priority.
  • The list is processed to be generated in the way from the current position of the disk arm and the instances of the next nearest access are being obtained at every instance.
Service requestAccess that is nearestAccess madeNumber of access
505450-544
544654-468
463646-3610
363536-351
352635-269
262126-215
216721-6746
677467-747
Total number of disk access90

Therefore, total number of disk access required is “90”...

Blurred answer
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education