Friday, August 17, 2018

Word of the Day: wear leveling

Word of the Day WhatIs.com
Daily updates on the latest technology terms | August 17, 2018
wear leveling

Wear leveling is a process that is designed to extend the life of solid-state storage devices.

Solid-state storage is made up of microchips that store data in blocks. Each block can tolerate a finite number of program/erase cycles before becoming unreliable. For example, single-level cell (SLC) NAND flash is typically rated at between 50,000 and 100,000 program/erase cycles. Wear leveling arranges data so that write/erase cycles are distributed evenly among all of the blocks in the device.

Wear leveling is typically managed by the flash controller, which uses a wear leveling algorithm to determine which physical block to use each time data is programmed.

Wear leveling is perhaps even more important in multi-level cell (MLC) NAND flash devices. Where SLC allows a single bit to be written into a memory block, two can be written into MLC blocks at once. This helps bring the cost of solid-state drives (SSDs) down, but increases the wear. To help ease that wear increase, enterprise SSDs use enterprise MLC, or eMLC, which slows the write speed, reducing wear rates.

Dynamic vs. static wear leveling

There are two types of SSD wear leveling: dynamic and static. Dynamic wear leveling pools erased blocks and selects the block with the lowest erase count for the next write. The downside of dynamic wear leveling is that if a block holds data that is not accessed, it is never moved to a different block. This limits the number of blocks undergoing wear leveling in an SSD.

Static wear leveling operates like dynamic wear leveling, but it also ensures that blocks of static data are moved when their block erase count falls below a certain threshold. This additional step of moving data can slow write performance due to overhead on the flash controller, but static wear leveling is considerably more effective than dynamic wear leveling for extending the life span of solid-state devices.

Wear leveling vs. TRIM

The TRIM command set in a computer operating system (OS) instructs a NAND flash device when a memory block is no longer in use and can be erased. The term TRIM applies to serial ATA (SATA) SSDs. In SAS-based SSDs, a similar command set is called UNMAP.

Wear leveling, on the other hand, is managed by the flash controller, not the OS. Unlike TRIM, wear leveling only functions when data is being written to the SSD, calling on the flash controller to identify the set of blocks with the lowest P/E cycle counts so data can be written to them. TRIM activity occurs when the OS has been informed that a memory block is no longer holding data.

TRIM is supported by nearly all computer and server OSes, and it has been supported by the Android mobile OS since 2013.

Wear leveling vs. garbage collection

Garbage collection is another method of improving the functional life and write performance of an SSD.

Memory cells in an SSD are made up of blocks, and each instance of data is written into each block in a set number of pages. Individual pages can be updated with a new write, but data in a NAND flash cell has to be erased an entire block at a time. This means small data updates waste erase cycles for the unused pages in a block.

During garbage collection, all of the pages being written to in a block are moved to a new block and the unchanged pages in the previous block are erased. This completely frees up the previous block for use in wear leveling.

Quote of the Day

 

"Wear leveling can increase write amplification and potentially effect solid-state drive performance, depending on how it is implemented." - Robert Sheldon

Learning Center

 

Solid-state drive performance metrics go beyond latency, IOPS
Vendors base solid-state drive performance specs on IOPS and latency figures, but write amplification, SSD architecture and the storage controller are factors.

Key factors that affect NAND flash memory endurance
Several factors can shorten NAND flash memory durability, including some measures that vendors take to improve the life of their drives.

How are SSD garbage collection, wear leveling and TRIM different?
SSD garbage collection, wear leveling and TRIM are features used to give the speedy storage hardware a longer lifespan in your VMware shop.

Charge trap technology advantages for 3D NAND flash drives
Charge trap technology is being used more frequently in NAND flash SSDs and provides clear advantages. These cells are less likely to be damaged and leak electrons compared with floating gate cells. However, charge trap technology has its own set of reliability issues.

The ultimate guide to NAND flash technology
It's important for IT buyers and administrators to understand NAND flash technology. Layers, bits per cell and durability are all concerns.

Quiz Yourself

 

If you don't _______ your data effectively, you risk losing it.

a. backup
b. back up

 

Answer

Stay in Touch

 
For feedback about any of our definitions or to suggest a new definition, please contact me at: mrouse@techtarget.com

Visit the Word of the Day Archives and catch up on what you've missed!

FOLLOW US

TwitterRSS
About This E-Newsletter
This e-newsletter is published by the TechTarget network. To unsubscribe from Whatis.com, click here. Please note, this will not affect any other subscriptions you have signed up for.
TechTarget

TechTarget, Whatis, 275 Grove Street, Newton, MA 02466. Contact: webmaster@techtarget.com

Copyright 2018 TechTarget. All rights reserved.

No comments: