Memori Sekunder Organisasi Sistem Komputer Priyanto E"mail ':'
[email protected]' Mobile':'0811282609'
Program'Studi'Pendidikan'Teknik'Elektronika' Jurusan'Pendidikan'Teknik'Elektronika' FT'UNY''2015'
2"#ngkat" Main" Memory"
Register"
Secondary" Memory"
3"#ngkat"
Register"
Cache" Memory"
Main" Memory"
Secondary" Memory"
Organisasi'Sistem'Komputer'
Organisasi'Sistem'Komputer'
• Separate'from'the'computer'itself' • SoMware'and'data'stored'on'a'semipermanent' basis' – Unlike'memory,'not'lost'when'power'is'lost'
Organisasi'Sistem'Komputer'
Magnetic Disk'
Organisasi'Sistem'Komputer'
• Media'disk'magneQk'mengandung'parQkel'besi,'yang' dapat'terpolarisasi'(diberi'muatan'magneQk)'dalam' salah'satu'dari'dua'arah.' • Arah'masing"masing'parQkel'mewakili'1'(ON)'atau'0' (OFF),'yang'mewakili'masing"masing'bit'dari'data'yang' dapat'dikenali'oleh'CPU.' • Disk'drive'menggunakan'head'baca/menulis'yang'berisi' elektromagnet'untuk'membuat'muatan'magneQk'pada' media.'
Organisasi'Sistem'Komputer'
Write"head" Medium" Random"par#cles" (no"data"stored)"
Current"flow" (write"opera#on)"
Organized"par#cles" (represent"data)"
Organisasi'Sistem'Komputer'
As"the"medium" rotates,"the"head" writes"the"data."
Organisasi'Sistem'Komputer'
• Disk'drive'adalah'perangkat'yang'memungkinkan' data'untuk'dibaca'dari'disk'atau'ditulis'pada'disk.' • Mekanisme'untuk'membaca'atau'menulis'data'pada' disk'dilakukan'melalui'access%arm'yang' menggerakkan'head'baca/tulis'ke'posisi'di'atas'trek' tertentu' Organisasi'Sistem'Komputer'
• Read/Write"Head'di'ujung'access'arm'melayang'di'atas' track,'Qdak'menyentuh'permukaan.'' • KeQka'read/write'head'menyentuh'permukaan'disk,' disebut'head"crash'dan'data'menjadi'rusak.'' • Data'juga'dapat'rusak'bila'read/write'head'menemui' benda'asing'pada'permukaan'disk'' Rambut"
Access"arm" Par#kel" asap"
Debu"
Sidik" jari"
Disk"magne#k" Organisasi'Sistem'Komputer'
Disket'dibuat'dari'mylar'fleksibel'dan'dilapisi'iron% oxide,'bahan'yang'dapat'dibuat'magnet.'Diske[e'dapat' merekam'data'sebagai'QQk"QQk'magnet'pada'jalur' diatas'permukaan.' Sliding"metal" ShuKer" Hard"plas#c" casing"
Read/Write" opening"
Spindle"hole" Sector"hole" Disk"
Write"protect" opening"
Liner" Organisasi'Sistem'Komputer'
Organisasi'Sistem'Komputer'
Organisasi'Sistem'Komputer'
Hard"Disk'adalah'piringan'metal'yang'dilapisi' dengan'magne.c%oxide'yang'dapat'dibuat'magnet' untuk'dapat'merepresentasikan'data.'' Organisasi'Sistem'Komputer'
Disk"Pack.'Hard'Disk'terdiri'dari'banyak'piringan.' Bagian'luar'piringan'paling'atas'dan'bagian'luar' piringan'paling'bawah'Qdak'berisi'data'' Organisasi'Sistem'Komputer'
A'disk'pack'has'a'series'of'access'arms'that'slip' in'between'the'disks'in'the'pack''
Organisasi'Sistem'Komputer'
Tidak"ada"sistem"penyimpanan"" yang"benarObenar"aman" • Redundant'Array'Of'Independent'Disks"(RAID)' • Penyimpanan'RAID'menggunakan'beberapa'hard'disk'kecil' yang'bekerja'sama'sebagai'satu'kesatuan.' • Sistem'RAID'paling'dasar'(RAID'level'1):'menduplikasi'pada' disk'drive'terpisah,'disebut'disk"mirroring." • Sehingga'Qdak'ada'data'hilang'apabila'satu'drive'rusak.'Proses' ini'reliabel'tapi'mahal.'' • Mahal,'dapat'menjadi'Qdak'masalah'keQka'data'dinilai'Qnggi.' Organisasi'Sistem'Komputer'
Data'disimpan'dalam'satu'hard'disk' Organisasi'Sistem'Komputer'
menduplikasi'pada'disk'drive'terpisah' Organisasi'Sistem'Komputer'
Magnetic Disk: Data Organization
Organisasi'Sistem'Komputer'
Organisasi'Sistem'Komputer'
• The'circular'porQon'of'the'disk' surface'that'passes'under'the'read/ write'head' – Floppy'diske[e'has'80'tracks'on'each' surface' – Hard'disk'may'have'1,000'or'more'tracks' on'each'surface'of'each'pla[er'
Organisasi'Sistem'Komputer'
• Each'track'is'divided'into' sectors'that'hold'a'fixed' number'of'bytes' – Typically'512'bytes'per'sector'
• Zone'recording'assigns'more' sectors'to'tracks'in'outer' zones'than'those'in'inner' zones' – Uses'storage'space'more'fully'
Organisasi'Sistem'Komputer'
• A'fixed'number'of'adjacent'sectors'that'are' treated'as'a'unit'of'storage' – Typically'two'to'eight'sectors,'depending'on'the' operaQng'system' Cluster'of'' 4'sectors'
Cluster'
Organisasi'Sistem'Komputer'
Track'pada'seQap'permukaan' yang'berada'di'bawah'head'baca/ tulis'pada'posisi'tertentu'saat' head'membaca/menulis.' KeQka'kapasitas'file'lebih'besar' dari'satu'trek,'sistem'operasi'akan' menyimpannya'di'trek'dalam' silinder'yang'sama'
Organisasi'Sistem'Komputer'
• Tape'similar'to'tape'used'in'music' casse[es' • Categorized'in'terms'of'density' – Number'of'bits'per'inch'stored'on' tape' • Used'primarily'for'backup'of'data' stored'on'disk'systems'
Organisasi'Sistem'Komputer'
• ImperaQve'to'have'copies'of'important'data'stored' away'from'the'computer' – Disks'occasionally'fail' – SoMware'installaQon'can'cause'computer'to'crash' – Users'make'mistakes'entering'data'
• Tape'is'ideal'backup'medium' – Can'copy'enQre'hard'disk'to'single'tape'in'minutes' – Backup'can'be'scheduled'when'you'are'not'going'to'use' the'system'
Organisasi'Sistem'Komputer'
Secondary Storage: Access Time
Organisasi'Sistem'Komputer'
• Seek"#me.'Ini'adalah'waktu'yang'dibutuhkan' lengan'akses'untuk'masuk'ke'posisi'trek' tertentu.' • Head"switching.'Apabila'ada'banyak'head,' hanya'satu'head'yang'dapat'dioperasikan'pada' satu'saat.'Head'switching'pengakQfan'read/ write'head'pada'track'di'suatu'permukaan' • Rota#onal"delay.'Setelah'lengan'akses'dan' head'berada'dalam'posisi'dan'siap'untuk' membaca'atau'menulis'data,'head'menunggu' sesaat'sampai'data'yang'diinginkan'di'trek' bergerak'di'bawahnya.' Organisasi'Sistem'Komputer'
• Data"Transfer,'proses'transfer'data'antara'memori'dan' track'disk.' – dari'memori'ke'track'jika'komputer'menulis'' – dari'track'ke'memori'jika'komputer'membaca'' • Salah'satu'ukuran'performa'disk'drives'adalah'average% access%.me,'biasanya'diukur'dalam'milliseconds'(ms).'' • Ukuran'yang'lain'adalah'data"transfer"rate,'diukur' dalam'megabytes"per"second.'' Organisasi'Sistem'Komputer'
Secondary Storage: Optical Disk' Organisasi'Sistem'Komputer'
• The'technology'works'like'this:'A'laser' hits'a'layer'of'metallic'material'spread' over'the'surface'of'a'disk.'' • When'data'is'being'entered,'heat'from' the'laser'produces'Qny'spots'on'the' disk'surface.'' • To'read'the'data,'the'laser'scans'the' disk,'and'a'lens'picks'up'different'light' reflecQons'from'the'various'spots.'' Organisasi'Sistem'Komputer'
Light Amplification by Stimulated Emission of Radiation
Organisasi'Sistem'Komputer'
• An'opQcal'disk'is'a'high"capacity'storage''medium.''An' opQcal'drive'uses'reflected'light'to'read'data.' • To'store'data,'the'disk's'metal'surface'is'covered'with' Qny'dents'(pits)'and'flat'spots'(lands),'which'cause'light' to'be'reflected'differently.' • When'an'opQcal'drive'shines'light'into'a'pit,'the'light' cannot'be'reflected'back.''This'represents'a'bit'value'of' 0'(off).''A'land'reflects'light'back'to'its'source,' represenQng'a'bit'value'of'1'(on).'' Organisasi'Sistem'Komputer'
Organisasi'Sistem'Komputer'
Organisasi'Sistem'Komputer'
CD'memiliki'track'data'spiral' tunggal,'berputar"putar'dari' bagian'dalam'disk'ke'luar.' Fakta'bahwa'jalur'spiral' dimulai'di'pusat'berarQ' bahwa'CD'dapat'lebih'kecil' dari'4,8'inci'
Organisasi'Sistem'Komputer'
• ReadOonly"media'are'disks'recorded'by'the'manufacturer' and'can'be'read'from'but'not'wri[en'to'by'the'user.'' • WriteOonce,"readOmany"media,'also'called'WORM"media,' may'be'wri[en'to'once.'Once'filled,'a'WORM'disk'becomes' a'read"only'medium.'A'WORM'disk'is'nonerasable.'' • A'hybrid'type'of'disk,'called'magnetoOop#cal"(MO),' combines'the'best'features'of'magneQc'and'opQcal'disk' technologies.'A'magneto"opQcal'disk'has'the'high"volume' capacity'of'an'opQcal'disk'but'can'be'wri[en'over'like'a' magneQc'disk.'' Organisasi'Sistem'Komputer'
• Sama'dengan'teknologi'CD"ROM,'DVD'menggunakan' sinar'laser'untuk'membaca'microscopic%spots'yang' menyimpan'data.'' • DVD'menggunakan'laser'dengan'panjang'gelombang' lebih'pendek,'sehingga'QQknya'lebih'padat,'sehingga' meningkatkan'kapasitas'disk.'' • Saat'ini'DVD'drive'sudah'menjadi'standard'equipment' untuk'PC'dan'Laptop.'' • Versi'writable'dari'DVD'adalah'DVD4RAM,' standarisasinya'sudah'ditetapkan.'' Organisasi'Sistem'Komputer'
Organisasi'Sistem'Komputer'
CD"(Compact'Disk).'A'nonerasable'disk'that'stores'digiQzed'audio' informaQon.The'standard'system'uses'12"cm'disks'and'can' record'more'than'60'minutes'of'uninterrupted'playing'Qme.' CDOROM"(Compact'Disk'Read"Only'Memory).'A'nonerasable'disk' used'for'storing'computer'data.The'standard'system'uses'12"cm' disks'and'can'hold'more'than'650'Mbytes.' CDOR"(CD'Recordable).'Similar'to'a'CD"ROM.'The'user'can'write'to' the'disk'only'once.' CDORW"(CD'Rewritable).'Similar'to'a'CD"ROM.'The'user'can'erase' and'rewrite'to'the'disk'mulQple'Qmes.'
Organisasi'Sistem'Komputer'
DVD"(Digital'VersaQle'Disk).'A'technology'for'producing'digiQzed,' compressed'representaQon'of'video'informaQon,'as'well'as'large' volumes'of'other'digital'data.'Both'8'and'12'cm'diameters'are' used,'with'a'double"sided'capacity'of'up'to'17'Gbytes.'The'basic' DVD'is'read"only'(DVD"ROM).' DVDOR"(DVD'Recordable).'Similar'to'a'DVD"ROM.'The'user'can'write' to'the'disk'only'once.'Only'one"sided'disks'can'be'used.' DVDORW"(DVD'Rewritable).'Similar'to'a'DVD"ROM.'The'user'can' erase'and'rewrite'to'the'disk'mulQple'Qmes.'Only'one"sided'disks' can'be'used.' BluORay"DVD"(High'definiQon'video'disk).'Provides'considerably' greater'data'storage'density'than'DVD,'using'a'405"nm'(blue" violet)'laser.''A'single'layer'on'a'single'side'can'store'25'Gbytes.' Organisasi'Sistem'Komputer'
Sistem File: Sedikit ke OS'
Organisasi'Sistem'Komputer'
• FAT"16'–'oldest,'created'for'DOS,'supported'by'most' OSs’,'cannot'be'installed'on'parQQons'larger'than'2'GB,' or'on'hard'drives'larger'than'4GB.' • FAT"32'–'supports'disks'from'512'to'2TB,'compaQble' with'Windows'98'and'up' • NTFS'–'(new'technology'file'system)'–'be[er'file'security' (EncrypQng'File'System).''NTFS'volumes'can'not'be' accessed'by'DOS,'or'Windows'95'or'Windows'98.'
Organisasi'Sistem'Komputer'
' ➨ The'operaQng'system'keeps'track'of'data'(documents,' pictures,'etc.)'by'placing'it'into'a'file.'' ➨ To'store'and'retrieve'files:' ➨ 'Disk'divided'into'tracks' ➨ Tracks'are'divided'into'sectors' ➨ 'Sectors'grouped'into'clusters' ➨ Number'of'sectors'in'a'cluster'is'determined'by' ➨ Size'of'the'hard'drive' ➨ File'allocaQon'system'–'FAT,'FAT32,'NTFS' Organisasi'Sistem'Komputer'
• A'cluster,'also%known%as%an%alloca.on%unit,'consists'of'one'or' more'sectors'of'storage'space,'and'represents'the'minimum' amount'of'space'that'an'operaQng'system'allocates'when' saving'the'contents'of'a'file'to'a'disk.' • The'number'of'sectors'per'cluster'is'dependent'on'' – Type'of'disk'(floppy'disk,'hard'disk)' – Version'of'operaQng'systems' – Size'of'disk' • Every'sector'contains'512'bytes.' • The'number'of'clusters'per'disk'is'determined'by'the'filing' system'(FAT'16,'FAT'32'or'NTFS).'' Organisasi'Sistem'Komputer'
DRIVE SIZE
FAT 16 Cluster Size
FAT 32 Cluster Size
NTFS Cluster Size
260'"'511'MB'
8'KB'(16'sectors)'
Not'Supported'
512'bytes'(1'sector)'
512'"1023'MB'
16'KB'(32'sectors)'
4'KB'(8'sectors)'
1KB'(2'sectors)'
1024'MB'"'2'GB' 32'KB'(64'sectors)'
4'KB'(8'sectors)'
2'KB'(4'sectors)'
2'"'4'GB'
64'KB'(128'sectors)' 4'KB'(8'sectors)'
4'KB'(8'sectors)'
4'"'8'GB'
Not'Supported'
4'KB'(8'sectors)'
8'KB'(16'sectors)'
8'"'6'GB'
Not'Supported'
8'KB'(16'sectors)'
16'KB'(32'sectors)'
16'"'32'GB'
Not'Supported'
16'KB'(32'sectors)' 32'KB'('64'sectors)'
>32'GB'' (up%to%2%TB)'
Not'Supported'
32'KB'(64'sectors)' 64'KB'(128'sectors)' Organisasi'Sistem'Komputer'
Hard"drive"="2GB" • FAT"16'–'the'file'will'use'1'cluster'which'is''64'sectors,'so'' – 64'X'512'bytes'per'sector'='32KB'–'2KB'='30KB'slack' space' • FAT"32'–'the'file'will'use'1'clusters'which'is'8'sectors,'so' – 8'X'512'bytes'per'sector'='4KB'–'2KB'='2KB'slack'space' • NTFS'–'the'file'will'use'1'cluster'which'is'4'sectors,'so' – 4'X'512'bytes'per'sector'='2KB'–'2KB'='0'slack'space''
Organisasi'Sistem'Komputer'
File'2'is'fragmented' Organisasi'Sistem'Komputer'
Organisasi'Sistem'Komputer'