e01.org

Write amplification

, thereby increasing writes on the drive and reducing its life. Write amplification (WA) is an undesirable phenomenon associated with flash memory and solid-state drives (SSDs) where the actual amount of information physically written to the storage media is a multiple of the logical amount intended to be written. Because flash memory must be erased before it can be rewritten, with much coarser granularity of the erase operation when compared to the write operation, the process to perform these operations results in moving (or rewriting) user data and metadata more than once. Thus, rewriting some data requires an already-used-portion of flash to be read, updated, and written to a new location, together with initially erasing the new location if it was previously used. Due to the way flash works, much larger portions of flash must be erased and rewritten than actually required by the amount of new data. This multiplying effect increases the number of writes required over the life of...

, thereby increasing writes on the drive and reducing its life. ]] Write amplification (WA) is an undesirable phenomenon associated with flash memory and solid-state drives (SSDs) where the actual amount of information physically written to the storage media is a multiple of the logical amount intended to be written. Because flash memory must be erased before it can be rewritten, with much coarser granularity of the erase operation when compared to the write operation, the process to perform these operations results in moving (or rewriting) user data and metadata more than once. Thus, rewriting some data requires an already-used-portion of flash to be read, updated, and written to a new location, together with initially erasing the new location if it was previously used. Due to the way flash works, much larger portions of flash must be erased and rewritten than actually required by the amount of new data. This multiplying effect increases the number of writes required over the life of the SSD, which shortens the time it can operate reliably. The increased writes also consume bandwidth to the flash memory, which reduces write performance to the SSD. Many factors will affect the WA of an SSD; some can be controlled by the user and some are a direct result of the data written to and usage of the SSD. Intel and SiliconSystems (acquired by Western Digital in 2009) used the term write amplification in their papers and publications in 2008. WA is typically measured by the ratio of writes committed to the flash memory to the writes coming from the host system. Without compression, WA cannot drop below one. Using compression, SandForce has claimed to achieve a write amplification of 0.5, with best-case values as low as 0.14 in the SF-2281 controller. \text{write amplification} = \frac{\text{data written to the flash memory}}{\text{data written by the host}} The two quantities used for calculation can be obtained via SMART statistics (ATA F7/F8; ATA F1/F9). == Garbage collection == Data is written to the flash memory in units called pages (made up of multiple cells). However, the memory can only be erased in larger units called blocks (made up of multiple pages). If the data in some of the pages of the block are no longer needed (also called stale pages), only the pages with good data in that block are read and rewritten into another previously erased empty block. Then the free pages left by not moving the stale data are available for new data. This is a process called garbage collection (GC). All SSDs include some level of garbage collection, but they may differ in when and how fast they perform the process. Garbage collection is a big part of write amplification on the SSD. Reads do not require an erase of the flash memory, so they are not generally associated with write amplification. In the limited chance of a read disturb error, the data in that block is read and rewritten, but this would not have any material impact on the write amplification of the drive. === Background garbage collection === The process of garbage collection involves reading and rewriting data to the flash memory. This means that a new write from the host will first require a read of the whole block, a write of the parts of the block which still include valid data, and then a write of the new data. This can significantly reduce the performance of the system. Many SSD controllers implement background garbage collection (BGC), sometimes called idle garbage collection or idle-time garbage collection (ITGC), where the controller uses idle time to consolidate blocks of flash memory before the host needs to write new data. This enables the performance of the device to remain high. The background garbage collection also carries some other operations, such as buffer flushing (SLC buffer or DRAM buffer) and flash memory refresh. If the controller were to background garbage collect all of the spare blocks before it was absolutely necessary, new data written from the host could be written without having to move any data in advance, letting the performance operate at its peak speed. The trade-off is that some of those blocks of data are actually not needed by the host and will eventually be deleted, but the OS did not tell the controller this information (until TRIM was introduced). The result is that the soon-to-be-deleted data is rewritten to another location in the flash memory, increasing the write amplification. In some of the SSDs from OCZ the background garbage collection clears up only a small number of blocks then stops, thereby limiting the amount of excessive writes. Another solution is to have an efficient garbage collection system which can perform the necessary moves in parallel with the host writes. This solution is more effective in high write environments where the SSD is rarely idle. The SandForce SSD controllers and the systems from Violin Memory have this capability. \text{over-provisioning} = \frac{\text{physical capacity}-\text{user capacity}}{\text{user capacity}} Over-provisioning typically comes from three sources: The computation of the capacity and use of gigabyte (GB) as the unit instead of gibibyte (GiB). Both HDD and SSD vendors use the term GB to represent a decimal GB or 1,000,000,000 (= 10 9 ) bytes. Like most other electronic storage, flash memory is assembled in powers of two, so calculating the physical capacity of an SSD would be based on 1,073,741,824 (= 2 30 ) per binary GB or GiB. The difference between these two values is 7.37% (= (2 30  − 10 9 ) / 10 9  × 100%). Therefore, a 128 GB SSD with 0% additional over-provisioning would provide 128,000,000,000 bytes to the user (out of 137,438,953,472 total). This initial 7.37% is typically not counted in the total over-provisioning number, and the true amount available is usually less as some storage space is needed for the controller to keep track of non-operating system data such as block status flags. The 7.37% figure may extend to 9.95% in the terabyte range, as Manufacturer decision. This is done typically at 0%, 7%, 14% or 28%, based on the difference between the decimal gigabyte of the physical capacity and the decimal gigabyte of the available space to the user. This type of OP is usually called static OP. As an example, a manufacturer might publish a specification for their SSD at 100, 112, 120 or 128 GB based on 128 GB of possible capacity. This difference is 28%, 14%, 7% and 0% respectively and is the basis for the manufacturer claiming they have e.g. 28% of over-provisioning on their drive. This does not count the additional 7.37% of capacity available from the difference between the decimal and binary gigabyte. Known free user space on the drive, gaining endurance and performance at the expense of reporting unused portions, or at the expense of current or future capacity. This free space can be identified by the operating system using the TRIM command. This type of OP is usually called dynamic OP. Alternatively, some SSDs provide a utility that permits the end user to select additional over-provisioning. Furthermore, if any SSD is set up with an overall partitioning layout smaller than 100% of the available space, that unpartitioned space will be automatically used by the SSD as over-provisioning as well. Yet another source of over-provisioning is operating system minimum free space limits; some operating systems maintain a certain minimum free space per drive, particularly on the boot or main drive. If this additional space can be identified by the SSD, perhaps through continuous usage of the TRIM command, then this acts as semi-permanent over-provisioning. Over-provisioning often takes away from user capacity, either temporarily or permanently, but it gives back reduced write amplification, increased endurance, and increased performance. === Sequential writes === When an SSD is writing large amounts of data sequentially, the write amplification is equal to one meaning there is less write amplification. The reason is as the data is written, the entire (flash) block is filled sequentially with data related to the same file. If the OS determines that file is to be replaced or deleted, the entire block can be marked as invalid, and there is no need to read parts of it to garbage collect and rewrite into another block. It will need only to be erased, which is much easier and faster than the read–erase–modify–write process needed for randomly written data going through garbage collection.

References

  1. ^ Case, Loyd (2008-09-08). "Intel X25 80GB Solid-State Drive Review" . Extremetech . Retrieved 2011-07-28 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1311807600.0
  2. ^ "Intel Solid State Drives" . Intel . Retrieved 2010-05-31 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1275260400.0
  3. ^ "Solid State Storage (SSS) - Performance Test Specification (PTS) - Version 2.0.2" (PDF) . Archived from the original (PDF) on 2022-02-18. Wikipedia revision 1378885763, retrieved 2026-11-19 · 1795042800.0
  4. ^ Tran, Manh Dat; Nguyen, Lan Anh; Lee, Hyung Tae; Paek, Jeongyeup; Cho, Sungrae; Son, Yongseok (October 2024). "A Survey on Copy-on-Write File Systems". 2024 15th International Conference on Information and Communication Technology Convergence (ICTC) . pp. 436– 441. Bibcode : 2024ictc.conf..442T . doi : 10.1109/ICTC62082.2024.10826721 . ISBN 979-8-3503-6463-7 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1795042800.0
  5. ^ "TN-29-17: NAND Flash Design and Use Considerations" (PDF) . Micron. 2006. Archived from the original (PDF) on 2011-07-19 . Retrieved 2010-06-02 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1275433200.0
  6. ^ Yang, Xufeng; Cong, Zhengjian; Gao, Congming (2024). "In-place Switch: Reprogramming based SLC Cache Design for Hybrid 3D SSDS". arXiv : 2409.14360 [ cs.AR ]. Wikipedia revision 1378885763, retrieved 2026-11-19 · 1795042800.0
  7. ^ "Enable TRIM for All SSD's [sic] in Mac OS X Lion" . osxdaily.com. 2012-01-03 . Retrieved 2012-08-14 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1344898800.0
  8. ^ "FreeBSD 8.1-RELEASE Release Notes" . FreeBSD.org . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1795042800.0
  9. ^ "Linux 2.6.33 Features" . KernelNewbies.org . 2010-02-04 . Retrieved 2010-07-23 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1279839600.0
  10. ^ Data is written to the flash memory in units called pages, which are made up of multiple cells. However, the flash memory can be erased only in larger units called blocks, which are made up of multiple pages. [ 2 ] Wikipedia revision 1378885763, retrieved 2026-11-19 · 1795042800.0
  11. ^ OBrien, Kevin (2012-02-06). "Intel SSD 520 Enterprise Review" . Storage Review . Retrieved 2012-11-29 . 20% over-provisioning adds substantial performance in all profiles with write activity Wikipedia revision 1378885763, retrieved 2026-11-19 · 1354143600.0
  12. ^ "White Paper: Over-Provisioning an Intel SSD" (PDF) . Intel. 2010. Archived from the original (PDF) on November 25, 2011 . Retrieved 2012-11-29 . Alt URL Wikipedia revision 1378885763, retrieved 2026-11-19 · 1354143600.0
  13. ^ OCZ Technology (2011-09-07). "How to Secure Erase Your OCZ SSD Using a Bootable Linux CD" . Archived from the original on 2012-01-07 . Retrieved 2014-12-13 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1418425200.0
  14. ^ "The Intel SSD 320 Review: 25nm G3 is Finally Here" . anandtech. Archived from the original on April 10, 2011 . Retrieved 2011-06-29 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1309302000.0
  15. ^ "SSD Secure Erase – Ziele eines Secure Erase" [Secure Erase – Goals of the Secure Erase] (in German). Thomas-Krenn.AG. 2017-03-17 . Retrieved 2018-01-08 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1515366000.0
  16. ^ "Intel Introduces Solid-State Drives for Notebook and Desktop Computers" . Intel. 2008-09-08 . Retrieved 2010-05-31 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1275260400.0
  17. ^ "SandForce SSD Processors Transform Mainstream Data Storage" (PDF) . SandForce. 2008-09-08 . Retrieved 2010-05-31 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1275260400.0
  18. ^ Ku, Andrew (6 February 2012). "Intel SSD 520 Review: SandForce's Technology: Very Low Write Amplification" . TomsHardware . Retrieved 10 February 2012 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1795042800.0
  19. ^ Shimpi, Anand Lal (2009-03-18). "The SSD Anthology: Understanding SSDs and New Drives from OCZ" . AnandTech.com. p. 9 . Retrieved 2010-06-20 . [ dead link ] Wikipedia revision 1378885763, retrieved 2026-11-19 · 1276988400.0
  20. ^ Shimpi, Anand Lal (2009-03-18). "The SSD Anthology: Understanding SSDs and New Drives from OCZ" . AnandTech.com. p. 11. Archived from the original on April 28, 2010 . Retrieved 2010-06-20 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1276988400.0
  21. ^ Shimpi, Anand Lal (2010-05-03). "The Impact of Spare Area on SandForce, More Capacity At No Performance Loss?" . AnandTech.com. p. 2. Archived from the original on May 6, 2010 . Retrieved 2010-06-19 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1276902000.0
  22. ^ a b c Shimpi, Anand Lal (2009-12-31). "OCZ's Vertex 2 Pro Preview: The Fastest MLC SSD We've Ever Tested" . AnandTech . Retrieved 2011-06-16 . {{ cite web }} : CS1 maint: deprecated archival service ( link ) Wikipedia revision 1378885763, retrieved 2026-11-19 · 1308178800.0
  23. ^ Bell, Graeme B. (2010). "Solid State Drives: The Beginning of the End for Current Practice in Digital Forensic Recovery?" (PDF) . Journal of Digital Forensics, Security and Law. Archived from the original (PDF) on 2014-07-05 . Retrieved 2012-04-02 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1333321200.0
  24. ^ a b Christiansen, Neal (2009-09-14). "ATA Trim/Delete Notification Support in Windows 7" (PDF) . Storage Developer Conference, 2009. Archived from the original (PDF) on 2010-03-26 . Retrieved 2010-06-20 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1276988400.0
  25. ^ a b c Conley, Kevin (2010-05-27). "Corsair Force Series SSDs: Putting a Damper on Write Amplification" . Corsair Blog . Corsair.com . Retrieved 2010-06-18 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1276815600.0
  26. ^ a b Drossel, Gary (2009-09-14). "Methodologies for Calculating SSD Useable Life" (PDF) . Storage Developer Conference, 2009 . Retrieved 2010-06-20 . [ permanent dead link ] Wikipedia revision 1378885763, retrieved 2026-11-19 · 1276988400.0
  27. ^ "CMRR – Secure Erase" . CMRR. Archived from the original on 2012-07-02 . Retrieved 2010-06-21 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1277074800.0
  28. ^ a b c d Hu, X.-Y. & R. Haas (2010-03-31). "The Fundamental Limit of Flash Random Write Performance: Understanding, Analysis and Performance Modelling" (PDF) . IBM Research, Zurich. Archived from the original (PDF) on 2011-07-13 . Retrieved 2010-06-19 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1276902000.0
  29. ^ a b Agrawal, N., V. Prabhakaran, T. Wobber, J. D. Davis, M. Manasse, R. Panigrahy (June 2008). Design Tradeoffs for SSD Performance . Microsoft . CiteSeerX 10.1.1.141.1709 . {{ cite book }} : Cite uses deprecated parameter |citeseerx= ( help ) CS1 maint: multiple names: authors list ( link ) Wikipedia revision 1378885763, retrieved 2026-11-19 · 1795042800.0
  30. ^ a b c d e f g h i j Hu, X.-Y.; E. Eleftheriou; R. Haas; I. Iliadis; R. Pletka (2009). Write Amplification Analysis in Flash-Based Solid State Drives . IBM . CiteSeerX 10.1.1.154.8668 . {{ cite book }} : Cite uses deprecated parameter |citeseerx= ( help ) Wikipedia revision 1378885763, retrieved 2026-11-19 · 1795042800.0
  31. ^ a b c d Bagley, Jim (2009-07-01). "Managing data migration, Tier 1 to SSD Tier 0: Over-provisioning: a winning strategy or a retreat?" (PDF) . plianttechnology.com . p. 2. Archived from the original (PDF) on 2009-09-02 . Retrieved 2016-06-21 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1466463600.0
  32. ^ a b c Smith, Kent (2009-08-17). "Benchmarking SSDs: The Devil is in the Preconditioning Details" (PDF) . SandForce . Retrieved 2016-11-10 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1478732400.0
  33. ^ a b c d Thatcher, Jonathan (2009-08-18). "NAND Flash Solid State Storage Performance and Capability – an In-depth Look" (PDF) . SNIA. Archived from the original (PDF) on 2012-09-07 . Retrieved 2012-08-28 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1346108400.0
  34. ^ a b Layton, Jeffrey B. (2009-10-27). "Anatomy of SSDs" . Linux Magazine . Archived from the original on October 31, 2009 . Retrieved 2010-06-19 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1276902000.0
  35. ^ Chang, Li-Pin (2007-03-11). On Efficient Wear Leveling for Large Scale Flash Memory Storage Systems . National ChiaoTung University, HsinChu, Taiwan. CiteSeerX 10.1.1.103.4903 . {{ cite book }} : Cite uses deprecated parameter |citeseerx= ( help ) Wikipedia revision 1378885763, retrieved 2026-11-19 · 1795042800.0
  36. ^ a b c Lucchesi, Ray (September 2008). "SSD Flash drives enter the enterprise" (PDF) . Silverton Consulting . Retrieved 2010-06-18 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1276815600.0
  37. ^ a b Malventano, Allyn (2009-02-13). "Long-term performance analysis of Intel Mainstream SSDs" . PC Perspective. Archived from the original on 2010-02-21 . Retrieved 2010-06-20 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1276988400.0
  38. ^ a b c d Mehling, Herman (2009-12-01). "Solid State Drives Take Out the Garbage" . Enterprise Storage Forum . Retrieved 2010-06-18 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1276815600.0
  39. ^ a b c d e f g Mehling, Herman (2010-01-27). "Solid State Drives Get Faster with TRIM" . Enterprise Storage Forum . Retrieved 2010-06-20 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1276988400.0
  40. ^ a b c d e "SSDs – Write Amplification, TRIM and GC" (PDF) . OCZ Technology. Archived from the original (PDF) on 2012-10-31 . Retrieved 2012-11-13 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1352761200.0
  41. ^ a b c Shimpi, Anand Lal (2009-11-17). "The SSD Improv: Intel & Indilinx get TRIM, Kingston Brings Intel Down to $115" . AnandTech.com. Archived from the original on April 3, 2010 . Retrieved 2010-06-20 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1276988400.0
  42. ^ a b c d Smith, Kent (2011-08-01). "Understanding SSD Over-provisioning" (PDF) . FlashMemorySummit.com . p. 14 . Retrieved 2012-12-03 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1354489200.0
  43. ^ Kerekes, Zsolt. "Western Digital Solid State Storage – formerly SiliconSystems" . ACSL . Retrieved 2010-06-19 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1276902000.0
  44. ^ a b Kerekes, Zsolt. "Flash SSD Jargon Explained" . ACSL . Retrieved 2010-05-31 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1275260400.0
  45. ^ "TN-FD-23: Calculating Write Amplification Factor" (PDF) . Micron . 2014. Archived from the original (PDF) on 6 June 2023 . Retrieved 16 May 2023 . Wikipedia revision 1378885763, retrieved 2026-11-19 · 1795042800.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Write amplification". 1791304997. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1378885763

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·