1 Computer Organization and Architecture Chapter 5 Memori External 4/22/2015 Materi ke 5 Memory External by kustanto
2 Jenis Memori External zMagnetic Disk yRAID yRemovable zOptical yCD-ROM yCD-Writable (WORM) yCD-R/W yDVD zMagnetic Tape 4/22/2015 Materi ke 5 Memory External by kustanto
3 Magnetic Disk zMetal atau plastic dilapisi dg material yg bersifat magnet (iron oxide) zJenis kemasan yFloppy yWinchester hard disk yRemovable hard disk 4/22/2015 Materi ke 5 Memory External by kustanto
4 Format dan Organisasi Data zLingkaran konsentris atau track yAda Gap antar track yGap sempit, kapasitas bertambah yJumlah bit per track sama (kerapatan bervariasi) yKecepatan putar tetap zTrack dibagi menjadi beberapa sector zUkuran minimum block adalah satu sector zSatu block bisa berisi lebih dari satu sector 4/22/2015 Materi ke 5 Memory External by kustanto
5 Fixed/Movable Head Disk zFixed head yAda satu head (r/w) per track yHead diletakkan pada tangkai yg tetap zMovable head yHanya ada satu head per side yDiletakkan pada tangkai yg dpt bergerak 4/22/2015 Materi ke 5 Memory External by kustanto
6 Removable / Nonremovable zRemovable disk yDapat dilepas dari drive dan diganti dg disk lain yMemberikan kapasitas simpanan yg tak terbatas yMudah melakukan transfer data antar sistem zNonremovable disk yTerpasanang permanen dalam drive External Memory 4/22/2015 Materi ke 5 Memory External by kustanto
7 Floppy Disk z8”, 5.25”, 3.5” zKapasitas kecil ysampai 1.44Mbyte (ada yg 2.88M) zLambat zUmum dipakai zMurah 4/22/2015 Materi ke 5 Memory External by kustanto
8 Winchester Hard Disk (1) zDikembangkan oleh IBM di Winchester (USA) zDikemas dalam satu unit zBerisi satu cakram atau lebih zHead sangat kecil zHandal 4/22/2015 Materi ke 5 Memory External by kustanto
9 Winchester Hard Disk (2) zUmum digunakan zMurah zSbg external storage yg sangat cepat zKapasitas semakin besar yDalam orde GB 4/22/2015 Materi ke 5 Memory External by kustanto
10 Pencarian Sector zHarus dapat mengenali awal suatu track dan sector zFormat disk yMenambahkan informasi tambahan yMemberi tanda awal track dan sector 4/22/2015 Materi ke 5 Memory External by kustanto
11 Gap1 IdGap2DataGap3 Gap1 IdGap2DataGap3 Track Sync Byte HeadSectorCRC Sync Byte DataCRC ST506 format (old!) 4/22/2015 Materi ke 5 Memory External by kustanto
12 Karakteristik zFixed head atau movable head zRemovable disk atau fixed disk zSingle side atau double side zSingle platter atau multiple platter zMekanisme head yContact (Floppy) yFixed gap yFlying (Winchester) 4/22/2015 Materi ke 5 Memory External by kustanto
13 Multiple Platter zSatu head per side zSemua head di-join dan di-align zTrack-track yg setiap platter membentuk cylinder zData dipecah berdasarkan cylinder yMengurangi gerakan head yMeningkatkan kecepatan (transfer rate) 4/22/2015 Materi ke 5 Memory External by kustanto
14 Kecepatan zPencarian waktu (Seek time) ygerakan head ke track yg dituju z(Rotational) latency yPutar platter sampai posisi data dibawah head zAccess time = Seek + Latency zTransfer rate 4/22/2015 Materi ke 5 Memory External by kustanto
15 RAID (Redundant Array of Independent Disks) zAda 6 level zTidak berhirarki zSejumlah disks (fisik) yg dipandang sbg satu drive (logical) oleh Sistem Operasi zData tersebar diantara disk fisik 4/22/2015 Materi ke 5 Memory External by kustanto
16 RAID 0 zNo redundancy zData striped across(bergaris di) all disks zBergaris bulat (Round Robin striping) zMeningkatkan kecepatan (Increase speed) yMultiple data requests probably not on same disk yDisks seek in parallel yA set of data is likely to be striped across multiple disks 4/22/2015 Materi ke 5 Memory External by kustanto
17 RAID 1 zMirrored Disks zData is striped across disks z2 copies of each stripe on separate disks zRead from either (baik) zWrite to both zRecovery is simple ySwap faulty disk & re-mirror yNo down time zExpensive 4/22/2015 Materi ke 5 Memory External by kustanto
18 RAID 2 zDisks are synchronized zGaris sgt kecil (Very small stripes) y Sering byte tunggal (Often single byte/word) zError correction calculated across corresponding bits on disks zMultiple (beberapa) parity disks store Hamming code error correction in corresponding positions zLots of redundancy yExpensive yNot used 4/22/2015 Materi ke 5 Memory External by kustanto
19 RAID 3 zmirip (Similar) to RAID 2 zOnly one redundant disk, no matter how large the array zSimple parity bit for each set of corresponding bits zData on failed drive can be reconstructed from surviving data and parity info zVery high transfer rates 4/22/2015 Materi ke 5 Memory External by kustanto
20 RAID 4 zEach disk operates independently zTingkat permintaan I/O baik (Good for high I/O request rate) zGarisnya besar (Large stripes) zBit by bit parity calculated across stripes on each disk zPenyimpanannya di atas parity disk (Parity stored on parity disk) 4/22/2015 Materi ke 5 Memory External by kustanto
21 RAID 5 zLike RAID 4 zBergaris di semua disk paritas (Parity striped across all disks) zRound robin allocation for parity stripe zMenghindari kemacetan RAID 4 pada parity disk (Avoids RAID 4 bottleneck at parity disk) zUmumnya untuk server (Commonly used in network servers) 4/22/2015 Materi ke 5 Memory External by kustanto
22 Optical Storage CD-ROM zOriginally for audio z650Mbytes giving over 70 minutes audio zBiasanya Dilapisi almunium (Polycarbonate coated with highly reflective coat, usually aluminum) zData stored as pits zRead by reflecting laser zKepadatan packing konstan (Constant packing density) zConstant linear velocity (kecepatan linear konstan) 4/22/2015 Materi ke 5 Memory External by kustanto
23 CD-ROM Drive Speeds zAudio is single speed yKecepatan konstan (Constant linier velocity) y1.2 ms -1 yTrack (spiral) is 5.27km long yGives 4391 seconds = 73.2 minutes zKecepatan lainnya adalah kelipatannya (Other speeds are quoted as multiples) ze.g. 24x zAngka kecepatan max dapat dicapai (The quoted figure is the maximum the drive can achieve) 4/22/2015 Materi ke 5 Memory External by kustanto
24 00 FF x 10 Min Sec Sector Mode Data Layered ECC 12 byte Sync 4 byte Id 2048 byte288 byte 2352 byte CD-ROM Format zMode 0=blank data field zMode 1=2048 byte data+error correction zMode 2=2336 byte data 4/22/2015 Materi ke 5 Memory External by kustanto
25 Random Access on CD-ROM zBerat (Difficult) zPerpindahan head kasar (Move head to rough position) zSet correct speed zRead address zMemerlukan lokasi (Adjust to required location) 4/22/2015 Materi ke 5 Memory External by kustanto
26 CD-ROM for & against zLarge capacity (?) zMudah diproduksi masal (Easy to mass produce) zRemovable zRobust or strong zExpensive for small runs zLambat (Slow) zRead only 4/22/2015 Materi ke 5 Memory External by kustanto
27 Other Optical Storage zCD-Writable yWORM y Terjangkau (Now affordable) yCompatible with CD-ROM drives zCD-RW yDapat dihapus (Erasable) ysemakin murah Getting cheaper (Getting cheaper ) ySebagian besar kompatibel (Mostly CD-ROM drive compatible) 4/22/2015 Materi ke 5 Memory External by kustanto
28 DVD - what’s in a name? zDigital Video Disk yUsed to indicate a player for movies xOnly plays video disks zDigital Versatile Disk yUsed to indicate a computer drive xWill read computer disks and play video disks 4/22/2015 Materi ke 5 Memory External by kustanto
29 DVD - technology zMulti-layer zVery high capacity (4.7G per layer) zFull length movie (film) on single disk yUsing MPEG compression zFinally standardized (honest!) zMovies carry regional (daerah) coding zPlayers only play correct region films zCan be “fixed” 4/22/2015 Materi ke 5 Memory External by kustanto
30 DVD - Writable zLoads of trouble with standards zFirst generation DVD drives may not read first generation DVD-W disks zFirst generation DVD drives may not read CD- RW disks 4/22/2015 Materi ke 5 Memory External by kustanto
31 Foreground Reading zCheck out optical disk storage options zCheck out Mini Disk 4/22/2015 Materi ke 5 Memory External by kustanto
32 Magnetic Tape zSerial access z Lambat (Slow) zVery cheap zBackup and archive 4/22/2015 Materi ke 5 Memory External by kustanto
33 Digital Audio Tape (DAT) zUses rotating head (like video) zHigh capacity on small tape y4Gbyte uncompressed y8Gbyte compressed zBackup of PC/network servers 4/22/2015 Materi ke 5 Memory External by kustanto
End of Session Memory External 4/22/2015Materi ke 334