34
Auxiliary Memory Presented by: Nazir Ahmad 110215 Shaakir Mozzam 110222 Junaid Javeed 110229 Presented to: Mr. Aafaq Alam Khan

Auxiliary memory Computer Architecture and Computer Organization

Embed Size (px)

DESCRIPTION

Auxiliary memory Computer Architecture, Computer Organization

Citation preview

Page 1: Auxiliary memory Computer Architecture and   Computer Organization

Auxiliary Memory

Presented by:Nazir Ahmad 110215 Shaakir Mozzam 110222Junaid Javeed 110229

Presented to:Mr. Aafaq Alam Khan

Page 2: Auxiliary memory Computer Architecture and   Computer Organization

Contents

• Memory hierarchy• Magnetic disks• RAID• Optical disks• References

Page 3: Auxiliary memory Computer Architecture and   Computer Organization

Memory hierarchy

Page 4: Auxiliary memory Computer Architecture and   Computer Organization

Magnetic disk

• Based on the concept of magnetism.

• A disk is a circular platter constructed of nonmagnetic material,

called the substrate, coated with a magnetizable material like iron

oxide. Particles are magnetized to store data.

• Substrate used to be aluminum.

• Nowadays, glass is used because:

improved magnetic film surface uniformity, thus reliability.

reduction in surface defects, helps to reduce read/write errors.

Support lower fly heights.

Page 5: Auxiliary memory Computer Architecture and   Computer Organization

Magnetic disk- write mechanism

• Data recorded and retrieve via a conducting coil, called a head.

• Head, consists of a core, with an air gap and a set of coils.

• May be separate read and write head.

• During read/write, the head is stationary, the platter rotates

beneath it .

• For writing data onto the medium, the data is converted into

current and is passed through the read/write head coils. This

generates a magnetic flux. This magnetic flux, is used to

magnetize the particles on the surface.

Page 6: Auxiliary memory Computer Architecture and   Computer Organization
Page 7: Auxiliary memory Computer Architecture and   Computer Organization

Magnetic disk- read mechanism

• During the read operation, when the flux transitions pass under a

head gap, a voltage is introduced in the read/write coils. This

voltage is converted into the data pulses.

• New method:

separate read head, positioned close to write head for

convenience.

Read head consists of a partially magnetoresistive (MR) sensor.

MR material has an electrical resistance, which depends on the

direction of magnetic field moving under it.

Page 8: Auxiliary memory Computer Architecture and   Computer Organization

Read mechanism contd…

• By passing current through MR sensor, resistance

changes are detected as voltage levels.

• Allows greater storage density , high frequency

operation and high speeds.

Page 9: Auxiliary memory Computer Architecture and   Computer Organization

Disk organization and formatting

• Concentric Rings or tracks

Each track has the width same as of disk head.

Tracks separated by gaps, minimizes errors in case of interference or

head misalignment.

• tracks divided into sectors- pie shaped segments, data transferred to

and from the disk sectors.

• Minimum block size is one sector; 512 bytes in most systems.

• May have more than one sector per block.

Page 10: Auxiliary memory Computer Architecture and   Computer Organization

Disk data layout

Page 11: Auxiliary memory Computer Architecture and   Computer Organization

Disk Velocity

• Bit near centre of rotating disk passes fixed point slower than bit on outside of disk

• Increase spacing between bits in different tracks • Rotate disk at constant angular velocity (CAV)

Gives pie shaped sectors and concentric tracks Individual tracks and sectors addressable Move head to given track and wait for given sector Waste of space on outer tracks

Lower data density

• Can use zones to increase capacity Each zone has fixed bits per track More complex circuitry

Page 12: Auxiliary memory Computer Architecture and   Computer Organization

Disk layout diagrams

Page 13: Auxiliary memory Computer Architecture and   Computer Organization

Multiple Platter

• 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)

• Cylinder- set of all tracks in same relative position on the

platter.

Page 14: Auxiliary memory Computer Architecture and   Computer Organization
Page 15: Auxiliary memory Computer Architecture and   Computer Organization

Magnetic disk types

• Floppy disks

• Hard disks

o Zip/bernoulli disk- on platter, 100 MB capacity

o Winchester disk- two or more platters, capacity in GBs.

Page 16: Auxiliary memory Computer Architecture and   Computer Organization

Speed/ Access time

• Seek time: time taken by head to move to a specific track

• Latency/Rotational delay: time required to spin the desired sector

under the head.

• Transfer time: time taken to transfer data.

• Access time=seek time + latency+ transfer time

Page 17: Auxiliary memory Computer Architecture and   Computer Organization

RAID

Page 18: Auxiliary memory Computer Architecture and   Computer Organization

RAID

•Redundant array of independent disks.

•Coined at University of Berkeley in 1987 as redundant array of inexpensive disks.

•Simultaneous data access by using multiple heads.

•Separate physical drives viewed by os a single drive.

Page 19: Auxiliary memory Computer Architecture and   Computer Organization

Stripping:Data is segmented into equal-size partitions (the striping unit), which are transparently distributed across multiple disks.Mirroring:Data is replicated across multiple redundant disks

Page 20: Auxiliary memory Computer Architecture and   Computer Organization

RAID levels

•RAID Level 0•RAID Level 1•RAID Level 2•RAID Level 3•RAID Level 4•RAID Level 5..........

Page 21: Auxiliary memory Computer Architecture and   Computer Organization

RAID controller

Software Controller: Stored program concept

Hardware Controller: Hardware based

Page 22: Auxiliary memory Computer Architecture and   Computer Organization

RAID 0

•Striping•No error correction •No redundancy•High speed transfer

Page 23: Auxiliary memory Computer Architecture and   Computer Organization

RAID 1

•Mirroring•Mirroring makes exact copy of data•Each write to both the disks•No error correcting mechanism•Provides fault tolerance

Page 24: Auxiliary memory Computer Architecture and   Computer Organization

RAID 2

•Parity used to introduce redundancy•Error correcting•Fault tolerance•Parallel access•Small data stripes for high speed transfer

Page 25: Auxiliary memory Computer Architecture and   Computer Organization

RAID 5

•Independent access technique.•Block parity in distributed manner.•Fault tolerance

Page 26: Auxiliary memory Computer Architecture and   Computer Organization

OPTICAL MEMORY

Page 27: Auxiliary memory Computer Architecture and   Computer Organization

Compact Disk

• First made in 1983.• Compact Disk types

• CR-Read only• CD-Recordable• CD-R/W

• Data is encoded and read optically with a laser• Can store around 600MB to 700MB data

Page 28: Auxiliary memory Computer Architecture and   Computer Organization

Data representation in CD-ROM• Digital data is represented as a series of Pits and

Lands:– Pit = a little depression, forming a lower level in the

track– Land = the flat part between pits, or the upper levels

in the track

Page 29: Auxiliary memory Computer Architecture and   Computer Organization

Organization of data

• Reading a CD is done by shining a laser at the disc and detecting changing reflections patterns.– 1 = change in height (land to pit or pit to land)– 0 = a “fixed” amount of time between 1’s

LAND PIT LAND PIT LAND ...------+ +-------------+ +---...

|_____| |_______|

..0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 0 ..

• Note : we cannot have two 1’s in a row!

Page 30: Auxiliary memory Computer Architecture and   Computer Organization

CD-ROM

• Because of the heritage from CD audio, the data is stored as a single spiral track on the CD-ROM, contrary to magnetic hard disk’s discrete track concept.

• Thus, the rotation speed is controlled by CLV-Constant Linear velocity. The rotational speed at the center is highest, slowing down towards the outer edge. Because, the recording density is the same every where.

• Note that with CLV, the linear speed of the spiral passing under the R/W head remains constant.

• CLV is the result for the poor seek time in CD-ROMs• The advantage of CLV is that the disk is utilized at its best

capacity, as the recording density is the same every where.

Page 31: Auxiliary memory Computer Architecture and   Computer Organization

CD-ROM

• Note that: Since 0's are represented by the length of time between transitions, we must travel at constant linear velocity (CLV)on the tracks.

• Sectors are organized along a spiral• Sectors have same linear length• Advantage: takes advantage of all storage space

available.• Disadvantage: has to change rotational speed when

seeking (slower towards the outside)

Page 32: Auxiliary memory Computer Architecture and   Computer Organization

Digital Versatile Disc

The DVD (Digital Video Disc or Digital Versatile Disc) technology is based on CD technology with increased storage density.

• The DVD’s come with a storage capacity of up to 17GB

• Multi-layer• Very high capacity (4.7GB to 17GB)• Has same three types as CD

Page 33: Auxiliary memory Computer Architecture and   Computer Organization

Why DVD has higher data capacity?

Page 34: Auxiliary memory Computer Architecture and   Computer Organization

References

• Stalling William, Computer Organization

and Architecture, Pearson Publications,

2010

• Govindarajalu B, Computer Architecture

and Organization, Tata McGraw Hill, 2009

• Wikipedia/RAID.html