📜  磁盘调度中传输时间和磁盘访问时间的区别

📅  最后修改于: 2021-09-15 01:38:06             🧑  作者: Mango

1. 中转时间:
传输所需数据量所需的时间。可以通过给定的公式计算

Transfer time,
= Data to be transfer / transfer rate 

要传输的数据在问题中给出,传输速率有时给出,有时可能不给出。

它可以通过给定的公式计算。

Transfer Rate,
= {(Number of heads or number of surfaces in the disk)
     *(capacity of one track or number of sectors in each track)
       *(Number of rotations in each track to reach the required sector)}

2. 数据访问时间:
它是访问数据所需的总时间。它表示从磁盘读/写数据所需的总时间。
以下是计算数据访问时间的公式:

Data access time,
= {(Seek time) + (Rotational Latency) + (Data Transfer Time)} 

笔记:

  • 寻道时间 – R/W 磁头从当前位置移动到所需磁道所需的时间。
  • 旋转延迟 –扇区进入 R/W 磁头所需的时间。

磁盘调度中传输时间和磁盘访问时间的区别:

sr.no. DATA TRANSFER TIME DATA ACCESS TIME
1 Time required to transfer the required amount of data. It is the total time required to access the data.It means total time required to read/write the data from the disk.
2 To calculate data transfer time we require only transfer rate to calculate data access time we require seek time, rotational latency and data transfer time
3 Thus to calculate data transfer time there is no requirement of data access time To calculate data access time there is the requirement of data transfer time
4 Transfer time=Data to be transfer/transfer rate Data access time = {(Seek time) + (Rotational Latency) + (Data Transfer Time)}