Flash Memories: NOR and NAND
48 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the main advantage of NAND flash memories over NOR flash memories?

  • Randomly addressable
  • Lower cost per gigabyte
  • Faster writing speed
  • Higher storage density (correct)
  • What is the primary limitation of flash memories?

  • Slow reading speed
  • Wear-out due to limited number of writings (correct)
  • High cost per gigabyte
  • Low storage density
  • What is the purpose of the Internet Archive project?

  • To compare the performance of different storage technologies
  • To provide high I/O performance
  • To evaluate the cost of different storage systems
  • To make the historical record of the Internet over time (correct)
  • What is the typical cost of flash memories in 2016?

    <p>$0.3/GiB</p> Signup and view all the answers

    What is the primary component of a typical cluster building block?

    <p>Servers</p> Signup and view all the answers

    What is the name of the project that uses the VME T-80 rack?

    <p>Internet Archive</p> Signup and view all the answers

    What is the limitation of DRAM in terms of writing speed?

    <p>10 to 100 times faster</p> Signup and view all the answers

    What is the primary advantage of solid-state disks (SSDs)?

    <p>Faster reading and writing speed</p> Signup and view all the answers

    What is the total raw capacity of 40 PetaBox GB2000 storage nodes in a standard VME rack?

    <p>80 TB</p> Signup and view all the answers

    What is the average seek time of the 7,200 RPM PATA drives?

    <p>8.5 ms</p> Signup and view all the answers

    What is the PATA link speed?

    <p>133 MiB/sec</p> Signup and view all the answers

    How much overhead does the ATA controller add to perform a disk I/O?

    <p>0.1 ms</p> Signup and view all the answers

    How many CPU instructions are used by the operating system for a disk I/O?

    <p>50,000</p> Signup and view all the answers

    What is the average I/O size when collecting a new snapshot?

    <p>50 KiB</p> Signup and view all the answers

    What is the total power dissipation of the 40 PetaBox GB2000 storage nodes in a standard VME rack?

    <p>3 kW</p> Signup and view all the answers

    What is the cost of the 48-port 10/100/1000 Ethernet switch and all cables for a rack?

    <p>$3,000</p> Signup and view all the answers

    What is the primary purpose of magnetic disks in a computer system?

    <p>To serve as a non-volatile storage</p> Signup and view all the answers

    What is the typical range of sectors per track in a magnetic disk?

    <p>100 to 500</p> Signup and view all the answers

    What is the relation between the read-write head and the platter in a magnetic disk?

    <p>The read-write head is used to access information on the platter</p> Signup and view all the answers

    Why are magnetic disks usually considered slow compared to other storage devices?

    <p>Because they are based on a rotating disk</p> Signup and view all the answers

    What is the typical range of tracks per disk surface in a magnetic disk?

    <p>5k to 30k</p> Signup and view all the answers

    What is the advantage of using magnetic disks in the lowest level of the memory hierarchy system?

    <p>They are relatively cheap</p> Signup and view all the answers

    How does the arm assembly move in a magnetic disk to access a given cylinder?

    <p>It moves to select a given cylinder</p> Signup and view all the answers

    What is the main difference between magnetic disks and flash memory in terms of storage?

    <p>Magnetic disks are slower, while flash memory is faster</p> Signup and view all the answers

    What is the primary advantage of RAID 6 over RAID 4?

    <p>It provides an additional level of redundancy</p> Signup and view all the answers

    How does RAID 6 recover data when two disks fail?

    <p>Using the row parity and then the diagonal parity sequentially</p> Signup and view all the answers

    What is the purpose of the diagonal parity disk in RAID 6?

    <p>To store the parity of the blocks in the same diagonal</p> Signup and view all the answers

    How many disks are required to implement RAID 6 with p data disks?

    <p>p + 1</p> Signup and view all the answers

    What is the primary advantage of flash memory over traditional EEPROM?

    <p>All of the above</p> Signup and view all the answers

    How long does a 256-Byte transfer of flash memory take?

    <p>6.5 µs</p> Signup and view all the answers

    Why is flash memory faster than traditional disks?

    <p>It has faster read access times</p> Signup and view all the answers

    What is the primary limitation of flash memory?

    <p>It has limited write cycles</p> Signup and view all the answers

    What is the primary difference between RAID 5 and RAID 6?

    <p>RAID 5 is able to recover from one failure, while RAID 6 is able to recover from double failures.</p> Signup and view all the answers

    What is the purpose of the parity information in RAID 5?

    <p>To enable recovery from a single failure.</p> Signup and view all the answers

    How is the parity calculated in RAID 5?

    <p>Using the XOR function.</p> Signup and view all the answers

    What is the advantage of using RAID 5?

    <p>It enables recovery from a single failure.</p> Signup and view all the answers

    What is the purpose of RAID 6?

    <p>To enable recovery from double failures.</p> Signup and view all the answers

    How does RAID 6 differ from RAID 5?

    <p>RAID 6 considers another parity block, while RAID 5 does not.</p> Signup and view all the answers

    What is the purpose of the row-diagonal parity in RAID 6?

    <p>To enable recovery from double failures.</p> Signup and view all the answers

    What is the difference between the parity calculation in RAID 5 and the row-diagonal parity in RAID 6?

    <p>The parity calculation in RAID 5 is used for single failures, while the row-diagonal parity in RAID 6 is used for double failures.</p> Signup and view all the answers

    What is the primary advantage of RAID 5 over other RAID levels?

    <p>It offers better performance through stripping</p> Signup and view all the answers

    What is the main difference between RAID 3 and RAID 4?

    <p>RAID 3 uses bit-interleaved parity while RAID 4 uses block-interleaved parity</p> Signup and view all the answers

    What is the purpose of parity calculation in RAID systems?

    <p>To allow for single disk failure recovery</p> Signup and view all the answers

    What is the main disadvantage of using RAID 0?

    <p>It does not offer redundancy</p> Signup and view all the answers

    What is the primary advantage of mirroring in RAID systems?

    <p>It increases information availability</p> Signup and view all the answers

    What is the main difference between RAID 1 and RAID 2?

    <p>RAID 1 uses mirroring while RAID 2 uses ECC</p> Signup and view all the answers

    What is the main advantage of using flash memory over magnetic disks?

    <p>It has lower latency</p> Signup and view all the answers

    What is the primary purpose of redundancy in RAID systems?

    <p>To allow for single disk failure recovery</p> Signup and view all the answers

    Study Notes

    Flash Memory

    • NOR flash memories are a direct competitor of traditional EEPROM, randomly addressable, and typically used in BIOS.
    • NAND flash memories offer higher storage density, but can only be read in blocks, making them cheaper per gigabyte and more common than NOR flash.
    • NAND flash has a wear-out limitation of around 100,000 to 1 million recordings, but this can be expanded through uniform distribution of writes across blocks.

    Solid-State Disks (SSDs)

    • SSDs have replaced floppy disks and hard drives in mobile systems.
    • They have become a popular choice due to their high I/O performance and low cost.

    Clusters (I/O Servers) Evaluation

    • The evaluation is based on a VME T-80 rack, used in the Internet Archive project.
    • The storage node PetaBox GB2000 has 4× 500 GiB PATA disk drives, 512 MiB DDR266 DRAM, and a 1 GHz C3 processor.
    • The 40× GB2000s fit in a standard VME rack, giving a total of 80 TB of raw capacity.
    • The nodes are connected with a 48-port 10/100/1000 switch, dissipating around 3 kW.

    Cost and Performance Evaluation

    • The cost of the processor, DRAM, ATA disk controller, and power supply is $500.
    • The cost of 7,200 RPM PATA drives is $375 × 4.
    • The cost of the 48-port 10/100/1000 Ethernet switch is $3,000.
    • The average I/O size is 16 KiB for accesses to the historical record and 50 KiB for collecting a new snapshot.
    • The performance evaluation is based on the cost per I/O per second (IOPS) of the 80 TB rack.

    Storage and I/O Systems

    • Non-volatile memory is part of the memory hierarchy system or I/O system, connected to the I/O buses.
    • Main choices for storing data are magnetic disks and flash memory.
    • Magnetic disks serve as non-volatile storage, are big, cheap, and slow, and reside in the lowest level of the memory hierarchy system.
    • Disks have a rotating disk covered with a magnetic surface, using a read-write head per surface to access information.

    RAID 6

    • RAID 6 is a scheme that allows for recovery of a block even if two disks fail
    • It uses p - 1 diagonals to protect p disks
    • Each block of the diagonal parity disk contains the parity of the blocks in the same diagonal
    • Recovery procedure involves using the row-diagonal approach to recover one of the four blocks within a failed disk, and then using the diagonal parity to recover another block

    How RAID 6 Works

    • If data disks number 1 and 3 fail, standard RAID recovery using the first row (row parity) does not help
    • The recovery procedure starts by recovering one of the four blocks within the failed disk (disk 1), using the diagonal parity
    • Then, the diagonal 2 is used to recover a block from disk 1, since it does not involve disk 3
    • The loop continues until all blocks are finally recovered

    Flash Memory

    • Flash memory technology is similar to traditional EEPROM, but with higher memory capacity per chip and low-power consumption
    • Read access time is slower than DRAM, but much faster than disks
    • A 256-Byte transfer of flash would take around 6.5 µs, and 1,000 times more on disks

    RAID Levels

    RAID 5

    • This level has distributed block-interleaved parity
    • It is able to recover from one failure
    • Illustrated in Fig. 9.4

    RAID 6

    • This level is a RAID 5 extension, considering another parity block
    • It is able to recover from double failures
    • Illustrated in Fig. 9.5

    RAID Details

    • In RAID 6, there is the row-diagonal parity
    • Each diagonal does not cover one disk, i.e., one is left out
    • Disks should not fail, but all hardware fails at some point in time

    Reliability vs. Availability

    • In RAID, reliability becomes a problem considering the system will have less reliability, i.e., more disks then bring a greater fail probability
    • Conversely, availability is increased, i.e., failures do not necessarily lead to unavailability
    • Latency is not necessarily reduced, availability is enhanced through the addition of redundant disks, and lost information can be rebuilt through redundant data

    Standard Levels Summary

    • Table 9.1 presents a summary about the RAID levels
    • Fig. 9.4 illustrates the RAID 3, RAID 4, and RAID 5 systems

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    csc25-lecture-notes-163-177.pdf

    Description

    Learn about the differences between NOR and NAND flash memories, including their history, advantages, and writing processes. Understand how they compare to traditional EEPROM and their uses in computer systems.

    More Like This

    Understanding Secondary Memory
    5 questions
    Types of Computer Memory
    12 questions

    Types of Computer Memory

    AffectionateTourmaline avatar
    AffectionateTourmaline
    Tehnologia SSD și NAND Flash
    9 questions
    Use Quizgecko on...
    Browser
    Browser