Lecture 10 Extenral Memory COA
Lecture 10 Extenral Memory COA
NUCSF
• Primary memory has limited storage capacity and is volatile.
• While CD-ROM has been widely used for many years, more recent
technologies, such as writable CD and DVD, are becoming
increasingly important.
Example of external memory
examples of secondary memory devices include:
• magnetic tapes
• Magnetic disks are less expensive than RAM and can store large
amounts of data, but the data access rate is slower than main memory
because of secondary memory.
Pros and cons of magnetic disk
• Advantages:-
These are economical memory
Easy and direct access to data is possible.
It can store large amounts of data.
It has a better data transfer rate than magnetic tapes.
It has less data to corruption of data as compared to tapes.
Pros and cons of magnetic disk
Disadvantages:
These are less expensive than RAM but more expensive than
magnetic tape memories.
It needs a clean and dust-free environment to store.
These are not suitable for sequential access.
Read and Write Mechanisms
• Read
• Spindle: This is the axis that the platters spin around. The speed
of the spin, measured in RPM (Revolutions Per Minute), is a
significant factor in the performance of the drive
• The entire disk is divided into platters.
• These tracks are further divided into sectors which are the
smallest divisions in the disk.
Nonremovable disk
• Permanently mounted in the drive section.
Multiple Platters
• One head per side
• Heads are joined and
aligned
• Aligned tracks on each
platter form cylinders
• Data is striped by cylinder
— reduces head
movement
– —increases speed
(transfer rate)
DISK PERFORMANCE PARAMETERS
• Seek time
• (Rotational) latency
• Transfer rate=the time required to transfer the data, once the head
is in position.
• Seek time – The time taken by the R-W head to reach the desired track
from its current position.
• 4 surfaces
• 64 tracks/surface
• 128 sectors/track
• 256 bytes/sector
• Slow
• Very cheap
• Store as archive
• Data can be read and written because the disk is magnetic. Writes
and reads floppy disks with a floppy disk drive.
How Does a Floppy Disk Work?
• Data is magnetically stored on the circular platter surface of a floppy
disk.
• A read/write head within the drive reads data that has been encoded
onto the platter by moving over it.
• After that, the drive converts these bits into text, images, or music
that the computer’s CPU can understand.
• The read/write head aligns the magnetic polarities so that the computer may
write data to the platter—0s and 1s that can be decoded by another device
later on
Reference
• http://WilliamStallings.com/COA/COA7e.html
– links to sites of interest
– links to sites for courses that use the book
– errata list for book
– information on other books by W. Stallings
• http://WilliamStallings.com/StudentSupport.html
– Math
– How-to
– Research resources
– Misc