Group #6 External Memory

Post on 24-Feb-2016

49 views 0 download

Tags:

description

Group #6 External Memory. Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie. Read Mechanism. Data is retrieved from the disk via a conducting coil called the head . - PowerPoint PPT Presentation

transcript

Group #6External Memory

Manuel FrancoMaria P Gil Palacios

Luis GuerreroJose Iraheta

Wilder Saint - Hillarie

2

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Read Mechanism

• Data is retrieved from the disk via a conducting coil called the head.

• The read head has a MR sensor which has an electrical resistance that depends on the direction of the magnetization of the disk under it.

3

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Write Mechanism

• The write also has it’s respective head, although it is possible for the sharing of read and write heads.

• Exploits the fact that electricity flowing through coil produces a magnetic field.

• Electric pulses are sent to the write head, and the resulting magnetic patterns are recorded on the disk below.

4

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Data Organization

• How it’s Done:

– This is basically fitting as much data as reasonably possible on a disk.

– The disk will have many tracks which are rings of space around the center.

– Data are transferred to and from the disk in sectors. Each track will have hundreds of sectors.

– Each adjacent track on a ring has a gap in between to avoid errors in reading each track.

5

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Data Organization

• Data disk layout:

6

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Formatting

• Prepares the disk for use.

• Formatting will embed the specifications of the disk on itself so it can be read effectively.

• Remember that the head won’t know where to start and end each track if it isn’t “told”.

7

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Physical Characteristics

• Head Motion:– Fixed Motion:

• One read-write head per track• Very rare today

– Movable Head:• One read-write head• Arm can be extended or retracted to position the

head

8

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Physical Characteristics

• Disk portability:– Nonremovable Disk:

• Permanently mounted in the disk drive• Example: hard disk in a personal computer

– Removable Disk:• Can be removed and replaced with another

one• Examples: floppy disks and ZIP cartridge disks

9

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Physical Characteristics

• Sides:– Double Sided:

• Magnetizable coating applied to both sides

– Single Sided:• Magnetizable coating only on one side• Less expensive than double sided

10

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Physical Characteristics

• Platters:– Single Platter:– Multiple Platters:

• Stacked vertically

11

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Physical Characteristics

12

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Physical Characteristics

• Movable head• One read-write head per platter surface• Heads have same distance from the center• Cylinder: set of all the tracks at equal distance

from the center of the disk– Reduction of head movement– Increase of speed (transfer rate)

13

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Physical Characteristics

14

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Physical Characteristics• Head Mechanism:

– Fixed gap • Read-write head has fixed distance above platter

– Contact (floppy)• There is physical contact with the medium during

the read or write operation• Small, flexible, and the cheapest of the disks

– Winchester• Heads in sealed drive, free of contaminants• Greater data density (closer to disk’s surface)

15

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Disk Performance Parameters

Diagram of a disk I/O transfer

16

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Disk Performance Parameters

• Track selection:– Movable-head system:

• Moving head– Fixed-head system:

• Electronically

17

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Disk Performance Parameters

• Total average access time:

Ta=Ts+(1/2r)+(b/rN)

Where r: rotation speed

b: number of bytes to be transferred N: number bytes of a track Ts: seek time

18

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Disk Performance Parameters

• Total average access time: Ta=Ts+(1/2r)+(b/rN)

– Access time: seek time plus rotational delay• Ts: average seek time (to position head at track)• Rotational delay: time to reach the head for the

beginning of the sector– Transfer time: data transfer (read or write)

19

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Disk Performance Parameters

• Conclusions:– Order of reading sectors is important to

I/O operations.• Sequential organization is faster than random

– The way of reading or writing multiple sectors can be controlled.

– There can be I/O requests competing for the same disk.

20

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Compact Disk

• Introduced in 1983• Low-cost disk storage technology• Six optical disk systems

21

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Optical Disk Products

• CD• CD-ROM• CD-R• CD-RW• DVD• DVD-R• DVD-RW

22

Flor

ida

Inte

rnat

iona

l Uni

vers

ityCD-ROM

• Rugged• Error correction devices• Composition• Information retrieval• Pits and lands

23

Flor

ida

Inte

rnat

iona

l Uni

vers

ityCD-ROM

Advantages/Disadvantages

• Inexpensive replication• Removable• Longer access time• Not capable of being updated

24

Flor

ida

Inte

rnat

iona

l Uni

vers

ityCD-R

• Prepared differently• Information is recorded differently

25

Flor

ida

Inte

rnat

iona

l Uni

vers

ityCD-RW

• Capability• Method• Process• Advantage/disadvantage

26

Flor

ida

Inte

rnat

iona

l Uni

vers

ityDVD

• Replaced VHS analog video tape• Disk space• 3 major differences between CDs

A little history about your USB

Memory stick

Started with something like this….

28

Flor

ida

Inte

rnat

iona

l Uni

vers

ityHISTORY

First commercial product • Trek Technology and IBM began selling

the first USB flash drives commercially in 2000.

• IBM marketed the first such drives in North America, with its product the "DiskOnKey" (which was manufactured by the Israeli company M-Systems).

29

Flor

ida

Inte

rnat

iona

l Uni

vers

ity • IBM's USB flash drive became available December 15, 2000, and had a storage capacity of 8 MB, more than five times the capacity of the commonly used floppy disks.

Old 16MB IBM DiskOnKey flash drives.

30

Flor

ida

Inte

rnat

iona

l Uni

vers

ity • In 2004 Trek Technology brought several lawsuits against other USB flash drive manufacturers and distributors in an attempt to assert its patent rights to the USB flash drive. A court in Singapore ordered competitors to cease selling similar products that would be covered by Trek's patent, but a court in the United Kingdom revoked one of Trek's patents in that country.

31

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Second Generation…

32

Flor

ida

Inte

rnat

iona

l Uni

vers

ity • Modern flash drives have USB 2.0 connectivity.

• they do not currently use the full 480 Mb/s (60MB/s) the USB 2.0 Hi-Speed specification supports.

• The fastest drives currently available use a dual channel controller

33

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

• overall file transfer speeds vary considerably, and should be checked before purchase.

• Speeds may be given in Mbyte per second, Mbit per second, or optical drive multipliers such as "180X”.

• Typical fast drives claim to read at up to 30 megabytes/s (MB/s) and write at about half that.

USB Memory Sticks’ Types and Varieties

Essential components

36

Flor

ida

Inte

rnat

iona

l Uni

vers

ity • There are typically four parts to a flash drive:

• 1- Male type-A USB connector – provides an interface to the host computer.

• 2- USB mass storage controller – implements the USB host controller. The controller contains a small microcontroller with a small amount of on-chip ROM and RAM.

37

Flor

ida

Inte

rnat

iona

l Uni

vers

ity • 3- NAND flash memory chip – stores data. NAND flash is typically also used in digital cameras.

• 4- Crystal oscillator – produces the device's main 12 MHz clock signal and controls the device's data output through a phase-locked loop.

38

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

39

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Additional components

• Jumpers and test pins.• Bunch of LEDs.• Write-protect switches.• Unpopulated space.• USB connector cover or cap.• Transport aid.• expandable storage via an internal

memory card slot.

Size and style of packaging

41

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Housing

• Some manufacturers differentiate their products by using elaborate housings.

• USB flash drives have been integrated into other commonly-carried items such as watches, pens, and even the Swiss Army Knife.

• others have been fitted with novelty cases such as toy cars or LEGO bricks.

42

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

• Heavy or bulky flash drive packaging can make for unreliable operation when plugged directly into a USB port; this can be relieved by a USB extension cable.

Examples… =D

44

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

45

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

46

Flor

ida

Inte

rnat

iona

l Uni

vers

ityUSB Flash Drive

• A USB flash drive consists of a NAND-type flash memory storage device integrated with a USB.

• Flash memory uses the advantage of recent advances in microprocessor technology.

• Memory is based on EPROM (Erasable Programmable Read-Only Memory) and EEPROM technologies.

• EEPROMs were developed that broke the erasure region into smaller sections.

• High-speed serial data interfaces made memory systems with serially accessed storage viable.

47

Flor

ida

Inte

rnat

iona

l Uni

vers

ityUSB Flash Drive

• USB connector• USB mass storage

controller device• Test points• Flash Memory Chip• Crystal Oscillator• LED• Write-Protect Switch• Space for second flash

memory chip

48

Flor

ida

Inte

rnat

iona

l Uni

vers

ityFile System

• Most flash drives ship preformatted with the FAT (File Allocation Table) or FAT 32 file system.

• FAT maintenance utilities can be used.

• Flash drives file system can be changed to that of the operating system.

• Flash drives can be defragmented, but this brings little advantage.

• Flash Drives can be partitioned.

49

Flor

ida

Inte

rnat

iona

l Uni

vers

ityUses

• Personal data transport

• Application carriers

• Booting operating systems

• Audio players

• Backup

50

Flor

ida

Inte

rnat

iona

l Uni

vers

ityAdvantages

• Flash drives are mechanically very robust.

• Compared to hard drives, flash drives use little power.

• Most modern operating systems can read and write to flash drives without installing drivers.

• Flash drives are resistant to a wide range of temperatures.

51

Flor

ida

Inte

rnat

iona

l Uni

vers

ityDisadvantages

• Flash drives can sustain only a limited number of write and erase cycles.

• Most USB flash drives do not include a write-protect mechanism.

• Their small size makes it easy to misplace them.

• USB flash drives have a high price per unit of storage.

52

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Questions

1. What are the two main operations done with memory? 2. What two phenomena do magnetic disks make use of

to function? 3. According to disk portability, which are the two types

of disks?4. What are the two components of the access time?5. What are pits? Lands?6. What are the 6 optical disk products?

53

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Questions

7. Name one of the essential components of a flash drive

8. For the second generation of USB flash drives, what type of connectivity do they have?

9. What type of memory storage device is used in USB flash drives?

10. Memory on a USB Flash drive is based on what type of technology?

54

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Answers

1. Read and write2. Electricity and Magnetism3. Nonremovable disk and removable disk.4. The seek time and the rotational delay.5. Pits are digitally recorded information imprinted on

the surface of the disk. Lands are the areas between the pits

6. cd/cd-rom, cd-r, cd-rw, dvd, dvd-r, dvd-rw

55

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Answers

7. USB connector, mass storage controller device, test point, flash memory chip, crystal oscillator, LED

8. USB 2.0 connectivity9. NAND-type flash memory10. Electrically Erasable Programmable Read-Only

Memory (EEPROM).

56

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Bibliography

• www.wikipedia.com• www.howstuffworks.com• www.cs.jhu.edu• www.computerhope.com• www.articlesbase.com