140 likes | 291 Views
Secondary Storage. ใช้เก็บโปรแกรม และ ข้อมูลที่ยังไม่ได้ใช้ในการประมวลผล หรือ ใช้เก็บสารสนเทศซึ่งเป็นผลลัพท์จากการประมวลผล มีทั้งพฤติกรรม Input และ Output แบ่งประเภท ตาม เทคนิคหลักที่ใช้ในการเก็บข้อมูล Magnetic Optical ประสิทธิภาพของอุปกรณ์ ความจุ ความเร็วในการเขียน-อ่าน ข้อมูล.
E N D
Secondary Storage • ใช้เก็บโปรแกรม และ ข้อมูลที่ยังไม่ได้ใช้ในการประมวลผล หรือ ใช้เก็บสารสนเทศซึ่งเป็นผลลัพท์จากการประมวลผล • มีทั้งพฤติกรรม Input และ Output • แบ่งประเภท ตาม เทคนิคหลักที่ใช้ในการเก็บข้อมูล • Magnetic • Optical • ประสิทธิภาพของอุปกรณ์ • ความจุ • ความเร็วในการเขียน-อ่าน ข้อมูล
Secondary Storage Device • Magnetic storage ใช้ความแตกต่างทางขั้วแม่เหล็กในการเก็บข้อมูล • Floppy Disk • Hard Disk • Magnetic Tape : access แบบ Sequential , การ access ทำได้ช้า • Optical Storage ; ใช้ขบวนการทางแสง เช่น laser beams ในการอ่านและเขียนข้อมูล • CDROM , WORM • Optical Disk • Magneto - Optical Disks (MO)
History of Storage Device • 1800s punch card • early 1950s tape drives -> magnetic drums • 1957 The first hard drive ( IBM's RAMAC 350 )50 x 24” disks to store five megabytes • early 1980s The first 5.25” hard disk drives , 5 -10 MB • The first PCs Floppy - 8” -> 5” -> 3.5”
Diskette • size 3.5 ” , 5 1/4 ” , ... • Track , Sector • Single-Sided, Double Sided , Double Density, HD • Format - เตรียม Diskette ให้พร้อมที่จะใช้เก็บข้อมูล โดยการจัด Track, Sector • Clusterคือ ส่วนย่อยที่สุดในการแบ่งเนื้อที่สำหรับเก็บ file หนี่งๆ • FAT ( File Allocation Table) • Access Time = Seek Time + Rotational Delay + Data Transfer Rate
Harddisk Capacity = Cylinders x Track/Cylinder x Sectors/Track x Bytes/Sector http://www.pcwebopedia.com/sector.htmhttp://www.quantum.com/src/storage_basics/images/S17A_2.jpghttp://www.tomshardware.com/geometrie.gif
ตัวอย่างการคำนวณ Disk Capacity 1.) DISK ขนาด 3 1/2” , 2 sides, 80 Tracks ,18 sectors / Track , 1 sector = 512 bytes Capacity = 512 x 18 = 9216 Bytes / Track= 512 x 18 x 80 = 737280 Bytes/Side= 2 x 512 x 18 x 80 = 1474560 Bytes/แผ่น= 1474560 /1024= 1440 Kbytes
ประเภทของ Harddisk • Fixed • Removable • Portable
ตัวอย่างการคำนวณ Harddisk Capacity 1.) Harddisk ขนาด 1632 Cylinders , 12 sides, 1 sector = 512 bytes, 54 sectors / Track 1632 Cylinders = 1632 Track Capacity = 1632 x 54 x 512 x 12 = 541,458,432 Bytes 528,768 KBytes
CDROM • Compact Disk Read Only Memory • เส้นผ่าศูนย์กลาง 4.75 นิ้ว (12 cm.) , อายุการใช้งาน > 15ปี • Drive Single Speed(1X) = 150 Kilobyte/S , upto 32X (@7/7/98) • Interface : SCSI (สะกัสซี) VS. EIDE(Enhance IDE) • Typical Capacity = 650 Mbytes • Seektime = 100 - 600 ms
ชนิดของแผ่น CD-ROM • CD-ROM ----> แผ่นปกติทั่วไป อ่านได้อย่างเดียว • CD-R (recordable) ---> แผ่นพิเศษ สามารถบันทึกได้ แต่ได้ครั้ง แรกครั้งเดียว • CD-RW (rewritable) ---> สามารถบันทึกซ้ำได้หลายครั้ง
DVD • Digital Video Disk • DVD Drive สามารถอ่านได้ทั้งแผ่น CD และ แผ่น DVD • หน้าเดียวชั้นเดียว = 4.7 GB • หน้าเดียวสองชั้น = 8.5 GB • บันทึกสองหน้าชั้นเดียว = 9.46 GB ต้องมีการกลับแผ่นหรือกลับหน้าเพราะข้อมูลอยู่คนละหน้า • บันทึกสองหน้าสองชั้น = 17 GB
Storage อื่น ๆ • รอฟังได้จากการรายงานของเพื่อนทั้ง 2 กลุ่ม
Data Compression • การบีบอัดข้อมูล เพื่อให้ใช้เนื้อที่ในการเก็บข้อมูลน้อยลง • เช่น การใช้สัญลักษณ์พิเศษบางอย่างแทนการเก็บข้อมูล Early to bed, early to rise, makes a man healthy, wealthy and wise@ # bed, @ # r$, %kes a %n h&, w& and w$ @ = early , # = to , $ = ise , %= ma , & ealthyCompression ratio; 56/30 = 1.9: 1 (46%) • แบ่งได้เป็น 2 ประเภท คือ • Lossless : ไม่มีข้อมูลใด ๆ หายไปในการ compress เหมาะกับข้อมูลที่เป็น Text , Numeric • Lossy : มีข้อมูลบางอย่างที่ละเลยไป ซึ่งจะมีผลให้ Compression ratio เพิ่มขึ้น แต่ความถูกต้องน้อยลง เหมาะกับข้อมูลที่เป็น Video ,Sound , Image