C
StreamliningMagnetic hard drives are faster than queries, which are closer to the reading headYeah, that makes it more efficient to use the head movement on the disk. Such actions, for example, run the NCQ hardware algorithm, because why rotate the head 500 times by sequentially selecting the line when you can get the data closer? This minimizes the number of head movements and the expectation of the right sector on the track. There are hardware algorithms and software algorithms for the implementation of the alignment.Example of real lifePassengers hit the elevator on the ground floor and press the floors they need, the elevator drives consecutively on the floor number, without distinguishing the difference between those who pressed the first or last, effectively servicing the current line. And if he was serving first those who pressed the first one, imagine how many extra miles would the elevator be? First at 6, then 2 etc.You'll be surprised, but there's a lead controller, that can merge your two requests into one.but you won't even know. The withdrawal controller makes every effort to optimize the time of the request and the work done.Rigid disk and operating systemIntroduction system multi-level. All your queries are serviced by the intake control device, which creates a special structure (e.g. Windows is IRP), requesting a DVD drive, and the directing requests for a hard drive that works with a counter-eller, which is still a magnetic head.Your request is transmitted to the hard drive, what's next? When your request was processed with a hard drive, it generates an interruption processed by the interruption processor for the device, the device ' s driver writes the data into a system memory, and informs the induction control that the data are stored, but now it is necessary to transmit the data to the flower in order to enable it to copy the results in the buffer in the address area of its process.Introductory director knows the ID process that requested the data, he refers to the target area of the process and writes the data from memory system virtual Target area of the process and shall notify the process (e.g., by means of a feedback function or signal) that the data transmission is complete and releases all associated structures.P.S The work of the input-output subsystem is very well described in various resources, although there are long-standing articles describing them as an example of the operational system, http://www.nrjetix.com/fileadmin/doc/publications/Lectures/Lecture12-2.pdf Windows.