Contents
Chapter 1 · HardwarePractice

LEARN WITH HARU

Video Lesson တွေက Haru အတန်းသားတွေအတွက်ပါ

Haru ရဲ့ ITPEC FE Full Course မှာ ယခု သင်ခန်းစာတွေကို တစ်ခုချင်း တစ်ကြောင်းချင်း အသေးစိတ်ရှင််ရှင်းပြထားပါတယ်

အခြေခံ မရှိတဲ့ ကျောင်းသားများစွာဟာလည်း ဒီ Course နဲ့ ပဲ အောင်မြင်ကုန်ကြပါပြီ

အတန်းမအပ်သေးပဲ Haru ဆီမှာ အစမ်းသင်ကြည့်ချင်ပါသလား?

သင်တန်းသားတွေရဲ့ စကားသံများ

သင်တန်းသားတွေရဲ့ စကားသံများ

Highlighted text? Practice this concept. Highlighted passages and figures open related questions.

Practice related questions (17)Progress & bookmarks

Current section

4 Auxiliary Storage

p. 78

Practice this section 17 linked exam questions with default filters

Progress

Not marked complete

Related questions in this lesson 21

Disk access time8Disk defragmentation2Optical recording media3Flash storage3Disk blocks and records2Disk geometry and capacity3
Progress and bookmarks

p. 78

4 Auxiliary Storage

Data to be processed inside the computer must be stored in main memory beforehand. However, the capacity of main memory is limited, and therefore it cannot store all data. Accordingly, data is stored in a separate storage device, and the required data is moved into main memory for processing. In such cases, auxiliary storage devices play the role of storing the data that cannot be stored in main memory. Therefore, auxiliary storage devices basically have larger capacity than main memory, and have a characteristic of non-volatility. In this section, we will learn about the types and mechanism of typical auxiliary storage devices.

4 - 1 Magnetic Disk

Magnetic disk is the most extensively used storage medium and is a typical example of an auxiliary storage medium. A magnetic disk is a disc-shaped storage medium with magnetic material coated on the surface, and it stores data by magnetic variation. Data is stored in concentric circles, with one concentric circle referred to as a track, and the unit of dividing the track in a constant length is called a sector. In modern magnetic disks, it is common to use the constant density recording method (zone sector method), where the number of sectors

Figure 1-42 Magnetic disk
p. 78

Magnetic head reads and changes the magnetic orientation of the magnetic disk. An electromagnet is embedded in the magnetic head, and it is fixed to the tip of an access arm to read and write data from and to the target track.

p. 79

Figure 1-43 Magnetic disk and magnetic head
p. 79

There exist the following types of magnetic disk-based auxiliary storage devices (auxiliary storage medium).

  • 1) HDD (Hard Disk Drive)

This auxiliary storage device is mounted as a standard device in almost all computers. In addition to the built-in HDD provided inside the computer, an external HDD is also available that can be used by connecting it to the computer. By stacking multiple magnetic discs inside a firmly sealed case, it is possible to record a large amount of data. In order to read data from multiple magnetic discs that are stacked, multiple access arms having magnetic heads are mounted.

Figure 1-44 Structure of hard disk drive
p. 79

Reading and writing of data from and to a hard disk drive is performed by moving the access arm horizontally and positioning the magnetic head on the target track of the hard disk. At that time, as evident from Figure 1-44, multiple tracks (tracks on a dashed line) can be read and written at the same position of the access arm (this set of tracks is called a cylinder). Reading and writing of data is performed for each cylinder separately. In the hard disk drive, since the hard disk is continuously rotating at high speed, the reading and writing of information is performed without letting the magnetic head touch the hard disk (non-contact method). Therefore, it suffers from the disadvantage that it is sensitive to vibrations.

  • 2) FD (Floppy Disk)

This is an auxiliary storage medium that can be carried by covering one magnetic disc (storage media that can be carried by releasing it from the device is called removable

p. 80

media). Although it is very inexpensive, it suffers from the disadvantages that storage capacity is small and it is easily affected by magnetism. Therefore, it is hardly used these days. In the FDD (Floppy Disk Drive) used to read and write data on the floppy disk, a magnetic head comes in contact with the disk in order to read and write data (contact method). Therefore, the disk has a tendency to deteriorate the stored contents because of wear and abrasion.

  • 3) ZIP This auxiliary storage medium was developed by Iomega of the United States. Its storage capacity is larger than that of a floppy disk, and it is portable. However, it is hardly used these days.

4-1-1 Storage Capacity of Magnetic Disk Drive

Storage capacity is the amount of data that can be recorded in a storage device. The configuration of general magnetic disk drives is “magnetic disk drive > cylinder > track > sector.” Therefore, the storage capacity of a magnetic disk drive can be determined in sequence from smaller to larger configuration units. · 3 questions

[Method of calculating storage capacity of magnetic disk drive]

  • 1) From the amount of data that can be recorded in one sector and the number of sectors in one track, calculate the storage capacity of one track.
  • 2) From the amount of data that can be recorded in one track and the number of tracks in one cylinder, calculate the storage capacity of one cylinder.
  • 3) From the amount of data that can be recorded in one cylinder and the number of cylinders in the magnetic disk drive, calculate the storage capacity of the magnetic disk drive.

When the number of magnetic discs is small (e.g., FD), storage capacity is also calculated using the number of magnetic discs instead of cylinders.

Disk storage-capacity example: complete first source-page portion with the specification table and introductory explanation
p. 80 · Enlarge

p. 81

Disk storage-capacity example: complete continuation with track, cylinder and drive calculations
p. 81 · Enlarge

4-1-2 Recording Area in Magnetic Disk Drive

Recording area refers to the area required for recording data in the storage device. It is important how to handle the unit of data (recording method of data) for calculating the size of recording area required for recording data in the magnetic disk drive. In general magnetic disk drives, multiple records, which are units having logical meanings, are consolidated into a block, and a block is treated as the unit of input and output (normal records are also referred to as logical records, and blocks are also referred to as physical records). Consolidating multiple records into a block is referred to as blocking, and the number of records consolidated into a block is referred to as the blocking factor. · 2 questions

Variable-length recording: source explanation, records, blocks, inter-block gaps and aligned track layout together
p. 81 · Enlarge

p. 82

Sector recording: source continuation with record blocks, sector boundaries and track layout together
p. 82 · Enlarge

In the sector method, which is commonly used in modern PCs (hard disk drive), the size of the recording area required for recording data is calculated as follows:

[Method of calculating size of recording area of magnetic disk drive]

  • 1) From the size of one block, calculate the number of sectors required for recording the data.
  • 2) Calculate the number of blocks of all data to be recorded.
  • 3) Calculate the number of sectors required for recording all data, and calculate the required number of tracks and the required number of cylinders in that sequence.
Disk recording-area example: complete first source-page portion with the specification table, block and sector calculations
p. 82 · Enlarge

p. 83

Disk recording-area example: complete continuation through blocks, sectors, tracks and rounded cylinder count
p. 83 · Enlarge

4-1-3 Average Access Time of Magnetic Disk Drive

Access refers to reading and writing data, and the time from placing an access request until the result is returned is called access time · 8 questions (in contrast, after an access request is received, the time taken until the drive is ready to accept the next access request is called cycle time). Reading (or writing) of data in the magnetic disk drive is carried out in the sequence described below.

Disk reading sequence: seek and rotational search, first source-page portion of the original box
p. 83 · Enlarge

p. 84

Disk reading sequence: data-transfer explanation, continuation of the original box from printed page 83
p. 84 · Enlarge

Therefore, access time is a summation of these times.

Disk access-time diagram: complete seek, rotational latency, transfer, waiting and total-access intervals
p. 84 · Enlarge

On the other hand, average access time is the average value of access time for reading (or writing) data of one unit of input/output. In this case, since the amount of data of one unit of input/output is the same, data transfer time is the same on each occasion. However, seek time and rotational latency are different on each occasion. Therefore, their respective average values (average seek time, average rotational latency) are used.

Average disk access time: complete original boxed formula
p. 84 · Enlarge

In order to calculate average access time, the values to be used as average seek time, average rotational latency, and data transfer time are shown below. Here, when average latency is used, it can be calculated as “average seek time + average rotational latency.”

Average seek and rotational-latency explanation: first source-page portion of the original box
p. 84 · Enlarge

p. 85

Average rotational latency and data-transfer rate: complete source continuation with both original fractions and explanations
p. 85 · Enlarge

Average rotational latency and data transfer time are closely related to the rotational speed of the disk. Therefore, increasing the rotational speed of the disk shortens the time. On the other hand, the proportion of seek time, which is the physical time required for access arm movement, tends to increase in access time. Therefore, shortening the seek time by recording the data in consecutive area and thereby reducing the amount of access arm movement is useful for shortening the average access time. Moreover, when data is recorded in a piecemeal manner (fragmentation), the average access time will become longer. Therefore, it is necessary to perform defragmentation · 2 questions in order to eliminate fragmentation.

Worked disk access-time example: first source-page portion with the 2000-byte request and complete specification table
p. 85 · Enlarge

p. 86

Worked disk access-time example: complete continuation with rotation, latency, transfer and total-access-time calculations
p. 86 · Enlarge

Finally, note that the average access time calculated here is simply a value for a magnetic disk drive as an independent device. For example, when disk cache is used, the average access time of the magnetic disk drive (auxiliary storage device) as seen from the processor (main memory unit) will not be the average access time calculated here. In such cases, with consideration of the hit ratio (or NFP), it is necessary to determine average access time (effective access time) as the weighted average of access time of disk cache and the access time of the magnetic disk drive.

4 - 2 Optical Disc

Optical disc is a commonly used auxiliary storage medium (removable media) these days. While optical disc drives use different mechanisms depending on the device, all of them are high-capacity auxiliary storage devices where the reading and writing of data is performed by means of a laser beam. Optical disc drives can be of the slot-in type where a disc is inserted

p. 87

into the slot as it is with an audio device, or of a tray type where a tray for mounting the disc comes out of the drive.

Although the structure of optical discs is basically the same as that of magnetic disks, the main difference is that tracks where data is recorded are spiral-shaped. Data is read by an optical head that detects the difference of reflected light after projecting a laser beam. However, seek time is longer because the optical head is heavier than a magnetic head. As a result, average access time of optical disc drives tends to be longer than that of magnetic disk drives. Optical discs include CD (Compact Disc), with standard storage capacity of about 700Mbytes, and DVD (Digital Versatile Disc), which has large storage capacity (standard storage capacity: a single-sided, single-layer disc holding 4.7Gbytes, and a single-sided, double-layer disc holding 8.5Gbytes) by multiple layers and short wavelength of laser beams.

(1) Read-only

Read-only optical discs record information by creating a small hole called a pit on the surface of discs in the factory and by changing the reflection of the laser beam. They are inexpensive because bulk production is possible by pressing a master disc. However, the user cannot write new data on these discs. Typical examples of read-only optical discs are CD-ROM (CD-Read Only Memory) and DVD-ROM. CD-ROM was originally developed for music. Therefore, music data and digital data can be mixed on the same disc. Moreover, when CD-ROM or DVD-ROM is produced in bulk, aluminum vapor-deposited layers (reflection layers) that are sandwiched between acrylic are pressed after adhesive agent is mounted with. When this adhesive agent peels off, resin (aluminum deposition) covering the surface will deteriorate (oxidize), and data can no longer be read. Therefore, the life span of CD-ROM and DVD-ROM is said to be about 20-30 years.

(2) Write-once

In write-once optical discs, while data written at the factory cannot be deleted or modified, data can be added (recorded) by creating a section where data can be recorded. Data can be written by making a pit, by burning an organic coloring matter that is coated on the disc with a strong laser beam. However, the burned organic coloring matter cannot be restored to its original state, and therefore, it is not possible to rewrite even the added data (WO (Write Once)). Typical examples are CD-R (CD-Recordable), DVD-R, and DVD+R. · 3 questions

p. 88

(3) Rewritable

In rewritable optical discs, data can be rewritten. As for the recording mechanism, heat and light are used to control the temperature of the recording surface of the disc, and data is recorded with metal phase-change technique that creates two states, namely, a crystalline state and a non-crystalline state. Since data can be added/deleted/modified, this is an auxiliary storage medium that can be handled in a similar way to a magnetic disk. Typical examples are CD-RW (CD-ReWritable), DVD-RW, DVD-RAM (DVD-Random Access Memory), and DVD+RW. Write-once and rewritable optical discs can use the same playback and recording drives (CD-R/RW drive, DVD-R/RW drive). However, because the laser beam reflection rate differs depending on different data recording methods, data may sometimes not be read correctly in read-only playback drives (CD-ROM drive, DVD-ROM drive).

[Methods of writing data in optical discs]

  • • DAO (Disk-At-Once) In this method, all data is written in one go on the entire disc.
  • • TAO (Track At Once) In this method, data is written separately for each track.
  • • SAO (Session At Once) In this method, data is written separately for each session (a session is a recording unit composed of lead-in that indicates the start, data, and lead-out that indicates the end).
  • • Multi-session This method allows multiple sessions to be recorded on one disc. This recording method can be performed with a device that supports TAO or SAO.
  • • Packet writing Just like a magnetic disk, this method writes data in small units (packets). This method is expanding the range of applications of optical discs.

(4) Blu-ray disc

Blu-ray disc has drawn a lot of attention in recent years. It uses a blue-violet laser beam which has a much shorter wavelength than the laser beams that is used in conventional optical discs, which achieves high capacity. Most Blu-ray drives that is used for playback and recording of Blu-ray discs also support CD, DVD, etc. At present, this format is mainly used for entertainment purposes. However, people have started using Blu-ray discs as a form of auxiliary storage media for PCs.

p. 89

4 - 3 Semiconductor Memory

Semiconductor memory (IC memory) is a storage device that uses IC such as RAM, ROM, and flash memory. In addition to being used as storage devices that constitute main memory and registers, it is also used as the recording medium of auxiliary storage devices. · 3 questions

(1) SSD (Solid State Drive)

SSD (Solid State Drive) is a flash memory-based auxiliary storage device that is expected to replace the HDD (Hard Disk Drive). In SSD, information is electrically read and written using flash memory. Therefore, unlike a hard disk drive, it does not require any drives (e.g., disk, access arm). For that reason, it has shorter access time because of no physical location seeking or rotational latency. Moreover, it has faster direct access (random access) that reads and writes data irrespective of the recording sequence of data. Additionally, it can be compact and lightweight, consumes less power, and is also resilient to vibrations or impact. However, there are limitations to the number of times data can be written (durability), and it suffers from the disadvantage that it is not suitable for applications where data needs to be rewritten frequently.

(2) RAM disk

RAM disk is an auxiliary storage device that uses a part of main memory (DRAM) as external storage by means of virtualization. In the early days, external RAM disks were used for expansion by combining a large amount of inexpensive RAM. However, it is rarely used these days. While high speed access is possible, data is cleared (volatility) once the power is off. Therefore, it is not suitable for storing data. (In order to save data, it is necessary to write it out to a hard disk.) In addition, data (file) that is recorded on a RAM disk is often called a RAM file, and the mechanism of data management is sometimes called a RAM file system. (A file which has the “.ram” extension and is used in a certain software product is also known as a RAM file. However, it needs to be noted that this is different from the RAM file mentioned above).

(3) USB memory/SD card (SD memory card)

USB memory is an auxiliary storage device that can easily be connected to and removed from the computer by equipping flash memory with a USB connector. On the other hand, SD card (SD memory card) is an auxiliary storage medium where flash memory is put on a chip, and it is used by insertion into the SD slot of computers or other devices such as digital

p. 90

cameras, smartphones, and cell phones. Both USB memory and SD card are flash memory based removable media, and they are suitable for carrying data. There are unified standards of the USB plugs and receptacles for USB memory. However, note that SD cards and SD slots may be using different standards depending on the manufacturer.

4 - 4 Other Auxiliary Storage Media and Drives

(1) MO (Magneto-Optical disc)

MO (Magneto-Optical disc) is an auxiliary storage medium that magnetizes the magnetic material that is coated on the recording surface of disc and records data by giving the direction of the magnetic force. By increasing the temperature of the magnetic material with laser beams and eliminating magnetic force for clearing data, it is possible to record data by magnetizing it once again. In comparison with magnetic storage media, it has the excellent properties of conservation and environmental resistance, and it is suitable for long-term storage of data, and even high density recording is possible. (There are standards such as a storage capacity of 230Mbytes or 640Mbytes). However, a laser beam is used for reading data, so data can be read with one rotation of disc. But, both a laser beam and magnetic head are used for writing data, so the disk needs to rotate one time each for clearing and writing data (total of two rotations). Therefore, access speed becomes slow. Moreover, the standard of 640Mbytes is a higher-level standard than that of 230Mbytes. Therefore, while the drive for 640Mbytes can read and write a 230-Mbyte disc, the logic format (format of recording data) is not unified, so it may not be possible to exchange data between different models. For these reasons, it is hardly used these days.

(2) Magnetic tape unit

Magnetic tape unit is an auxiliary storage device that records data by magnetizing the tape (magnetic tape) where magnetic material is coated. The access speed of a magnetic tape unit is extremely slow, and only sequential access is possible where data is consecutively read and written in sequence. (A device that consecutively records like a magnetic tape unit is called a streamer.) However, cost per unit information is extremely inexpensive in the case of magnetic tapes, and this auxiliary storage medium can record a large amount of data. Therefore, it is used for backing-up the hard disk. In the past, people mostly used open reel-type magnetic tapes, which were not suitable for hand-carrying because of their large size and weight. These days, however, people mostly use cartridge-type portable DDS (Digital Data Storage) on the basis of DAT (Digital Audio Tape) technology that was developed for music.

p. 91

(3) PC card

PC card is a card-type auxiliary storage medium used in notebook PCs and other devices, and its standard was defined by PCMCIA (Personal Computer Memory Card International Association), an industrial body of the United States. PC cards for several applications have been available on the market, such as memory cards used for capacity expansion (increasing memory) of main memory, FAX modems, and adapters for LAN connection. But currently USB memory and SD cards prevail, and PC cards are rarely used.

Original chapter exercises

Original chapter exercises →

New FE Textbook Vol.1 · IT Fundamentals · First Edition, April 2015