How does a processor deal with the hard disk?

mohab

New member
Local time
7:00 AM
Messages
130
My question is:
Lets say at a point in time the processor asks for a file called abc, does the processor manage the process of moving the hd head to the file allocation table, then getting th location of the file and ordering the head to go to the right place on the disk and reading the file....
Or does it just require file abc and the hard disk somehow manages to do th rest on it's own until it copies the abc file to memory?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Optiplex 7020
OS
Windows 7 Professional 64 bits
CPU
Core i5 3.3 GHz
Motherboard
original
Memory
12GB
Graphics Card(s)
original (Intel HD graphics 4600
Monitor(s) Displays
Samsung SyncMaster 713N
Screen Resolution
1280 x 1024
Hard Drives
Kingstone SSDnow 480GB
Antivirus
Kaspersky Internet security 2016
Browser
Opera
In most cases, the CPU passes on the request to the hard disk, and the hard disk controller takes over. It looks for the file in the master file allocation table, locates the file and loads it into its memory cache. It then signals the CPU that it has the file loaded and ready, and the CPU fetches it and does whatever it's going to do with it. The hard disk manages all of the head/sector management itself.

That's a bit simplified, but I hope it answers your question.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Mellon Labs (custom build)
OS
Win 7 Pro x64/Win 10 Pro x64 dual boot
CPU
AMD FX 8350 Vishera @ 4200
Motherboard
ASUS M5A97 R2.0
Memory
16 GB Mushkin Blackline DDR3-2400 @ 1866 (9-10-10-10-31)
Graphics Card(s)
XFX Radeon R9 280 Double D Black Edition
Sound Card
Realtek HD Audio on MB. Sounds great.
Monitor(s) Displays
Acer 24", Acer 22"
Screen Resolution
3840 x 1080
Hard Drives
1 x Mushkin Chronos 120 GB SSD (Win 10)
1 x Samsung 850 EVO 250 GB SSD (Win 7)
1 x WD 1TB SATA Blue
1 x WD 1TB SATA Green
PSU
Corsair TX-750
Case
CoolerMaster HAF 912+
Cooling
Coolermaster Seidon 240M Liquid AIO. 6 case fans
Keyboard
Logitech G710+
Mouse
Logitech G500s
Internet Speed
Much better since I got fiber, but still way overpriced.
Antivirus
MSE, Malware Bytes for scanning
Browser
Firefox
Other Info
Corsair VOID USB headphones.

A Mellon Labs X-1 - LCD Smartie driven system status display.

Brought to you by the letter E
My question is:
Lets say at a point in time the processor asks for a file called abc, does the processor manage the process of moving the hd head to the file allocation table, then getting th location of the file and ordering the head to go to the right place on the disk and reading the file....

That was the case in very old computers (1980's vintage) but in more recent years these and other details are handled internally by the drive itself. A big problem with the old system is that it required the device drivers to have detailed knowledge of the drives internal organization. The new system allows the OS and device drivers to treat the hard drive as a "Black Box", a device whose function is known but with no knowledge of how it works. This allows you to replace a conventional drive with an SSD (solid state drive) and everything just works. The OS and device drivers can treat them in exactly the same way.

To the OS and device drivers the hard drive is just a place to store blocks of data. And the drive itself has no knowledge of the nature of that data. It knows nothing of file systems, files, or folders. This allows the drive to work with almost any file system, even one that did not exist when it was designed and built.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
Thank you for your replies. I asked this question after installing SSDs mainly to check if spinning hard disks waste some of the processor's time dealing with their internal operations.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Optiplex 7020
OS
Windows 7 Professional 64 bits
CPU
Core i5 3.3 GHz
Motherboard
original
Memory
12GB
Graphics Card(s)
original (Intel HD graphics 4600
Monitor(s) Displays
Samsung SyncMaster 713N
Screen Resolution
1280 x 1024
Hard Drives
Kingstone SSDnow 480GB
Antivirus
Kaspersky Internet security 2016
Browser
Opera
I look at it this way.
Example:

When you use built in Windows defrag the hard drive doesn't know what is on it or where it is. The hard drive or ssd is just a storage device with little knowledge.
Window 7 knows where things are and how to get to them.
Windows 7 gives a request and instruction and the proper hardware reacts to complete the request if possible.
Hard drives and SSD's are pretty much dumb and need guidance from other sources to get anything done.

Most hardware are dumb. They don't know anything or can do anything until a request is applied. The request comes via the operating system.
Ram doesn't know why it is being request to be used. All it knows is that a request has been given and if possible it will comply.
That is why a proper operating system is required.

That is why I wonder why people complain about the price of a operating system.
All that hardware is nothing but a boat anchor without a operating system to tell it what, when and how to do things.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home made Desktop
OS
Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
CPU
Intel i7-6800K @ 4.3
Motherboard
ASUS X-99 Deluxe II
Memory
Corsair Platinum 16 gig @2400
Graphics Card(s)
EVGA GTX 1070 OC
Monitor(s) Displays
Asus 27" LED LCD/VE278Q
Screen Resolution
1920-1080 or 1280-720 HDMI
Hard Drives
INTEL SSD 730-240 Gb Sata 3.0/
PSU
EVGA Platium 1200W
Case
Phanteks Luxe Tempered Glass 8 fans/ one radiator
Cooling
XSPC/ Water Cooled CPU
Keyboard
Das 4 Professional
Mouse
Logitech M705/MX Anywhere 2-S
Internet Speed
100 mbits
Antivirus
Microsoft Security Essentials/ Malwarebytes Premium 3.0/ SAS
Browser
I.E. 11 default/Firefox/ ISP Time Warner Cable/Spectrum
Other Info
LG BluRay Burner/
Sound system-KLipsch-THX/
Icy Dock ssd Hot Swap bays.
Back
Top