510 likes | 690 Views
Information and Communication Technology Fundamentals. Credits Hours: 2+1. Instructor: Ayesha Bint Saleem. Storing Data. Penning it down on a piece of paper Typing it using typewriter and getting a hard copy Storing it electronically on computer. Describing Storage Devices.
E N D
Information and Communication Technology Fundamentals Credits Hours: 2+1 Instructor: Ayesha Bint Saleem
Storing Data • Penning it down on a piece of paper • Typing it using typewriter and getting a hard copy • Storing it electronically on computer
Describing Storage Devices • Store data when computer is off • Re-use data at a later time • Two processes • Writing data • Recording data over some surface • Reading data • And transferring it to computer memory
Describing Storage Devices • Storage terms • Media is the physical material storing data • Storage devices manage the media • Writing data to storage device • Reading data from storage device • Diskette: storage medium, Diskette Drive: storage device • Magnetic Storage • Magnetic devices use a magnet • Optical Storage • Optical devices use lasers • Solid-state devices have physical switches
Magnetic Storage Devices • Most common form of storage • Hard drives, floppy drives, tape • All magnetic drives work the same • Similar Techniques for reading and writing • Surface of Storage media covered with Magnetically sensitive material • Reacts to magnetic field • Example; Iron Oxide
Magnetic Storage Devices • Diskette • Single thin disk of plastic • Stores data on both sides • Each side has its own read/write head • Hard Disk • Contain multiple disks • Platters • Made of rigid material • Aluminum
Magnetic Storage Devices Floppy Disk Hard Disk Tape
Magnetic Storage Devices • One magnet makes another magnet • Stroke an iron bar with magnet in one direction • Use electrical current to polarize iron • Electromagnet • Polarity and strength dependant on direction and strength of current • Transistor stores a bit as ON or OFF • Orientation of Magnetic field used to represent data • Magnet can represent ON or OFF without continual source of electricity
Magnetic Storage Devices • Data storage • Media is covered with iron oxide particles • Read/write head is an electro-magnet • Magnet writes charges on the media • Positive charge is a 1 • Negative charge is a 0 • Record 1s and 0s by alternating the direction of current
Magnetic Storage Devices • Data retrieval • Read/Write head passes over surface while no current flows • Storage medium charges the Read/Write head • Small current flow with direction dependant on field polarity • Direction of flow is sensed and data is sent into memory
Magnetic Storage Devices • Data organization • Disks must be formatted before use • Magnetically map disk surface • Assign addresses to different surface areas • Computer can go directly to required location: Random Access Nature • Reformatting destroys all data present on disk
Magnetic Storage Devices • Data organization • Format draws tracks on the disk • Concentric rings • Numbered from outermost to innermost, starting from 0 • Tracks is divided into sectors • Smallest unit Magnetic disk drive can work with • Entire sector read/written • In most Hard Disks a sector can store upto 512 bytes • All sectors on disk numbered in one long sequence • Each sector uniquely addressable and accessible
Magnetic Storage Devices • Data organization • Outermost track longer than innermost track • Same number of sectors/track • All sectors store same amount of data • Don’t occupy same space • Waste of disk material; Longer tracks can store more data • Solution: More sectors to longer tracks • Move towards disk center; number of sectors/track ↓ • More efficient method • Sectors/track given as average
Magnetic Storage Devices • How OS finds data on disk • Each track and sector is labeled • Some are reserved • Location of all data kept in special log • Labeling called logical formatting • Different OS format disk in different ways • Different manner of data management on disk • Different File system
Magnetic Storage Devices • FAT file system • Standardized file allocation table to keep track of file locations on disk • Four areas created on disk • Boot Sector • Programs that run on startup, checks required files • Transfers control to OS that continues the process • Describes disk characteristics: bytes/sector, sectors/track • File Allocation Table • Log maintaining the location of each file + status of sectors
Magnetic Storage Devices • Four areas created on disk • File Allocation Table • Writing to Disk: find open area using FAT store file log file ID + location • Reading: find location using FAT • Two copies of FAT, always kept updated • Root Folder • Master folder containing all other folders • Holds all the info about all other folders on disk • Data Area • Area where files and Programs are actually written
Magnetic Storage Devices • Finding data on disk • Listing of where files are stored • File Allocation Table (FAT) • FAT 16: MS-DOS, early Windows • FAT32 • Extended edition of original FAT • Windows 95, 2000, XP • New Technology File System (NTFS) • Windows NT, supported by other Windows versions as well • Longer file names allowed • NTFS 5 • High Performance File System (HPFS) • IBM OS/2
Magnetic Storage Devices • Finding data on disk • Sector grouped into clusters • Seen by OS as a single unit • Smallest place OS will allocate to a single file • Cluster sizes vary depending on size and type of disk • 4 sectors (diskettes) ; 64 sectors (Hard disks) • Cluster usage tracked in FAT
Magnetic Storage Devices • Diskettes • Also known as floppy disks • Read with a disk drive • Mylar disk • Spin at 300 RPM • Amount of time required for one revolution 0.2 sec • Time to move from innermost to outermost track 0.17 • Both happen simultaneously • Data access time = max(0.2, 0.17) = 0.2 • 0.5 sec if disk is moved from a dead stop • 3 ½ floppy disk holds 1.44 MB • 2880 sectors * 512 bytes/sector
Magnetic Storage Devices • Hard disks • Primary storage device in a computer • 2 or more aluminum platters • Each platter has 2 sides • Spin between 5,400 to 15,000 RPM • Data found in 9.5 ms or less • Drive capacity greater than 40 GB • High rotational speed allows more data to be recorded • Faster movement can use smaller charges to make current flow through head
Magnetic Storage Devices • Removable high capacity disks • Speed of hard disk • Portability of floppy disk • Several variants have emerged • High capacity floppy disk • Stores up to 750 MB of data • Hot swappable hard disks • Provide GB of data • Connect via USB
Magnetic Storage Devices • Tape drives • Best used for • Infrequently accessed data • Back-up solutions • Slow sequential access • Capacity exceeds 200 GB
Optical Storage Devices • CD-ROM • Most software ships on a CD • Read using a laser • Lands, binary 1, reflect data • Pits scatter data • Written from the inside out • CD speed is based on the original • Original CD read 150 Kbps • A 10 X will read 1,500 Kbps • Speed slower than Hard Drive • Standard CD holds 650 MB
Optical Storage Devices • DVD-ROM • Digital Video Disk • Use both sides of the disk • Use layers • Capacities can reach 18 GB • DVD players can read CDs
Recordable Optical Technologies • CD Recordable (CD-R) • Create a data or audio CD • Data cannot be changed • Can continue adding until full
Recordable Optical Technologies • CD Re-Writable (CD-RW) • Create a reusable CD • Cannot be read in all CD players • Can reuse about 100 times
Recordable Optical Technologies • Photo CD • Developed by Kodak • Provides for photo storage • Photos added to CD until full • Original pictures cannot be changed
Recordable Optical Technologies • DVD Recordable • Several different formats exist • None are standardized • Allows home users to create DVDs • Cannot be read in all players
Recordable Optical Technologies • DVD-RAM • Allow reusing of DVD media • Not standardized • Cannot be read in all players
Solid State Devices • Data is stored physically • No magnets or laser • Less reliable and more expensive than Magnetic/Optical sotrage • Very fast • No mechanical motion invloved
Solid State Devices • Flash memory • Found in cameras and USB drives • Combination of RAM and ROM • Long term updateable storage
Solid State Devices • Smart cards • Credit cards with a chip • Chip stores data • Eventually may be used for cash • Hotels use for electronic keys
Solid State Devices • Solid-state disks • Large amount of SDRAM • Extremely fast • Volatile storage • Require battery backups • Most have hard disks copying data
Drive Performance • Average access time • Also known as seek time • Time to find desired data • Measured in milliseconds • Depends on two factors • RPM • Time to access a track • Average Access time half of maximum access time • Hard drive between 6 and 12 ms • CD between 80 and 800 ms • Tape drive slowest • Solid State fastest
Drive Performance • Data transfer rate • How fast data can be read • Measured in Bps or bps • Hard drive ranges from 15 to 160 MBps • CD ROMS depend on X factor • 24x CD transfers 24 x 150 KBps • Floppy disks transfer at 45 KBps
Optimizing Performance • Disk optimization • Handled by operating system tool • Routine disk maintenance • Over time PC’s performance may slow down • Optimization should be run monthly
Optimizing Performance • Clean up unnecessary files • Delete temp files • Uninstall unused programs • Delete obsolete data files • Files should be cleaned weekly
Optimizing Performance • Scan a disk for errors • Bad spots on the media • Unaccounted-for data • Find and fix the error • Move data to a good spot • Mark the spot as bad • Disks should be scanned monthly
Optimizing Performance • Defragment a disk • Files fragment when resaved • File does not occupy contiguous sectors when saved • Fragmented files load slower • Defragment puts the fragments together • Disks should be defragged monthly • Run scanning before defragmenting
Optimizing Performance • File compression • Shrinks the size of a file • Takes up less space on disk • Resulting file called archive • Reduce a disks performance • Will increase disk capacity • PKZip, WinZip and WinRAR
File Compression 763 KBon disk Compressed 157 KB
Drive Interface Standards • Interface • How the device is connected • Drive controllers allow transfer of data • Dictates transfer rate and access time
Drive Interface Standards • Enhanced Integrated Drive Electronics • EIDE • Generic term for drive controllers • Several names • Fast IDE • Advanced Technology Attachment (ATA) • Up to 2 devices per controller • Most computers have 2 EIDE controllers
Drive Interface Standards • Small Computer System Interface • SCSI • Higher transfer rates than EIDE • More than 40 devices per SCSI controller • Computers may have several SCSI controllers • Many versions exist • Versions are typically incompatible • Found in servers and workstations
Drive Interface Standards • USB and FireWire • External drives • Transfer rate is limited • Many devices can be connected