11 Physical Representation: Storage and File Structure Flashcards
(37 cards)
How is physical storage media classified?
By speed, costs, reliability, and volatility
Classification criteria for physical storage media
What does reliability in storage refer to?
Trustworthiness to save data during crashes and failures
Reliability is not the same as volatility
What is the difference between volatile and non-volatile storage?
Volatile storage loses contents when power is off; non-volatile persists
Examples of volatile storage include cache and RAM; examples of non-volatile include flash memory and magnetic disks
What are the components of physical storage media?
Cache, main memory, flash memory, magnetic disk
Each component has distinct characteristics and uses
What is cache in terms of storage?
Smallest and fastest form of storage (< 10ns), volatile, low reliability, expensive
Used to temporarily store data that the CPU needs immediately
How does main memory (RAM) compare to cache?
Larger, slower, volatile, expensive, and unreliable
RAM stores data and programs currently being used
What are the characteristics of flash memory?
Non-volatile, faster than magnetic disks, slower than RAM, medium costs, reliable
Used in SSDs, USB drives, and devices like phones and cameras
What is a magnetic disk?
Non-volatile, slow, cheapest form of storage, reliable
Examples include Hard Disk Drives (HDDs) used in gaming consoles
Fill in the blank: Cache is the ________ and ________ form of storage.
smallest, fastest
Cache is located inside the CPU or very close to it
True or False: Flash memory is slower than RAM when reading.
False
Flash memory reads equally fast to RAM but is slower on writes/erases
What is the access speed range for main memory (RAM)?
10 ns to 100 ns
RAM is faster than magnetic disks but slower than cache
What is the primary disadvantage of magnetic disks?
More prone to physical damage due to moving parts
Long use or physical shock can disturb magnetic disks
What are disc heads?
Tiny arms that read and write data on the disk, hovering just above the surface.
What is a platter in a magnetic disk?
A round flat disk inside the hard drive that spins and stores data, with two surfaces for storage.
Define track and cylinder in the context of a magnetic disk.
A track is a circular path on the surface of a platter; a cylinder is a group of tracks that line up vertically across all platters.
What is a sector in a magnetic disk?
The smallest physical storage unit on the disk, each track is divided into sectors.
What is a block in the context of data storage?
A unit of data that the system reads/writes at once, made up of one or more sectors.
True or False: Discs are faster than RAM.
False
What are the components of total time (T_Access) to read N bytes?
- T_Seek
- T_Rotational
- T_Transfer
How is T_Transfer calculated?
T_Transfer = N / DTR
What is RAID?
A technique that uses multiple disks in parallel to offer higher capacity, speed, and high reliability.
What is redundancy in RAID?
A backup system used to rebuild data if a disk fails.
What is the role of a buffer in data storage?
A portion of RAM used to store copies of disk blocks temporarily.
What does a buffer manager do?
Allocates space in the buffer and decides which blocks to load and how to replace them.