























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
























Fall 2023
10 - 2
Solid-state drives (SSD) are hard disks made of an array of solid-state electronic memory chips. It consists of a control unit, a storage unit (FLASH chip, DRAM chip), and a c ache unit. Unlike mechanical hard disks, the entire SSD structure consists of electronic chips and circuit boards instead of mechanical devices.
10 - 4
The NAND Flash memory stores information in an array of memory cells made from floating-gate transistors. In single-level cell (SLC) devices, each cell stores only one bit of information. Multi-level cell (MLC) devices, including triple-level cell (TLC) devices, can store more than one bit per cell. The bits represent an electrical charge which can only hold one of two values, 0 or 1, on/off. The key differences between the types of NAND are the cost, capacity, and endurance. Endurance is determined by the number of Programme-Erase (P/E) cycles a flash cell can undergo before it starts to wear out. A P/E cycle is the process of erasing and writing a cell and the more P/E cycles that the NAND technology can sustain the better the endurance of the device.
Multi-Level Cell (MLC) § One bit per flash cell § 0 or 1 § Lower capacity and more expensive than MLC flash § Higher throughput than MLC § 10000 – 100000 write cycles Expensive, enterprise drives Single-Level Cell (SLC) § Multiple bits per flash cell § For two-level: 00, 01, 10, 11 § 2, 3, and 4-bit MLC is available § Higher capacity and cheaper than SLC flash § Lower throughput due to the need for error correction § 3000 – 5000 write cycels § Consumes more power Consumer-grade drives 5
10 - 7
Controller : The controller is the brain of the SSD and manages the flow of data between the host system and the NAND flash memory. It also performs wear leveling (distribute writes across all flash cells), error correction , and other functions to ensure the reliability and longevity (endurance) of the SSD. DRAM cache: Some SSDs include a DRAM cache to temporarily store data that is being read or written. This helps to speed up data transfer and improve overall performance. Interface: The interface is the connection between the SSD and the host system. The most common interfaces used in SSDs are SATA, PCIe, and NVMe. Firmware : The firmware is the software that runs on the SSD controller and manages its operation. It includes algorithms for wear leveling, error correction, and other functions that are essential for the performance and reliability of the SSD.
10 - 8
§ Track – circle § Cylinder – same track on all platters § Block – small arc of a track § Sector – pie-shaped part of a platter § Head – reads data off the disk § Head crash § Parked heads § Number of bits on each track is the same! Denser towards the center. § CAV – constant angular velocity § Spins the same speed for every track § Hard drives – 3600 rpm – 7200 rpm § Floppy drives – 360 rpm
track t sector s spindle cylinder c platter arm read-write head arm assembly rotation
Externally, hard drives expose a large number of sectors (blocks)
§ Average seek time: time required to move from one track to another § Latency: time required for disk to rotate to beginning of correct sector § Transfer time: time required to transfer a block of data to the disk controller buffer
§ average time to move from one track to another
§ average time to rotate to the beginning of the sector § Avg. Latency time = ½ * 1/rotational speed
§ 1/(# of sectors * rotational speed)
§ Avg. seek time + avg. latency time + avg. transfer time
§ RAID: use multiple disks to create the illusion of a large, faster and/or more reliable disk § Externally, RAID looks like a single disk
§ Internally, RAID is a complex computer system
§ How do you access specific data blocks? § Disk = logical_block_number % number_of_disks § Offset = logical_block_number / number_of_disks § Example: read block 11 § 11 % 4 = Disk 3 § 11 / 4 = Physical Block 2 (starting from 0)