Accessing hard disk

时光毁灭记忆、已成空白 提交于 2019-12-03 21:32:36
Anirudh Ramanathan

RAM is directly mapped into the processor's address/data bus. Hard drives are not. They interface to a disk controller (IDE, SATA, SCSI, etc). The disk controller copies data to/from RAM in smaller blocks where the CPU works with it.

There are various addressing schemes for Hard-disks as well, such as LBA, CHS etc, which themselves run into limitations from time to time.

Hence, the processor only needs to access the caches and RAM as the HDD itself is too slow for it. The 32 bit CPU can access just 4 GB of memory at a time, which is the limit on the size of physical memory on these systems. Hence, the sequence is

HDD-->RAM-->Caches-->Processor

Read this and this.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!