SlideShare a Scribd company logo
1 of 64
Download to read offline
Madam Raini Hassan
Office: C5 - 23, Level 5, KICT Building
Department: Computer Science
Emails: hrai@iium.edu.my, hraini.iii@gmail.com
1
Du’a for Study
Semester II 2014/2015 2
LECTURE 07
External Memory
(Chapter 6)
Outline
• Magnetic Disk
Magnetic Read and Write
Mechanisms
Data Organization and
Formatting
Physical Characteristics
Disk Performance
Parameters
• RAID
RAID Level 0 to 6
• Solid State Drives
Flash Memory
SSD Compared to HDD
SSD Organization
Practical Issues
• Optical Memory
Compact Disk
Digital Versatile Disk
High-Definition Optical
Disks
Semester II 2014/2015 4
Magnetic Disk
• A disk is a circular platter constructed of nonmagnetic material, called
the substrate, coated with a magnetizable material
– Traditionally the substrate has been an aluminium or aluminium alloy material
– Recently glass substrates have been introduced
• Benefits of the glass substrate:
– Improvement in the uniformity of the magnetic film surface to increase disk
reliability
– A significant reduction in overall surface defects to help reduce read-write errors
– Ability to support lower fly heights
– Better stiffness to reduce disk dynamics
– Greater ability to withstand shock and damage
Semester II 2014/2015 5
MAGNETIC READ AND WRITE
MECHANISMS
Data are recorded on and later retrieved from
the disk via a conducting coil named the head
•In many systems there are two heads, a read head and a
write head
•During a read or write operation the head is stationary
while the platter rotates beneath it
The write mechanism
exploits the fact that
electricity flowing through a
coil produces a magnetic
field
Electric pulses are sent to the write
head and the resulting magnetic
patterns are recorded on the
surface below, with different
patterns for positive and negative
currents
The write head itself is made
of easily magnetizable material
and is in the shape of a
rectangular doughnut with a
gap along one side and a few
turns of conducting wire along
the opposite side
An electric current in the
wire induces a magnetic
field across the gap,
which in turn magnetizes
a small area of the
recording medium
Reversing the direction of
the current reverses the
direction of the
magnetization on the
recording mediumSemester II 2014/2015 6
Inductive Write/Magnetoresistive Read Head
Semester II 2014/2015 7
8
Data Organization and Formatting
• Concentric set of rings called tracks
– There are gaps between adjacent tracks
– This prevents or minimizes errors due to misalignment of the
head or inference of magnetic field.
– Same number of bits per track (variable packing density)
• Tracks divided into sectors
• Minimum block size is one sector
• May have more than one sector per block
Semester II 2014/2015
9
Disk Data Layout Concentric set of rings
called tracks
Tracks divided into sectors
10
Disk Velocity
• Bit near centre of rotating disk passes fixed point
slower than bit on outside of disk.
• Therefore some way must be found to compensate the
variation is speed so that the head can read all the bits
at the same rate.
• That particular way: Increase spacing between bits in
different tracks.
– Constant angular velocity (CAV) – The information then can
be scanned at the same rate by rotating the disk at a fixed
speed.
• Rotate disk at constant angular velocity (CAV)
– Gives pie shaped sectors and concentric tracks
– Move head to given track and wait for given sector
Semester II 2014/2015
11
Disk Layout Methods Diagram: CAV
• Increase spacing between bits
in different tracks.
– The information then can be
scanned at the same rate by
rotating the disk at a fixed
speed.
• Adv: Individual tracks and
sectors addressable
• Disadv: Waste of space on
outer tracks
– Lower data density
Semester II 2014/2015
12
Disk Layout Methods Diagram: MZR
• Use zones to increase
capacity
– Each zone has fixed bits
per track
– More complex circuitry
Semester II 2014/2015
13
Finding Sectors: Formatting
• Must be able to identify start of track and sector
• Format disk
– The disk is formatted with some extra data used only by the
disk drive and not accessible to user
– Marks tracks and sectors.
Semester II 2014/2015
Finding Sectors: Formatting –
Example (Winchester Disk
Format - Seagate ST506)
Semester II 2014/2015 14
15
Finding Sectors: Formatting –
Example (Winchester Disk Format)
• In this case, each track contains 30 fixed-length sectors of
600 bytes each.
• Each sector holds 512 bytes of data plus control
information useful to the disk controller.
• The ID field is a unique identifier or address used to locate
a particular sector.
• The SYNCH byte is a special bit pattern that delimits the
beginning of the field.
• The track number identifies a track on a surface.
• The head number identifies a head, because this head has
multiple surfaces.
• The ID and data field each contain an error-detecting code.
Semester II 2014/2015
Table 6.1
Physical Characteristics
of Disk Systems
Table 6.1 Physical Characteristics of Disk Systems
Semester II 2014/2015 16
17
Head Motion
• Fixed head
– One read-write head per track
– Heads are mounted on a fixed ridged arm that extends across
all tracks
• Movable head
– One read-write head
– Head is mounted on an arm
– The arm can be extended or retracted
Semester II 2014/2015
18
Disk Portability
• Removable disk
– Can be removed and replaced with another disk
– Advantages:
• Unlimited amounts of data are available with a limited number of
disk systems
• A disk may be moved from one computer system to another
– Floppy disks and ZIP cartridge disks are examples of
removable disks
• Non-removable disk
– Permanently mounted in the disk drive
– The hard disk in a personal computer is a non-removable
disk
Semester II 2014/2015
19
Disk Portability - Examples
Floppy
ZIP
Semester II 2014/2015
20
Sides
• For most disks, the magnetizable coating is applied to
both sides of the platter, referred to as double-sided.
• Some less expensive disk systems use single-sided disks
Semester II 2014/2015
21
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)
Semester II 2014/2015
22
Multiple Platters
For most disks, the magnetizable
coating is applied to both sides of
the platter, referred to as double-
sided.
Heads are joined and aligned
Semester II 2014/2015
23
Cylinders
Aligned tracks on
each platter form
cylinders
- Data is striped by cylinder
-> reduces head movement
-> Increases speed (transfer rate)
Semester II 2014/2015
24
Head Mechanisms
• The head must generate or sense an electromagnetic
field of sufficient magnitude to write and read properly.
• The narrower the head, the closer it must be to the
platter surface to function
– A narrower head means narrower tracks and therefore greater
data density
• The closer the head is to the disk the greater the risk of
error from impurities or imperfections
Semester II 2014/2015
25
Head Mechanisms: Fixed Gap
• Traditionally, the read-write positioned at a fixed
distance above the platter, allowing an air gap.
Semester II 2014/2015
26
Head Mechanisms: Contact (Floppy)
• A head mechanism that actually comes into physical
contact with the medium during a read or write
operation.
• 8”, 5.25”, 3.5”
• Small capacity
– Up to 1.44Mbyte (2.88M never popular)
• Slow
• Universal
• Cheap
• Obsolete?
Semester II 2014/2015
27
Head Mechanisms: Aerodynamic
Gap (Winchester)
• Used in sealed drive assemblies that are almost free of
contaminants
• Designed to operate closer to the disk’s surface than
conventional rigid disk heads, thus allowing greater data
density
• Is actually an aerodynamic foil that rests lightly on the
platter’s surface when the disk is motionless
– The air pressure generated by a spinning disk is enough to
make the foil rise above the surface
Semester II 2014/2015
28
Disk Performance Parameters
• The actual details of disk I/O operation depend on the
computer system, the operating system, and the nature
of the I/O channel and disk controller hardware.
Semester II 2014/2015
Typical Hard Disk Parameters
Table 6.2 Typical Hard Disk Drive Parameters 29
Disk Performance Parameters
• When the disk drive is operating the disk is rotating at
constant speed
• To read or write the head must be positioned at the
desired track and at the beginning of the desired sector
on the track
– Track selection involves moving the head in a movable-head
system or electronically selecting one head on a fixed-head
system
– Once the track is selected, the disk controller waits until the
appropriate sector rotates to line up with the head
Semester II 2014/2015 30
Disk Performance Parameters
• Seek time
– On a movable–head system, the time it takes to position the head at the
track
• Rotational delay (rotational latency)
– The time it takes for the beginning of the sector to reach the head
• Access time
– The sum of the seek time and the rotational delay
– The time it takes to get into position to read or write
• Transfer time
– Once the head is in position, the read or write operation is then performed
as the sector moves under the head
– This is the data transfer portion of the operation
Semester II 2014/2015 31
RAID
• Consists of 7 levels (0 to 6).
• Use when there are instances where the
single hard disk cannot fulfill the
requirement of the business organizations
with regard to capacity, performance and
quality.
• Levels do not imply a hierarchical
relationship but designate different design
architectures that share three common
characteristics:
1) Set of physical disk drives viewed by the operating
system as a single logical drive
2) Data are distributed across the physical drives of an
array in a scheme known as striping
3) Redundant disk capacity is used to store parity
information, which guarantees data recoverability in
case of a disk failure
Redundant Array of
Independent Disks
32
N = number of data disks; m proportional to log N
Table 6.3 RAID Levels
33
RAID Levels
0, 1, 2
Semester II 2014/2015 34
RAID
Levels
3, 4, 5, 6
35
36
RAID 0
• Has the lowest cost of any RAID organization because it does not employ
redundancy at all.
• Data striped across all disks
• It offers the best performance but no fault-tolerance.
• For applications in which performance and capacity are primary concerns, and low
cost is more important than reliability
Semester II 2014/2015
37
RAID 1
• Redundancy achieved through mirrored disks
• Data is striped across disks
• Consists of at least 2 drives that duplicate the storage of data.
• Whenever data is written to a disk the same data is also written to a redundant disk,
so that there are always 2 copies of information.
• Write to both, read from either.
• RAID 1 can also be implemented without data striping, although this is less
common
Semester II 2014/2015
38
RAID 2
• Makes use of a parallel access technique
• In a parallel access array all member disks participate in the execution of every
I/O request (disks are synchronized).
• Spindles of the individual drives are synchronized so that each disk head is in the
same position on each disk at any given time
• Very small stripes
– Often single byte/word
• Error correction calculated across corresponding bits on disks
• Multiple parity disks store Hamming code error correction in corresponding
positions
• Lots of redundancy
– Expensive
– Not used
39
RAID 3
• Similar to RAID 2; employs parallel access, with data distributed in small strips
• Only one redundant disk, no matter how large the array
• Simple parity bit for each set of corresponding bits
• Data on failed drive can be reconstructed from surviving data and parity info
– a simple parity bit is computed for the set of individual bits in the same position on all
of the data disks
• Can achieve very high data transfer rates
• Requires only a single redundant disk, no matter how large the disk array
• Employs parallel access, with data distributed in small strips
Semester II 2014/2015
40
RAID 4
• Each disk operates independently
– In an independent access array, each member disk operates independently so that
separate I/O requests can be satisfied in parallel
• Good for high I/O request rate - multi I/O requests can be handled parallel
• Data striping - large stripes
• Bit by bit parity calculated across stripes on each disk
– To calculate the new parity the array management software must read the old user
strip and the old parity strip
• Parity stored on parity disk
41
RAID 5
• Organized in a similar fashion to RAID 4
• Difference is distribution of the parity strips across all disks
• A typical allocation is a round-robin scheme
• The distribution of parity strips across all drives avoids the potential I/O
bottleneck found in RAID 4
• Commonly used in network servers (multi-user systems) in which performance
is not critical or which do few write operations.
42
RAID 6
• Two different parity calculations are carried out and stored in separate blocks on
different disks
• Advantage is that it provides extremely high data availability
• User requirement of N disks needs N+2
• High data availability
– Three disks need to fail for data loss
– Significant write penalty
Semester II 2014/2015
Semester II 2014/2015 43
44
Solid State Drive (SSD)
A memory device made
with solid state
components that can be
used as a replacement to a
hard disk drive (HDD)
The term solid state
refers to electronic
circuitry built with
semiconductors
Flash memory
A type of semiconductor
memory used in many
consumer electronic
products including smart
phones, GPS devices,
MP3 players, digital
cameras, and USB
devices
Cost and performance
has evolved to the point
where it is feasible to
use to replace HDDs
Two distinctive types of
flash memory:
NOR
• The basic unit of access is a bit
• Provides high-speed random access
• Used to store cell phone operating
system code and on Windows
computers for the BIOS program
that runs at start-up
NAND
• The basic unit is 16 or 32 bits
• Reads and writes in small blocks
• Used in USB flash drives, memory
cards, and in SSDs
• Does not provide a random-access
external address bus so the data
must be read on a block-wise basis
45
Figure 6.10
Flash Memory Operation 46
SSD Compared to HDD
SSDs have the following advantages over HDDs:
• High-performance input/output operations per second (IOPS)
• Durability
• Longer lifespan
• Lower power consumption
• Quieter and cooler running capabilities
• Lower access times and latency rates
Table
6.5
47
SSD
Organization
48
Practical Issues
• SDD performance has a
tendency to slow down as
the device is used
– The entire block must be read
from the flash memory and
placed in a RAM buffer
– Before the block can be
written back to flash memory,
the entire block of flash
memory must be erased
– The entire block from the
buffer is now written back to
the flash memory
• Flash memory becomes
unusable after a certain number
of writes
– Techniques for prolonging life:
• Front-ending the flash with a
cache to delay and group write
operations
• Using wear-leveling algorithms
that evenly distribute writes across
block of cells
• Bad-block management techniques
– Most flash devices estimate their
own remaining lifetimes so systems
can anticipate failure and take
preemptive action
There are two practical issues peculiar to SSDs that are not faced by
HDDs:
49
Table 6. 6
Optical
Disk
Products
50
Compact Disk Read-Only Memory
(CD-ROM)
• Audio CD and the CD-ROM share a similar technology
– The main difference is that CD-ROM players are more rugged and
have error correction devices to ensure that data are properly transferred
• Production:
– The disk is formed from a resin such as polycarbonate
– Digitally recorded information is imprinted as a series of microscopic pits on
the surface of the polycarbonate
- This is done with a finely focused, high intensity laser to create a master
disk
– The master is used, in turn, to make a die to stamp out copies onto
polycarbonate
– The pitted surface is then coated with a highly reflective surface, usually
aluminum or gold
– This shiny surface is protected against dust and scratches by a top
coat of clear acrylic
– Finally a label can be silkscreened onto the acrylic 51
CDs and CD-ROM
• Information organized by using single spiral track – beginning near
the center and spiraling out to the outer edge of the disk.
• Sectors near the outside of the disk are the same length as those
near the inside.
• Thus, information is packed evenly across the disk in segments of
the same size and these are scanned at the same rate by rotating the
disk at a variable speed.
• The pits are then read by the laser at a constant linear velocity
(CLV).
• The disk rotates more slowly for access near the outer edge than for
those near the center.
• Thus, the capacity of a track and the rotational delay both increase
for positions nearer the outer edge of the disk.
• The data capacity for a CD-ROM is about 680 MB.
52
CD Operation
53
CD-ROM
• CD-ROM is appropriate for the distribution of large amounts of
data to a large number of users
• Because the expense of the initial writing process it is not
appropriate for individualized applications
• The CD-ROM has two advantages:
1. The optical disk together with the information stored on it can be
mass replicated inexpensively
2. The optical disk is removable, allowing the disk itself to be used
for archival storage
• The CD-ROM disadvantages:
1. It is read-only and cannot be updated
2. It has an access time much longer than that of a magnetic disk
drive Semester II 2014/2015 54
CD Recordable (CD-R)
• Write-once read-many (WORM)
• Accommodates applications in which only one or a small
number of copies of a set of data is needed
• Disk is prepared in such a way that it can be subsequently written
once with a laser beam of modest-intensity
• Medium includes a dye layer which is used to change reflectivity
and is activated by a high-intensity laser
• Provides a permanent record of large volumes of user data
Semester II 2014/2015 55
CD Rewritable (CD-RW)
• Can be repeatedly written and overwritten
• Phase change disk uses a material that has two significantly
different reflectivities in two different phase states
• Amorphous state
– Molecules exhibit a random orientation that reflects light poorly
• Crystalline state
– Has a smooth surface that reflects light well
• A beam of laser light can change the material from one phase to
the other
• Disadvantage is that the material eventually and permanently
loses its desirable properties
• Advantage is that it can be rewritten 56
Digital Versatile Disk (DVD)
• The DVD takes video into digital age.
• It delivers movies with impressive picture quality, and it can be
randomly accessed like audio CDs, which DVD machine can also
play.
• Vast volumes of data can be crammed onto the disk, currently
seven times as much as a CD-ROM.
• The DVD’s greater capacity is due to the three differences from
CDs:
1. Bits are packed more closely.
2. The DVD employs a second layer of pits and lands on top of the first
layer.
3. The DVD-ROM can be two-sided.
Semester II 2014/2015 57
Digital
Versatile Disk
(DVD)
58
High-Definition Optical Disks
• Designed to store high-definition videos and to provide
significantly greater storage capacity compared to DVDs.
• The higher bit density is achieved by using a laser with a shorter
wavelength, in the blue-violet range.
• The data pits, which constitute the digital 1s and 0s, are smaller
on the high-definition optical disks compared to DVD because
of the shorter laser wavelength.
Semester II 2014/2015 59
High-Definition Optical Disks
• Two competing disk formats and technologies initially competed
for market acceptance: HD DVD and Blu-ray DVD.
• The Blu-ray scheme ultimately achieved market dominance. The
HD DVD scheme can store 15 GB on a single layer on a single
side. Blu-ray positions the data layer on the disk closer to the
laser (shown on the right-hand side of each diagram in Figure
6.15).
• This enables a tighter focus and less distortion and thus smaller
pits and tracks. Blu-ray can store 25 GB on a single layer.
• Three versions are available: read only (BD-ROM), recordable
once (BD-R), and re-recordable (BD-RE).
Semester II 2014/2015 60
High-Definition
Optical Disks
61
Magnetic Tape
• Tape systems use the same reading and recording techniques as
disk systems
• Medium is flexible polyester tape coated with magnetizable
material
• Coating may consist of particles of pure metal in special binders
or vapor-plated metal films
• Data on the tape are structured as a number of parallel tracks
running lengthwise
• Serial recording
– Data are laid out as a sequence of bits along each track
– Data are read and written in contiguous blocks called physical records
– Blocks on the tape are separated by gaps referred to as inter-record gaps
Semester II 2014/2015 62
Magnetic Tape
Features
63
Table 6.7
LTO Tape Drives
64

More Related Content

What's hot

Parallel Programming
Parallel ProgrammingParallel Programming
Parallel ProgrammingUday Sharma
 
Auxiliary memory
Auxiliary memoryAuxiliary memory
Auxiliary memoryYuvrajVyas2
 
09. Memory, Storage (RAM, Cache, HDD, ODD, SSD, Flashdrives)
09. Memory, Storage (RAM, Cache, HDD, ODD, SSD, Flashdrives)09. Memory, Storage (RAM, Cache, HDD, ODD, SSD, Flashdrives)
09. Memory, Storage (RAM, Cache, HDD, ODD, SSD, Flashdrives)Akhila Dakshina
 
Record storage and primary file organization
Record storage and primary file organizationRecord storage and primary file organization
Record storage and primary file organizationJafar Nesargi
 
PAI Unit 2 Segmentation in 80386 microprocessor
PAI Unit 2 Segmentation in 80386 microprocessorPAI Unit 2 Segmentation in 80386 microprocessor
PAI Unit 2 Segmentation in 80386 microprocessorKanchanPatil34
 
RAM and ROM Memory Overview
RAM and ROM Memory OverviewRAM and ROM Memory Overview
RAM and ROM Memory OverviewPankaj Khodifad
 
Lect 2 ARM processor architecture
Lect 2 ARM processor architectureLect 2 ARM processor architecture
Lect 2 ARM processor architectureDr.YNM
 
Presentation On RAID(Redundant Array Of Independent Disks) Basics
Presentation On RAID(Redundant Array Of Independent Disks) BasicsPresentation On RAID(Redundant Array Of Independent Disks) Basics
Presentation On RAID(Redundant Array Of Independent Disks) BasicsKuber Chandra
 
Combined paging and segmentation
Combined paging and segmentationCombined paging and segmentation
Combined paging and segmentationTech_MX
 
x86 architecture
x86 architecturex86 architecture
x86 architecturei i
 

What's hot (20)

VIRTUAL MEMORY
VIRTUAL MEMORYVIRTUAL MEMORY
VIRTUAL MEMORY
 
Magnetic Tape
Magnetic TapeMagnetic Tape
Magnetic Tape
 
Optical Storage
Optical StorageOptical Storage
Optical Storage
 
Parallel Programming
Parallel ProgrammingParallel Programming
Parallel Programming
 
Auxiliary memory
Auxiliary memoryAuxiliary memory
Auxiliary memory
 
09. Memory, Storage (RAM, Cache, HDD, ODD, SSD, Flashdrives)
09. Memory, Storage (RAM, Cache, HDD, ODD, SSD, Flashdrives)09. Memory, Storage (RAM, Cache, HDD, ODD, SSD, Flashdrives)
09. Memory, Storage (RAM, Cache, HDD, ODD, SSD, Flashdrives)
 
Optical storagе
Optical storagеOptical storagе
Optical storagе
 
Optical memory by sonal
Optical memory by sonalOptical memory by sonal
Optical memory by sonal
 
X86 Architecture
X86 Architecture X86 Architecture
X86 Architecture
 
Record storage and primary file organization
Record storage and primary file organizationRecord storage and primary file organization
Record storage and primary file organization
 
PAI Unit 2 Segmentation in 80386 microprocessor
PAI Unit 2 Segmentation in 80386 microprocessorPAI Unit 2 Segmentation in 80386 microprocessor
PAI Unit 2 Segmentation in 80386 microprocessor
 
Demand paging
Demand pagingDemand paging
Demand paging
 
RAID
RAIDRAID
RAID
 
Dma
DmaDma
Dma
 
External Memory
External  MemoryExternal  Memory
External Memory
 
RAM and ROM Memory Overview
RAM and ROM Memory OverviewRAM and ROM Memory Overview
RAM and ROM Memory Overview
 
Lect 2 ARM processor architecture
Lect 2 ARM processor architectureLect 2 ARM processor architecture
Lect 2 ARM processor architecture
 
Presentation On RAID(Redundant Array Of Independent Disks) Basics
Presentation On RAID(Redundant Array Of Independent Disks) BasicsPresentation On RAID(Redundant Array Of Independent Disks) Basics
Presentation On RAID(Redundant Array Of Independent Disks) Basics
 
Combined paging and segmentation
Combined paging and segmentationCombined paging and segmentation
Combined paging and segmentation
 
x86 architecture
x86 architecturex86 architecture
x86 architecture
 

Viewers also liked

Drupal Camp Kiev 2012 - High Performance Drupal Web Sites
Drupal Camp Kiev 2012 - High Performance Drupal Web SitesDrupal Camp Kiev 2012 - High Performance Drupal Web Sites
Drupal Camp Kiev 2012 - High Performance Drupal Web SitesJean-Baptiste Guerraz
 
Csc1401 lecture05 - cache memory
Csc1401   lecture05 - cache memoryCsc1401   lecture05 - cache memory
Csc1401 lecture05 - cache memoryIIUM
 
Java 102 intro to object-oriented programming in java
Java 102   intro to object-oriented programming in javaJava 102   intro to object-oriented programming in java
Java 102 intro to object-oriented programming in javaagorolabs
 
Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)
Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)
Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)Raid Data Recovery
 
Computer Hardware
Computer HardwareComputer Hardware
Computer Hardwarenitinmote
 
oops concept in java | object oriented programming in java
oops concept in java | object oriented programming in javaoops concept in java | object oriented programming in java
oops concept in java | object oriented programming in javaCPD INDIA
 
Disk management / hard drive partition management / create drive or partition...
Disk management / hard drive partition management / create drive or partition...Disk management / hard drive partition management / create drive or partition...
Disk management / hard drive partition management / create drive or partition...Ajay Panchal
 
Computer Architecture and organization
Computer Architecture and organizationComputer Architecture and organization
Computer Architecture and organizationBadrinath Kadam
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output OrganizationKamal Acharya
 
08. Central Processing Unit (CPU)
08. Central Processing Unit (CPU)08. Central Processing Unit (CPU)
08. Central Processing Unit (CPU)Akhila Dakshina
 
Cpu presentation
Cpu presentationCpu presentation
Cpu presentationHarry Singh
 

Viewers also liked (20)

Hard disk PPT
Hard disk PPTHard disk PPT
Hard disk PPT
 
External memory
External memoryExternal memory
External memory
 
Drupal Camp Kiev 2012 - High Performance Drupal Web Sites
Drupal Camp Kiev 2012 - High Performance Drupal Web SitesDrupal Camp Kiev 2012 - High Performance Drupal Web Sites
Drupal Camp Kiev 2012 - High Performance Drupal Web Sites
 
Edp111c z2-001
Edp111c z2-001Edp111c z2-001
Edp111c z2-001
 
Magnetic disk
Magnetic diskMagnetic disk
Magnetic disk
 
Csc1401 lecture05 - cache memory
Csc1401   lecture05 - cache memoryCsc1401   lecture05 - cache memory
Csc1401 lecture05 - cache memory
 
Java 102 intro to object-oriented programming in java
Java 102   intro to object-oriented programming in javaJava 102   intro to object-oriented programming in java
Java 102 intro to object-oriented programming in java
 
Hard Disk
Hard DiskHard Disk
Hard Disk
 
RAID seminar
RAID seminarRAID seminar
RAID seminar
 
Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)
Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)
Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)
 
Computer Hardware
Computer HardwareComputer Hardware
Computer Hardware
 
Input-Output Modules
Input-Output ModulesInput-Output Modules
Input-Output Modules
 
oops concept in java | object oriented programming in java
oops concept in java | object oriented programming in javaoops concept in java | object oriented programming in java
oops concept in java | object oriented programming in java
 
Disk management / hard drive partition management / create drive or partition...
Disk management / hard drive partition management / create drive or partition...Disk management / hard drive partition management / create drive or partition...
Disk management / hard drive partition management / create drive or partition...
 
Computer Architecture and organization
Computer Architecture and organizationComputer Architecture and organization
Computer Architecture and organization
 
Cpu ppt cse
Cpu ppt cseCpu ppt cse
Cpu ppt cse
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
 
Hard disk
Hard diskHard disk
Hard disk
 
08. Central Processing Unit (CPU)
08. Central Processing Unit (CPU)08. Central Processing Unit (CPU)
08. Central Processing Unit (CPU)
 
Cpu presentation
Cpu presentationCpu presentation
Cpu presentation
 

Similar to Csc1401 lecture07 -external memory

Externalmemory 141218043503-conversion-gate02
Externalmemory 141218043503-conversion-gate02Externalmemory 141218043503-conversion-gate02
Externalmemory 141218043503-conversion-gate02waseem aslam
 
External Memory 3i31 computer and organization arc
External Memory 3i31 computer and organization arcExternal Memory 3i31 computer and organization arc
External Memory 3i31 computer and organization arcFaizNazmi5
 
Operating System for Undergraduates. level 200 course
Operating System for Undergraduates. level 200 courseOperating System for Undergraduates. level 200 course
Operating System for Undergraduates. level 200 courseReubenMawukoDordunu
 
Auxiliary memory Computer Architecture and Computer Organization
Auxiliary memory Computer Architecture and   Computer OrganizationAuxiliary memory Computer Architecture and   Computer Organization
Auxiliary memory Computer Architecture and Computer OrganizationSeraphic Nazir
 
disk sechduling
disk sechdulingdisk sechduling
disk sechdulinggopi7
 
Disk Management through the Computer Management
Disk Management through the Computer ManagementDisk Management through the Computer Management
Disk Management through the Computer ManagementAnshGoyal32
 
06_External Memory.ppt
06_External Memory.ppt06_External Memory.ppt
06_External Memory.pptRaziAhmed30
 
06_External Memory.ppt
06_External Memory.ppt06_External Memory.ppt
06_External Memory.pptsaurabhpawar98
 
19IS305_U4_LP10_LM10-22-23.pdf
19IS305_U4_LP10_LM10-22-23.pdf19IS305_U4_LP10_LM10-22-23.pdf
19IS305_U4_LP10_LM10-22-23.pdfJESUNPK
 
06 external memory
06 external memory06 external memory
06 external memorydilip kumar
 
Unit-III_External Memory.ppt
Unit-III_External Memory.pptUnit-III_External Memory.ppt
Unit-III_External Memory.pptShantanuDharekar
 

Similar to Csc1401 lecture07 -external memory (20)

Externalmemory 141218043503-conversion-gate02
Externalmemory 141218043503-conversion-gate02Externalmemory 141218043503-conversion-gate02
Externalmemory 141218043503-conversion-gate02
 
External Memory 3i31 computer and organization arc
External Memory 3i31 computer and organization arcExternal Memory 3i31 computer and organization arc
External Memory 3i31 computer and organization arc
 
Operating System for Undergraduates. level 200 course
Operating System for Undergraduates. level 200 courseOperating System for Undergraduates. level 200 course
Operating System for Undergraduates. level 200 course
 
Auxiliary memory Computer Architecture and Computer Organization
Auxiliary memory Computer Architecture and   Computer OrganizationAuxiliary memory Computer Architecture and   Computer Organization
Auxiliary memory Computer Architecture and Computer Organization
 
Magnetic Disk
Magnetic Disk Magnetic Disk
Magnetic Disk
 
Os7
Os7Os7
Os7
 
disk sechduling
disk sechdulingdisk sechduling
disk sechduling
 
Disk Management through the Computer Management
Disk Management through the Computer ManagementDisk Management through the Computer Management
Disk Management through the Computer Management
 
unit-4.pdf
unit-4.pdfunit-4.pdf
unit-4.pdf
 
06_External Memory.ppt
06_External Memory.ppt06_External Memory.ppt
06_External Memory.ppt
 
Storage basics
Storage basicsStorage basics
Storage basics
 
Module5 secondary storage
Module5 secondary storageModule5 secondary storage
Module5 secondary storage
 
06_External Memory.ppt
06_External Memory.ppt06_External Memory.ppt
06_External Memory.ppt
 
06 external memory
06 external memory06 external memory
06 external memory
 
19IS305_U4_LP10_LM10-22-23.pdf
19IS305_U4_LP10_LM10-22-23.pdf19IS305_U4_LP10_LM10-22-23.pdf
19IS305_U4_LP10_LM10-22-23.pdf
 
HDD.pdf
HDD.pdfHDD.pdf
HDD.pdf
 
18CSC205J-UNIT-5.pptx
18CSC205J-UNIT-5.pptx18CSC205J-UNIT-5.pptx
18CSC205J-UNIT-5.pptx
 
06 external memory
06 external memory06 external memory
06 external memory
 
Hard disk drives
Hard disk drivesHard disk drives
Hard disk drives
 
Unit-III_External Memory.ppt
Unit-III_External Memory.pptUnit-III_External Memory.ppt
Unit-III_External Memory.ppt
 

More from IIUM

How to use_000webhost
How to use_000webhostHow to use_000webhost
How to use_000webhostIIUM
 
Chapter 2
Chapter 2Chapter 2
Chapter 2IIUM
 
Chapter 1
Chapter 1Chapter 1
Chapter 1IIUM
 
Kreydle internship-multimedia
Kreydle internship-multimediaKreydle internship-multimedia
Kreydle internship-multimediaIIUM
 
03phpbldgblock
03phpbldgblock03phpbldgblock
03phpbldgblockIIUM
 
Chap2 practice key
Chap2 practice keyChap2 practice key
Chap2 practice keyIIUM
 
Group p1
Group p1Group p1
Group p1IIUM
 
Tutorial import n auto pilot blogspot friendly seo
Tutorial import n auto pilot blogspot friendly seoTutorial import n auto pilot blogspot friendly seo
Tutorial import n auto pilot blogspot friendly seoIIUM
 
Visual sceneperception encycloperception-sage-oliva2009
Visual sceneperception encycloperception-sage-oliva2009Visual sceneperception encycloperception-sage-oliva2009
Visual sceneperception encycloperception-sage-oliva2009IIUM
 
03 the htm_lforms
03 the htm_lforms03 the htm_lforms
03 the htm_lformsIIUM
 
Exercise on algo analysis answer
Exercise on algo analysis   answerExercise on algo analysis   answer
Exercise on algo analysis answerIIUM
 
Redo midterm
Redo midtermRedo midterm
Redo midtermIIUM
 
Heaps
HeapsHeaps
HeapsIIUM
 
Report format
Report formatReport format
Report formatIIUM
 
Edpuzzle guidelines
Edpuzzle guidelinesEdpuzzle guidelines
Edpuzzle guidelinesIIUM
 
Final Exam Paper
Final Exam PaperFinal Exam Paper
Final Exam PaperIIUM
 
Final Exam Paper
Final Exam PaperFinal Exam Paper
Final Exam PaperIIUM
 
Group assignment 1 s21516
Group assignment 1 s21516Group assignment 1 s21516
Group assignment 1 s21516IIUM
 
Avl tree-rotations
Avl tree-rotationsAvl tree-rotations
Avl tree-rotationsIIUM
 
Week12 graph
Week12   graph Week12   graph
Week12 graph IIUM
 

More from IIUM (20)

How to use_000webhost
How to use_000webhostHow to use_000webhost
How to use_000webhost
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Kreydle internship-multimedia
Kreydle internship-multimediaKreydle internship-multimedia
Kreydle internship-multimedia
 
03phpbldgblock
03phpbldgblock03phpbldgblock
03phpbldgblock
 
Chap2 practice key
Chap2 practice keyChap2 practice key
Chap2 practice key
 
Group p1
Group p1Group p1
Group p1
 
Tutorial import n auto pilot blogspot friendly seo
Tutorial import n auto pilot blogspot friendly seoTutorial import n auto pilot blogspot friendly seo
Tutorial import n auto pilot blogspot friendly seo
 
Visual sceneperception encycloperception-sage-oliva2009
Visual sceneperception encycloperception-sage-oliva2009Visual sceneperception encycloperception-sage-oliva2009
Visual sceneperception encycloperception-sage-oliva2009
 
03 the htm_lforms
03 the htm_lforms03 the htm_lforms
03 the htm_lforms
 
Exercise on algo analysis answer
Exercise on algo analysis   answerExercise on algo analysis   answer
Exercise on algo analysis answer
 
Redo midterm
Redo midtermRedo midterm
Redo midterm
 
Heaps
HeapsHeaps
Heaps
 
Report format
Report formatReport format
Report format
 
Edpuzzle guidelines
Edpuzzle guidelinesEdpuzzle guidelines
Edpuzzle guidelines
 
Final Exam Paper
Final Exam PaperFinal Exam Paper
Final Exam Paper
 
Final Exam Paper
Final Exam PaperFinal Exam Paper
Final Exam Paper
 
Group assignment 1 s21516
Group assignment 1 s21516Group assignment 1 s21516
Group assignment 1 s21516
 
Avl tree-rotations
Avl tree-rotationsAvl tree-rotations
Avl tree-rotations
 
Week12 graph
Week12   graph Week12   graph
Week12 graph
 

Recently uploaded

DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfIndexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfChristalin Nelson
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptxmary850239
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptxAneriPatwari
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptxmary850239
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 

Recently uploaded (20)

DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfIndexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdf
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 

Csc1401 lecture07 -external memory

  • 1. Madam Raini Hassan Office: C5 - 23, Level 5, KICT Building Department: Computer Science Emails: hrai@iium.edu.my, hraini.iii@gmail.com 1
  • 2. Du’a for Study Semester II 2014/2015 2
  • 4. Outline • Magnetic Disk Magnetic Read and Write Mechanisms Data Organization and Formatting Physical Characteristics Disk Performance Parameters • RAID RAID Level 0 to 6 • Solid State Drives Flash Memory SSD Compared to HDD SSD Organization Practical Issues • Optical Memory Compact Disk Digital Versatile Disk High-Definition Optical Disks Semester II 2014/2015 4
  • 5. Magnetic Disk • A disk is a circular platter constructed of nonmagnetic material, called the substrate, coated with a magnetizable material – Traditionally the substrate has been an aluminium or aluminium alloy material – Recently glass substrates have been introduced • Benefits of the glass substrate: – Improvement in the uniformity of the magnetic film surface to increase disk reliability – A significant reduction in overall surface defects to help reduce read-write errors – Ability to support lower fly heights – Better stiffness to reduce disk dynamics – Greater ability to withstand shock and damage Semester II 2014/2015 5
  • 6. MAGNETIC READ AND WRITE MECHANISMS Data are recorded on and later retrieved from the disk via a conducting coil named the head •In many systems there are two heads, a read head and a write head •During a read or write operation the head is stationary while the platter rotates beneath it The write mechanism exploits the fact that electricity flowing through a coil produces a magnetic field Electric pulses are sent to the write head and the resulting magnetic patterns are recorded on the surface below, with different patterns for positive and negative currents The write head itself is made of easily magnetizable material and is in the shape of a rectangular doughnut with a gap along one side and a few turns of conducting wire along the opposite side An electric current in the wire induces a magnetic field across the gap, which in turn magnetizes a small area of the recording medium Reversing the direction of the current reverses the direction of the magnetization on the recording mediumSemester II 2014/2015 6
  • 7. Inductive Write/Magnetoresistive Read Head Semester II 2014/2015 7
  • 8. 8 Data Organization and Formatting • Concentric set of rings called tracks – There are gaps between adjacent tracks – This prevents or minimizes errors due to misalignment of the head or inference of magnetic field. – Same number of bits per track (variable packing density) • Tracks divided into sectors • Minimum block size is one sector • May have more than one sector per block Semester II 2014/2015
  • 9. 9 Disk Data Layout Concentric set of rings called tracks Tracks divided into sectors
  • 10. 10 Disk Velocity • Bit near centre of rotating disk passes fixed point slower than bit on outside of disk. • Therefore some way must be found to compensate the variation is speed so that the head can read all the bits at the same rate. • That particular way: Increase spacing between bits in different tracks. – Constant angular velocity (CAV) – The information then can be scanned at the same rate by rotating the disk at a fixed speed. • Rotate disk at constant angular velocity (CAV) – Gives pie shaped sectors and concentric tracks – Move head to given track and wait for given sector Semester II 2014/2015
  • 11. 11 Disk Layout Methods Diagram: CAV • Increase spacing between bits in different tracks. – The information then can be scanned at the same rate by rotating the disk at a fixed speed. • Adv: Individual tracks and sectors addressable • Disadv: Waste of space on outer tracks – Lower data density Semester II 2014/2015
  • 12. 12 Disk Layout Methods Diagram: MZR • Use zones to increase capacity – Each zone has fixed bits per track – More complex circuitry Semester II 2014/2015
  • 13. 13 Finding Sectors: Formatting • Must be able to identify start of track and sector • Format disk – The disk is formatted with some extra data used only by the disk drive and not accessible to user – Marks tracks and sectors. Semester II 2014/2015
  • 14. Finding Sectors: Formatting – Example (Winchester Disk Format - Seagate ST506) Semester II 2014/2015 14
  • 15. 15 Finding Sectors: Formatting – Example (Winchester Disk Format) • In this case, each track contains 30 fixed-length sectors of 600 bytes each. • Each sector holds 512 bytes of data plus control information useful to the disk controller. • The ID field is a unique identifier or address used to locate a particular sector. • The SYNCH byte is a special bit pattern that delimits the beginning of the field. • The track number identifies a track on a surface. • The head number identifies a head, because this head has multiple surfaces. • The ID and data field each contain an error-detecting code. Semester II 2014/2015
  • 16. Table 6.1 Physical Characteristics of Disk Systems Table 6.1 Physical Characteristics of Disk Systems Semester II 2014/2015 16
  • 17. 17 Head Motion • Fixed head – One read-write head per track – Heads are mounted on a fixed ridged arm that extends across all tracks • Movable head – One read-write head – Head is mounted on an arm – The arm can be extended or retracted Semester II 2014/2015
  • 18. 18 Disk Portability • Removable disk – Can be removed and replaced with another disk – Advantages: • Unlimited amounts of data are available with a limited number of disk systems • A disk may be moved from one computer system to another – Floppy disks and ZIP cartridge disks are examples of removable disks • Non-removable disk – Permanently mounted in the disk drive – The hard disk in a personal computer is a non-removable disk Semester II 2014/2015
  • 19. 19 Disk Portability - Examples Floppy ZIP Semester II 2014/2015
  • 20. 20 Sides • For most disks, the magnetizable coating is applied to both sides of the platter, referred to as double-sided. • Some less expensive disk systems use single-sided disks Semester II 2014/2015
  • 21. 21 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) Semester II 2014/2015
  • 22. 22 Multiple Platters For most disks, the magnetizable coating is applied to both sides of the platter, referred to as double- sided. Heads are joined and aligned Semester II 2014/2015
  • 23. 23 Cylinders Aligned tracks on each platter form cylinders - Data is striped by cylinder -> reduces head movement -> Increases speed (transfer rate) Semester II 2014/2015
  • 24. 24 Head Mechanisms • The head must generate or sense an electromagnetic field of sufficient magnitude to write and read properly. • The narrower the head, the closer it must be to the platter surface to function – A narrower head means narrower tracks and therefore greater data density • The closer the head is to the disk the greater the risk of error from impurities or imperfections Semester II 2014/2015
  • 25. 25 Head Mechanisms: Fixed Gap • Traditionally, the read-write positioned at a fixed distance above the platter, allowing an air gap. Semester II 2014/2015
  • 26. 26 Head Mechanisms: Contact (Floppy) • A head mechanism that actually comes into physical contact with the medium during a read or write operation. • 8”, 5.25”, 3.5” • Small capacity – Up to 1.44Mbyte (2.88M never popular) • Slow • Universal • Cheap • Obsolete? Semester II 2014/2015
  • 27. 27 Head Mechanisms: Aerodynamic Gap (Winchester) • Used in sealed drive assemblies that are almost free of contaminants • Designed to operate closer to the disk’s surface than conventional rigid disk heads, thus allowing greater data density • Is actually an aerodynamic foil that rests lightly on the platter’s surface when the disk is motionless – The air pressure generated by a spinning disk is enough to make the foil rise above the surface Semester II 2014/2015
  • 28. 28 Disk Performance Parameters • The actual details of disk I/O operation depend on the computer system, the operating system, and the nature of the I/O channel and disk controller hardware. Semester II 2014/2015
  • 29. Typical Hard Disk Parameters Table 6.2 Typical Hard Disk Drive Parameters 29
  • 30. Disk Performance Parameters • When the disk drive is operating the disk is rotating at constant speed • To read or write the head must be positioned at the desired track and at the beginning of the desired sector on the track – Track selection involves moving the head in a movable-head system or electronically selecting one head on a fixed-head system – Once the track is selected, the disk controller waits until the appropriate sector rotates to line up with the head Semester II 2014/2015 30
  • 31. Disk Performance Parameters • Seek time – On a movable–head system, the time it takes to position the head at the track • Rotational delay (rotational latency) – The time it takes for the beginning of the sector to reach the head • Access time – The sum of the seek time and the rotational delay – The time it takes to get into position to read or write • Transfer time – Once the head is in position, the read or write operation is then performed as the sector moves under the head – This is the data transfer portion of the operation Semester II 2014/2015 31
  • 32. RAID • Consists of 7 levels (0 to 6). • Use when there are instances where the single hard disk cannot fulfill the requirement of the business organizations with regard to capacity, performance and quality. • Levels do not imply a hierarchical relationship but designate different design architectures that share three common characteristics: 1) Set of physical disk drives viewed by the operating system as a single logical drive 2) Data are distributed across the physical drives of an array in a scheme known as striping 3) Redundant disk capacity is used to store parity information, which guarantees data recoverability in case of a disk failure Redundant Array of Independent Disks 32
  • 33. N = number of data disks; m proportional to log N Table 6.3 RAID Levels 33
  • 34. RAID Levels 0, 1, 2 Semester II 2014/2015 34
  • 36. 36 RAID 0 • Has the lowest cost of any RAID organization because it does not employ redundancy at all. • Data striped across all disks • It offers the best performance but no fault-tolerance. • For applications in which performance and capacity are primary concerns, and low cost is more important than reliability Semester II 2014/2015
  • 37. 37 RAID 1 • Redundancy achieved through mirrored disks • Data is striped across disks • Consists of at least 2 drives that duplicate the storage of data. • Whenever data is written to a disk the same data is also written to a redundant disk, so that there are always 2 copies of information. • Write to both, read from either. • RAID 1 can also be implemented without data striping, although this is less common Semester II 2014/2015
  • 38. 38 RAID 2 • Makes use of a parallel access technique • In a parallel access array all member disks participate in the execution of every I/O request (disks are synchronized). • Spindles of the individual drives are synchronized so that each disk head is in the same position on each disk at any given time • Very small stripes – Often single byte/word • Error correction calculated across corresponding bits on disks • Multiple parity disks store Hamming code error correction in corresponding positions • Lots of redundancy – Expensive – Not used
  • 39. 39 RAID 3 • Similar to RAID 2; employs parallel access, with data distributed in small strips • Only one redundant disk, no matter how large the array • Simple parity bit for each set of corresponding bits • Data on failed drive can be reconstructed from surviving data and parity info – a simple parity bit is computed for the set of individual bits in the same position on all of the data disks • Can achieve very high data transfer rates • Requires only a single redundant disk, no matter how large the disk array • Employs parallel access, with data distributed in small strips Semester II 2014/2015
  • 40. 40 RAID 4 • Each disk operates independently – In an independent access array, each member disk operates independently so that separate I/O requests can be satisfied in parallel • Good for high I/O request rate - multi I/O requests can be handled parallel • Data striping - large stripes • Bit by bit parity calculated across stripes on each disk – To calculate the new parity the array management software must read the old user strip and the old parity strip • Parity stored on parity disk
  • 41. 41 RAID 5 • Organized in a similar fashion to RAID 4 • Difference is distribution of the parity strips across all disks • A typical allocation is a round-robin scheme • The distribution of parity strips across all drives avoids the potential I/O bottleneck found in RAID 4 • Commonly used in network servers (multi-user systems) in which performance is not critical or which do few write operations.
  • 42. 42 RAID 6 • Two different parity calculations are carried out and stored in separate blocks on different disks • Advantage is that it provides extremely high data availability • User requirement of N disks needs N+2 • High data availability – Three disks need to fail for data loss – Significant write penalty Semester II 2014/2015
  • 44. 44
  • 45. Solid State Drive (SSD) A memory device made with solid state components that can be used as a replacement to a hard disk drive (HDD) The term solid state refers to electronic circuitry built with semiconductors Flash memory A type of semiconductor memory used in many consumer electronic products including smart phones, GPS devices, MP3 players, digital cameras, and USB devices Cost and performance has evolved to the point where it is feasible to use to replace HDDs Two distinctive types of flash memory: NOR • The basic unit of access is a bit • Provides high-speed random access • Used to store cell phone operating system code and on Windows computers for the BIOS program that runs at start-up NAND • The basic unit is 16 or 32 bits • Reads and writes in small blocks • Used in USB flash drives, memory cards, and in SSDs • Does not provide a random-access external address bus so the data must be read on a block-wise basis 45
  • 46. Figure 6.10 Flash Memory Operation 46
  • 47. SSD Compared to HDD SSDs have the following advantages over HDDs: • High-performance input/output operations per second (IOPS) • Durability • Longer lifespan • Lower power consumption • Quieter and cooler running capabilities • Lower access times and latency rates Table 6.5 47
  • 49. Practical Issues • SDD performance has a tendency to slow down as the device is used – The entire block must be read from the flash memory and placed in a RAM buffer – Before the block can be written back to flash memory, the entire block of flash memory must be erased – The entire block from the buffer is now written back to the flash memory • Flash memory becomes unusable after a certain number of writes – Techniques for prolonging life: • Front-ending the flash with a cache to delay and group write operations • Using wear-leveling algorithms that evenly distribute writes across block of cells • Bad-block management techniques – Most flash devices estimate their own remaining lifetimes so systems can anticipate failure and take preemptive action There are two practical issues peculiar to SSDs that are not faced by HDDs: 49
  • 51. Compact Disk Read-Only Memory (CD-ROM) • Audio CD and the CD-ROM share a similar technology – The main difference is that CD-ROM players are more rugged and have error correction devices to ensure that data are properly transferred • Production: – The disk is formed from a resin such as polycarbonate – Digitally recorded information is imprinted as a series of microscopic pits on the surface of the polycarbonate - This is done with a finely focused, high intensity laser to create a master disk – The master is used, in turn, to make a die to stamp out copies onto polycarbonate – The pitted surface is then coated with a highly reflective surface, usually aluminum or gold – This shiny surface is protected against dust and scratches by a top coat of clear acrylic – Finally a label can be silkscreened onto the acrylic 51
  • 52. CDs and CD-ROM • Information organized by using single spiral track – beginning near the center and spiraling out to the outer edge of the disk. • Sectors near the outside of the disk are the same length as those near the inside. • Thus, information is packed evenly across the disk in segments of the same size and these are scanned at the same rate by rotating the disk at a variable speed. • The pits are then read by the laser at a constant linear velocity (CLV). • The disk rotates more slowly for access near the outer edge than for those near the center. • Thus, the capacity of a track and the rotational delay both increase for positions nearer the outer edge of the disk. • The data capacity for a CD-ROM is about 680 MB. 52
  • 54. CD-ROM • CD-ROM is appropriate for the distribution of large amounts of data to a large number of users • Because the expense of the initial writing process it is not appropriate for individualized applications • The CD-ROM has two advantages: 1. The optical disk together with the information stored on it can be mass replicated inexpensively 2. The optical disk is removable, allowing the disk itself to be used for archival storage • The CD-ROM disadvantages: 1. It is read-only and cannot be updated 2. It has an access time much longer than that of a magnetic disk drive Semester II 2014/2015 54
  • 55. CD Recordable (CD-R) • Write-once read-many (WORM) • Accommodates applications in which only one or a small number of copies of a set of data is needed • Disk is prepared in such a way that it can be subsequently written once with a laser beam of modest-intensity • Medium includes a dye layer which is used to change reflectivity and is activated by a high-intensity laser • Provides a permanent record of large volumes of user data Semester II 2014/2015 55
  • 56. CD Rewritable (CD-RW) • Can be repeatedly written and overwritten • Phase change disk uses a material that has two significantly different reflectivities in two different phase states • Amorphous state – Molecules exhibit a random orientation that reflects light poorly • Crystalline state – Has a smooth surface that reflects light well • A beam of laser light can change the material from one phase to the other • Disadvantage is that the material eventually and permanently loses its desirable properties • Advantage is that it can be rewritten 56
  • 57. Digital Versatile Disk (DVD) • The DVD takes video into digital age. • It delivers movies with impressive picture quality, and it can be randomly accessed like audio CDs, which DVD machine can also play. • Vast volumes of data can be crammed onto the disk, currently seven times as much as a CD-ROM. • The DVD’s greater capacity is due to the three differences from CDs: 1. Bits are packed more closely. 2. The DVD employs a second layer of pits and lands on top of the first layer. 3. The DVD-ROM can be two-sided. Semester II 2014/2015 57
  • 59. High-Definition Optical Disks • Designed to store high-definition videos and to provide significantly greater storage capacity compared to DVDs. • The higher bit density is achieved by using a laser with a shorter wavelength, in the blue-violet range. • The data pits, which constitute the digital 1s and 0s, are smaller on the high-definition optical disks compared to DVD because of the shorter laser wavelength. Semester II 2014/2015 59
  • 60. High-Definition Optical Disks • Two competing disk formats and technologies initially competed for market acceptance: HD DVD and Blu-ray DVD. • The Blu-ray scheme ultimately achieved market dominance. The HD DVD scheme can store 15 GB on a single layer on a single side. Blu-ray positions the data layer on the disk closer to the laser (shown on the right-hand side of each diagram in Figure 6.15). • This enables a tighter focus and less distortion and thus smaller pits and tracks. Blu-ray can store 25 GB on a single layer. • Three versions are available: read only (BD-ROM), recordable once (BD-R), and re-recordable (BD-RE). Semester II 2014/2015 60
  • 62. Magnetic Tape • Tape systems use the same reading and recording techniques as disk systems • Medium is flexible polyester tape coated with magnetizable material • Coating may consist of particles of pure metal in special binders or vapor-plated metal films • Data on the tape are structured as a number of parallel tracks running lengthwise • Serial recording – Data are laid out as a sequence of bits along each track – Data are read and written in contiguous blocks called physical records – Blocks on the tape are separated by gaps referred to as inter-record gaps Semester II 2014/2015 62
  • 64. Table 6.7 LTO Tape Drives 64