Group #6 External Memory

56
Group #6 External Memory Manuel Franco Maria P Gil Palacios Luis Guerrero Jose Iraheta Wilder Saint - Hillarie

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 of Group #6 External Memory

Page 1: Group #6 External Memory

Group #6External Memory

Manuel FrancoMaria P Gil Palacios

Luis GuerreroJose Iraheta

Wilder Saint - Hillarie

Page 2: Group #6 External Memory

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.

Page 3: Group #6 External Memory

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.

Page 4: Group #6 External Memory

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.

Page 5: Group #6 External Memory

5

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Data Organization

• Data disk layout:

Page 6: Group #6 External Memory

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”.

Page 7: Group #6 External Memory

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

Page 8: Group #6 External Memory

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

Page 9: Group #6 External Memory

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

Page 10: Group #6 External Memory

10

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Physical Characteristics

• Platters:– Single Platter:– Multiple Platters:

• Stacked vertically

Page 11: Group #6 External Memory

11

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Physical Characteristics

Page 12: Group #6 External Memory

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)

Page 13: Group #6 External Memory

13

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Physical Characteristics

Page 14: Group #6 External Memory

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)

Page 15: Group #6 External Memory

15

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Disk Performance Parameters

Diagram of a disk I/O transfer

Page 16: Group #6 External Memory

16

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Disk Performance Parameters

• Track selection:– Movable-head system:

• Moving head– Fixed-head system:

• Electronically

Page 17: Group #6 External Memory

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

Page 18: Group #6 External Memory

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)

Page 19: Group #6 External Memory

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.

Page 20: Group #6 External Memory

20

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Compact Disk

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

Page 21: Group #6 External Memory

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

Page 22: Group #6 External Memory

22

Flor

ida

Inte

rnat

iona

l Uni

vers

ityCD-ROM

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

Page 23: Group #6 External Memory

23

Flor

ida

Inte

rnat

iona

l Uni

vers

ityCD-ROM

Advantages/Disadvantages

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

Page 24: Group #6 External Memory

24

Flor

ida

Inte

rnat

iona

l Uni

vers

ityCD-R

• Prepared differently• Information is recorded differently

Page 25: Group #6 External Memory

25

Flor

ida

Inte

rnat

iona

l Uni

vers

ityCD-RW

• Capability• Method• Process• Advantage/disadvantage

Page 26: Group #6 External Memory

26

Flor

ida

Inte

rnat

iona

l Uni

vers

ityDVD

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

Page 27: Group #6 External Memory

A little history about your USB

Memory stick

Started with something like this….

Page 28: Group #6 External Memory

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

Page 29: Group #6 External Memory

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.

Page 30: Group #6 External Memory

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.

Page 31: Group #6 External Memory

31

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Second Generation…

Page 32: Group #6 External Memory

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

Page 33: Group #6 External Memory

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.

Page 34: Group #6 External Memory

USB Memory Sticks’ Types and Varieties

Page 35: Group #6 External Memory

Essential components

Page 36: Group #6 External Memory

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.

Page 37: Group #6 External Memory

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.

Page 38: Group #6 External Memory

38

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Page 39: Group #6 External Memory

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.

Page 40: Group #6 External Memory

Size and style of packaging

Page 41: Group #6 External Memory

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.

Page 42: Group #6 External Memory

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.

Page 43: Group #6 External Memory

Examples… =D

Page 44: Group #6 External Memory

44

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Page 45: Group #6 External Memory

45

Flor

ida

Inte

rnat

iona

l Uni

vers

ity

Page 46: Group #6 External Memory

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.

Page 47: Group #6 External Memory

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

Page 48: Group #6 External Memory

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.

Page 49: Group #6 External Memory

49

Flor

ida

Inte

rnat

iona

l Uni

vers

ityUses

• Personal data transport

• Application carriers

• Booting operating systems

• Audio players

• Backup

Page 50: Group #6 External Memory

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.

Page 51: Group #6 External Memory

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.

Page 52: Group #6 External Memory

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?

Page 53: Group #6 External Memory

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?

Page 54: Group #6 External Memory

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

Page 55: Group #6 External Memory

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

Page 56: Group #6 External Memory

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