SSD: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
(Add categories: Network, Hardware, Reference)
(Phase 6.1: LLM-Optimized Wiki Template 적용 (SSD))
Line 1: Line 1:
= SSD =


{{Status
|status=Draft
|owner=Knowledge Agent
|last_update=2026-07-15
|review=Pending
}}


Solid-state drives (SSDs) come with a variety of connectors, connection protocols, underlying technologies and form factors. The primary types of SSDs are the 2.5”, M.2 (SATA & NVMe), NVMe [[PCIe]] and the U.2 (formerly SFF-8639) or U.3 SSD, each offering distinct advantages and disadvantages.
{{TOC}}


[[File:Sata sas nvme u.2.png|center|thumb|535x535px]]
== Overview ==
{| class="wikitable sortable"
|+
!Type
!Connector
!Protocol
!Technology
!Form Factor
!ETC.
!Connector
!Bandwidth
|-
|M.2 SATA SSD
|M.2
|SATA
|SATA
|M.2
| rowspan="2" | - 22 or 30mm wide
- 2280, 1630, 3030
|
|0.6GB/s
|-
|M.2 NVMe SSD
|M.2
|PCIe
|NVMe
|M.2
|
|8GB/s
|-
|2.5" SATA SSD
|SATA
|SATA
|SATA
|2.5"
|
|
|0.6GB/s
|-
|2.5" U.2 SSD
|U.2 (SFF-8639)
|PCIe/SAS/SATA
|NVMe
|2.5"
|
|sff-8639
|8GB/s
|-
|PCIe Add-in-Card(AIC) SSD
|PCIe
|PCIe
|NVMe
|PCIe AIC
(Add in Card)
|
|
|8GB/s
|}


SSD(Solid-State Drive)는 플래시 메모리를 기반으로 한 저장 장치로, 기존 HDD(Hard Disk Drive) 대비 빠른 읽기/쓰기 속도, 낮은 지연 시간, 내구성, 저전력을 제공합니다.


{{Tri-mode}}
=== Summary ===


* 무엇인가? — NAND 플래시 메모리를 기반한 저장 장치
* 왜 필요한가? — 빠른 데이터 접근, 낮은 지연 시간, 높은 [[IOPS]]
* 언제 사용하는가? — 데이터센터, 워크스테이션, 서버, 클라우드 스토리지


== NVMe Specification 2.0 Key Features<ref>https://phisonblog.com/key-features-available-with-nvme-2-0-ssd-2/</ref> ==
---
[[File:NVMe roadmap.png|right|frameless|402x402px]]
NVMe 2.0 family of specifications, were released on June 3, 2021.<ref>https://nvmexpress.org/specifications/</ref>


== Purpose ==


'''NVMe 2.0 is a significant improvement over 1.4'''
이 문서가 존재하는 이유


NVMe technology is the leading interface for SSDs, with overall worldwide enterprise SSD capacity expected to grow at a 43% compound annual growth rate into 2024
* Goal: SSD 유형, 연결 프로토콜, 폼 팩터, 수명 관리, EDSFF 등 핵심 정보 제공
* Scope: M.2, SATA, NVMe, U.2, AIC, EDSFF, 수명 측정(DWPD/TBW), 스마트 모니터링
* Non-goals: SSD 컨트롤러 설계, NAND 플래시 물리적 구조는 별도 문서


---


== Key Concepts ==


'''Zoned Namespaces (ZNS)'''
{| class="wikitable"
! Concept
! Description
! Related
|-
| NVMe
| Non-Volatile Memory Express — SSD 전용 프로토콜
| [[SSD]]
|-
| M.2
| 소형 폼 팩터 (2280, 22110 등)
| [[SSD]]
|-
| U.2 (SFF-8639)
| 2.5" 서버용 SSD 커넥터
| [[SSD]]
|-
| EDSFF
| Enterprise and Data Center SSD Form Factor
| [[SSD]]
|-
| DWPD
| Drive Writes Per Day — 수명 지표
| [[SSD]]
|-
| TBW
| Terabytes Written — 누적 쓰기 용량
| [[SSD]]
|-
| smartctl
| SSD 건강 상태 모니터링 도구
| [[SSD]]
|-
| ZNS
| Zoned Namespaces — NVMe 2.0 기능
| [[SSD]]
|}


This feature provides the interface that allows NVMe SSD and host to collaborate on data placement. It can align the data to the physical media of the SSD, improving overall performance and increasing the capacity that can be exposed to the host. More than that, write amplification is significantly improved with ZNS. In other words, the use of ZNS can extend the lifespan of NVMe SSDs.
---


== Architecture ==


SSD는 폼 팩터와 프로토콜 조합으로 구성됩니다:


'''NVMe-KV'''
<syntaxhighlight lang="mermaid">
graph TD
    A[SSD] --> B[M.2 SATA]
    A --> C[M.2 NVMe]
    A --> D[2.5" SATA]
    A --> E[2.5" U.2]
    A --> F[PCIe AIC]
    A --> G[EDSFF E3.S]
    A --> H[EDSFF E3.L]
    B --> I[SATA Protocol]
    C --> J[PCIe + NVMe]
    D --> I
    E --> K[PCIe/SAS/SATA]
    F --> J
    G --> J
    H --> J
</syntaxhighlight>


It allows access to the data on an NVMe SSD namespace using a key rather than a logical block address.  the KV SSD allows users to access key-value data without the costly and time-consuming overhead of additional translation tables between keys and logical blocks [4].
---


NVMe Endurance Group Management
== Workflow ==


with this feature the NVM subsystem can have more flexibility to isolate the I/O performance effects and wear-leveling operation of different users on shared drives or arrays.
{| class="wikitable"
! Stage
! Input
! Output
|-
| Selection
| [[Workload]] requirements
| SSD type/form factor
|-
| Installation
| SSD + [[Motherboard]]/Backplane
| System boot
|-
| Monitoring
| smartctl / NVMe CLI
| Health status
|-
| Replacement
| Worn out SSD
| New SSD installation
|}


== SSD Wear Out ==
---
Solid-state drives today are almost universally comprised of NAND flash, which wears out with use. Each flash memory cell can only be written so many times before it becomes unreliable. Generally, reads do not wear out NAND flash.


=== Measuring wear ===
== Detailed Explanation ==
'''In [[Linux]], we can check SSD or NVMe wear''' reliability counter as using [[smartctl]].<syntaxhighlight lang="bash">
To check the health of a SSD
For Ubuntu, Mint, or Debian based distributions
# apt-get install smartmontools


The Media_Wearout_Indicator is what you are looking for. For 100 means your ssd has 100% life,
=== SSD 유형 및 폼 팩터 ===
the lower number means less life left.
# smartctl -a /dev/sda | grep Media_Wearout_Indicator


To show your sdd information
{| class="wikitable"
# smartctl -a /dev/sda
! Type
! Connector
! Protocol
! Technology
! Form Factor
! Bandwidth
|-
| M.2 SATA SSD
| M.2
| SATA
| SATA
| M.2 (2280, 1630, 3030)
| 0.6 GB/s
|-
| M.2 NVMe SSD
| M.2
| PCIe
| NVMe
| M.2
| 8 GB/s
|-
| 2.5" SATA SSD
| SATA
| SATA
| SATA
| 2.5"
| 0.6 GB/s
|-
| 2.5" U.2 SSD
| U.2 (SFF-8639)
| PCIe/SAS/SATA
| NVMe
| 2.5"
| 8 GB/s
|-
| PCIe AIC SSD
| PCIe
| PCIe
| NVMe
| PCIe AIC
| 8 GB/s
|}


For (at least some) NVMe drives, you can do
=== NVMe 2.0 주요 기능 ===
smartctl -a /dev/nvme0


You can then look for a line like:
NVMe 2.0은 2021년 6월 3일 출시되었으며, 1.4 대비significant한 개선입니다.
Percentage Used:                    5%


Again here lower numbers are better and 100% means the drive is "worn out".
* **Zoned Namespaces (ZNS)** — 호스트와 SSD 간 데이터 배치 협업. 물리적 미디어 정렬로 성능 향상 및 용량 증가. Write Amplification 개선으로 수명 연장.
</syntaxhighlight>
* **NVMe-KV** — 키-값 데이터 접근. 논리 블록 주소 대신 키로 데이터 접근. 번역 테이블 오버헤드 제거.
* **NVMe Endurance Group Management** — 공유 드라이브에서 사용자별 I/O 성능 격리 및 웨어 레벨링.


== Quantifying flash endurance ==
=== SSD 수명 (Wear Out) ===
Measuring wear is one thing, but how can we predict the longevity of an SSD?


Flash “endurance” is commonly measured in two ways:
NAND 플래시는 쓰기 횟수 제한이 있습니다. 일반적으로 읽기는 수명에 영향을 주지 않습니다.


* Drive Writes Per Day (DWPD)
==== Linux에서 SSD 건강 상태 확인 ====
* Terabytes Written (TBW)


Both approaches are based on the manufacturer’s [[warranty]] period for the drive, its so-called “lifetime”.
<syntaxhighlight lang="bash">
# smartmontools 설치
$ apt-get install smartmontools


=== '''Drive Writes Per Day (DWPD)''' ===
# SATA SSD 건강 상태 확인
Drive Writes Per Day (DWPD) measures how many times you could overwrite the drive’s entire size each day of its life. For example, suppose your drive is 200 GB and its warranty period is 5 years. If its DWPD is 1, that means you can write 200 GB (its size, one time) into it every single day for the next five years.
$ smartctl -a /dev/sda | grep Media_Wearout_Indicator
# Media_Wearout_Indicator: 100 → 100% 수명 남음


# NVMe SSD 건강 상태 확인
$ smartctl -a /dev/nvme0
# Percentage Used: 5% → 5% 사용 (낮을수록 좋음)
</syntaxhighlight>


If you multiply that out, that’s 200 GB per day × 365 days/year × 5 years = 365 TB of cumulative writes before you may need to replace it.
==== 수명 측정 지표 ====


{| class="wikitable"
! 지표
! 설명
! 예시
|-
| DWPD
| Drive Writes Per Day — 하루에 드라이브 용량을 몇 번 쓸 수 있는지
| 1 DWPD = 하루 1회 전체 쓰기
|-
| TBW
| Terabytes Written — 수명 동안 쓸 수 있는 총 바이트
| 365 TBW = 365 TB 누적 쓰기
|}


If its DWPD was 10 instead of 1, that would mean you can write 10 × 200 GB = 2 TB (its size, ten times) into it every day. Correspondingly, that’s 3,650 TB = 3.65 PB of cumulative writes over 5 years.
**계산 예시:**
* 200GB 드라이브, 5년 보증, 1 DWPD → 200GB × 365 × 5 = 365 TBW
* 200GB 드라이브, 5년 보증, 10 DWPD → 2TB/일 × 365 × 5 = 3,650 TBW (3.65 PBW)


=== '''Terabytes Written (TBW)''' ===
**DWPD vs TBW 차이:**
Terabytes Written (TBW) directly measures how much you can write cumulatively into the drive over its lifetime. Essentially, it just includes the multiplication we did above in the measurement itself.
* DWPD는 드라이브 용량에 의존
* TBW는 절대 값 (용량 독립)
* 변환: DWPD × 용량 × 보증연수 × 365 = TBW


For example, if your drive is rated for 365 TBW, that means you can write 365 TB into it before you may need to replace it.
=== EDSFF (Enterprise and Data Center SSD Form Factor) ===


If its warranty period is 5 years, that works out to 365 TB ÷ (5 years × 365 days/year) = 200 GB of writes per day. If your drive was 200 GB in size, that’s equivalent to 1 DWPD. Correspondingly, if your drive was rated for 3.65 PBW = 3,650 TBW, that works out to 2 TB of writes per day, or 10 DWPD.  
데이터센터용 SSD 폼 팩터 표준입니다.


As you can see, if you know the drive’s size and warranty period, you can always get from DWPD to TBW or vice-versa with some simple multiplications or divisions. The two measurements are really very similar.
=== '''What’s the difference?''' ===
The only real difference is that DWPD depends on the drive’s size whereas TBW does not.
== EDSFF ==
'''EDSFF stands for Enterprise and Data Center Standard Form Factor''' previously known as the '''Enterprise and Data Center SSD Form Factor''' is a family of SSD form factors for use in data centers<ref>https://en.wikipedia.org/wiki/Enterprise_and_Data_Center_Standard_Form_Factor</ref>
Samsung's PM983 - NGSFF (also known as M.3 or NF1) form factor competes with EDSFF<ref>https://www.anandtech.com/show/13609/pcisig-warns-of-incompatibilities-between-m2-and-samsungs-ngsff</ref>.
{| class="wikitable"
{| class="wikitable"
|+EDSFF Device Form Facto<ref>https://www.snia.org/sites/default/files/SSSI/OCP%20EDSFF%20JM%20Hands.pdf</ref>
! Variation
!Variation
! Height
!Height
! Length
!Length
! Thickness
!Thickness
|-
|-
|E3.S
| E3.S
|76mm
| 76mm
|112.75mm
| 112.75mm
|7.5mm
| 7.5mm
|-
|-
|E3.S 2T
| E3.S 2T
|76mm
| 76mm
|112.75mm
| 112.75mm
|16.8mm
| 16.8mm
|-
|-
|E3.L
| E3.L
|76mm
| 76mm
|142.2mm
| 142.2mm
|7.5mm
| 7.5mm
|-
|-
|E3.L 2T
| E3.L 2T
|76mm
| 76mm
|142.2mm
| 142.2mm
|16.8mm
| 16.8mm
|}
|}


== Samsung PM9A3 vs. Samsung PM983 ==
Samsung PM983은 NGSFF(M.3/NF1) 폼 팩터로 EDSFF와 경쟁.
[[File:Samsung PM9A3 specificatio.png|thumb|Samsung PM9A3 specificatio]]
PM9A3 offers better NAND and a new controller (V6 TLC and Elpis 8-channel, respectively) compared to the PM983’s V5 TLC NAND and Phoenix 8-channel controller<ref>https://www.compuram.biz/documents/datasheet/Samsung_PM9A3-m2.pdf</ref>


Samsung’s PM9A3 (PCIe Gen4) and PM983 (PCIe Gen3) enterprise SSD and [https://www.serverstor.com/samsung-pm9a3-vs-pm983-a-detailed-comparison/ this article] shows the Performance Comparison.
=== Samsung PM9A3 vs PM983 비교 ===


Phison blog shows Enterprise SSD Form Factors at [https://phisonblog.com/nand-flash-101-enterprise-ssd-form-factors-simplified-2/ this page]
{| class="wikitable"
{| class="wikitable"
!Metric
! Metric
!PM9A3 (PCIe Gen4)
! PM9A3 (PCIe Gen4)
!PM983 (PCIe Gen3)
! PM983 (PCIe Gen3)
!Performance Gain
! Performance Gain
|-
|-
|'''Sequential Read (4KB QD32)'''
| Sequential Read (4KB QD32)
|6,500 MB/s
| 6,500 MB/s
|3,500 MB/s
| 3,500 MB/s
|86%
| 86%
|-
|-
|'''Random Read [[IOPS]] (4KB QD1)'''
| Random Read IOPS (4KB QD1)
|70,000 IOPS
| 70,000 IOPS
|45,000 IOPS
| 45,000 IOPS
|56%
| 56%
|-
|-
|'''Random Write IOPS (4KB QD32)'''
| Random Write IOPS (4KB QD32)
|180,000 IOPS
| 180,000 IOPS
|85,000 IOPS
| 85,000 IOPS
|112%
| 112%
|-
|-
|'''Latency (Read/Write)'''
| Latency (Read/Write)
|85μs / 12μs
| 85μs / 12μs
|110μs / 22μs
| 110μs / 22μs
|23% / 45% faster
| 23% / 45% faster
|-
|-
|'''NAND Technology'''
| NAND Technology
|6th-gen V-NAND (128-layer 3D TLC)
| 6th-gen V-NAND (128-layer 3D TLC)
|5th-gen V-NAND (96-layer 3D TLC)
| 5th-gen V-NAND (96-layer 3D TLC)
|
|
|-
|-
|'''Interface'''
| Interface
|PCIe Gen4 x4
| PCIe Gen4 x4
|PCIe Gen3 x4
| PCIe Gen3 x4
|
|
|-
|-
|'''Controller'''
| Controller
|Samsung Elpis (8-channel)
| Samsung Elpis (8-channel)
|Samsung Phoenix (8-channel)
| Samsung Phoenix (8-channel)
|
|
|-
|-
|'''Form Factors'''
| Form Factors
|U.2, M.2, E1.S
| U.2, M.2, E1.S
|U.2, M.2
| U.2, M.2
|
|
|-
|-
|'''Capacity Range'''
| Capacity Range
|960GB – 7.68TB
| 960GB – 7.68TB
|960GB – 3.84TB
| 960GB – 3.84TB
|
|
|}
|}


== PCIe 4.0 SSD ==
=== PCIe 4.0 SSD (Solidigm D7-P5520/P5620) ===
'''as of SAN JOSE, Calif., April 26, 2022, Solidigm introduced new series of SSD - D7-P5520 and the D7-P5620 - for high performance with zero tolerance for data errors. D7-P5520 (designed for read-intensive and light mixed workloads) and the D7-P5620 (designed for mixed workloads)'''<ref>https://news.solidigm.com/en-WW/213598-solidigm-introduces-the-industry-s-most-advanced-pcie-4-0-ssd-family-optimized-for-cloud-and-enterprise-workloads</ref>.
 
2022년 4월 26일 Solidigm 출시:
* **D7-P5520** — 읽기 집중형 및 경량 혼합 워크로드
* **D7-P5620** — 혼합 워크로드
* 데이터 오류에 대한 제로 허용도
 
---
 
== Configuration ==
 
<syntaxhighlight lang="bash">
# SSD 정보 확인
$ smartctl -a /dev/sda
$ smartctl -a /dev/nvme0
 
# NVMe 정보 확인
$ nvme list
$ nvme smart-log /dev/nvme0
 
# SSD 성능 테스트
$ dd if=/dev/zero of=/tmp/test bs=1M count=1024 conv=fdatasync
$ fio --name=test --filename=/tmp/fio.test --size=1G --bs=4k --iodepth=64 --ioengine=libaio --direct=1 --rw=randread
</syntaxhighlight>
 
---
 
== Examples ==
 
=== Example 1: SSD 건강 상태 확인 ===
 
<syntaxhighlight lang="bash">
# SATA SSD
$ smartctl -a /dev/sda | grep -E "Media_Wearout|Percentage|Temperature"
 
# NVMe SSD
$ smartctl -a /dev/nvme0 | grep -E "Percentage Used|Temperature|Data_Reads|Data_Writes"
 
# 전체 NVMe 디바이스 목록
$ nvme list
</syntaxhighlight>


Hothardware's performance [[benchmark]] shows competitive performance against competitors<ref>https://hothardware.com/reviews/solidigm-ssd-d7-p5520-data-center-nvme-review?page=2</ref> in the market.
=== Example 2: SSD 성능 테스트 ===


== Reference ==
<syntaxhighlight lang="bash">
<references />
# 간단한 쓰기 테스트
[[Category:Network]]
$ dd if=/dev/zero of=/tmp/test bs=1M count=1024 conv=fdatasync
 
# fio를 사용한 상세 벤치마크
$ fio --name=rand-read --filename=/tmp/fio.test --size=1G --bs=4k --iodepth=64 --ioengine=libaio --direct=1 --rw=randread --numjobs=4
</syntaxhighlight>
 
---
 
== Best Practices ==
 
* NVMe SSD 사용 (SATA 대신) — 높은 대역폭 및 낮은 지연 시간
* TRIM 지원 확인 — 성능 유지 및 수명 연장
* 정기적인 smartctl 모니터링 — 수명 예측
* EDSFF 폼 팩터 고려 — 데이터센터 확장성
* DWPD/TBW 비교 — 워크로드에 맞는 SSD 선택
* NVMe 2.0 ZNS 활용 — 쓰기 증폭 감소 및 수명 연장
* SSD 교체 시기 예측 — Percentage Used 80% 이상 시 교체 고려
 
---
 
== Limitations ==
 
* NAND 플래시 쓰기 횟수 제한 (수명 존재)
* SSD 성능은 온도 영향을 받음 (과열 시 스로틀링)
* EDSFF 마더보드/백플레인 필요 (구형 시스템 호환 안됨)
* NVMe SSD는 SATA 호환 안됨 (프로토콜 다름)
* 데이터 복구 어려움 (HDD 대비)
 
---
 
== References ==
 
* https://phisonblog.com/key-features-available-with-nvme-2-0-ssd-2/
* https://nvmexpress.org/specifications/
* https://en.wikipedia.org/wiki/Enterprise_and_Data_Center_Standard_Form_Factor
* https://www.compuram.biz/documents/datasheet/Samsung_PM9A3-m2.pdf
 
---
 
== Related Pages ==
 
* [[NVMe]]
* [[PCIe]]
* [[Linux]]
* [[smartctl]]
* [[Storage]]
 
---


[[Category:Hardware]]
[[Category:Hardware]]
[[Category:Reference]]
[[Category:Reference]]

Revision as of 11:54, 15 July 2026

SSD

Template:Status

Template:TOC

Overview

SSD(Solid-State Drive)는 플래시 메모리를 기반으로 한 저장 장치로, 기존 HDD(Hard Disk Drive) 대비 빠른 읽기/쓰기 속도, 낮은 지연 시간, 내구성, 저전력을 제공합니다.

Summary

  • 무엇인가? — NAND 플래시 메모리를 기반한 저장 장치
  • 왜 필요한가? — 빠른 데이터 접근, 낮은 지연 시간, 높은 IOPS
  • 언제 사용하는가? — 데이터센터, 워크스테이션, 서버, 클라우드 스토리지

---

Purpose

이 문서가 존재하는 이유

  • Goal: SSD 유형, 연결 프로토콜, 폼 팩터, 수명 관리, EDSFF 등 핵심 정보 제공
  • Scope: M.2, SATA, NVMe, U.2, AIC, EDSFF, 수명 측정(DWPD/TBW), 스마트 모니터링
  • Non-goals: SSD 컨트롤러 설계, NAND 플래시 물리적 구조는 별도 문서

---

Key Concepts

Concept Description Related
NVMe Non-Volatile Memory Express — SSD 전용 프로토콜 SSD
M.2 소형 폼 팩터 (2280, 22110 등) SSD
U.2 (SFF-8639) 2.5" 서버용 SSD 커넥터 SSD
EDSFF Enterprise and Data Center SSD Form Factor SSD
DWPD Drive Writes Per Day — 수명 지표 SSD
TBW Terabytes Written — 누적 쓰기 용량 SSD
smartctl SSD 건강 상태 모니터링 도구 SSD
ZNS Zoned Namespaces — NVMe 2.0 기능 SSD

---

Architecture

SSD는 폼 팩터와 프로토콜 조합으로 구성됩니다:

graph TD
    A[SSD] --> B[M.2 SATA]
    A --> C[M.2 NVMe]
    A --> D[2.5" SATA]
    A --> E[2.5" U.2]
    A --> F[PCIe AIC]
    A --> G[EDSFF E3.S]
    A --> H[EDSFF E3.L]
    B --> I[SATA Protocol]
    C --> J[PCIe + NVMe]
    D --> I
    E --> K[PCIe/SAS/SATA]
    F --> J
    G --> J
    H --> J

---

Workflow

Stage Input Output
Selection Workload requirements SSD type/form factor
Installation SSD + Motherboard/Backplane System boot
Monitoring smartctl / NVMe CLI Health status
Replacement Worn out SSD New SSD installation

---

Detailed Explanation

SSD 유형 및 폼 팩터

Type Connector Protocol Technology Form Factor Bandwidth
M.2 SATA SSD M.2 SATA SATA M.2 (2280, 1630, 3030) 0.6 GB/s
M.2 NVMe SSD M.2 PCIe NVMe M.2 8 GB/s
2.5" SATA SSD SATA SATA SATA 2.5" 0.6 GB/s
2.5" U.2 SSD U.2 (SFF-8639) PCIe/SAS/SATA NVMe 2.5" 8 GB/s
PCIe AIC SSD PCIe PCIe NVMe PCIe AIC 8 GB/s

NVMe 2.0 주요 기능

NVMe 2.0은 2021년 6월 3일 출시되었으며, 1.4 대비significant한 개선입니다.

  • **Zoned Namespaces (ZNS)** — 호스트와 SSD 간 데이터 배치 협업. 물리적 미디어 정렬로 성능 향상 및 용량 증가. Write Amplification 개선으로 수명 연장.
  • **NVMe-KV** — 키-값 데이터 접근. 논리 블록 주소 대신 키로 데이터 접근. 번역 테이블 오버헤드 제거.
  • **NVMe Endurance Group Management** — 공유 드라이브에서 사용자별 I/O 성능 격리 및 웨어 레벨링.

SSD 수명 (Wear Out)

NAND 플래시는 쓰기 횟수 제한이 있습니다. 일반적으로 읽기는 수명에 영향을 주지 않습니다.

Linux에서 SSD 건강 상태 확인

# smartmontools 설치
$ apt-get install smartmontools

# SATA SSD 건강 상태 확인
$ smartctl -a /dev/sda | grep Media_Wearout_Indicator
# Media_Wearout_Indicator: 100 → 100% 수명 남음

# NVMe SSD 건강 상태 확인
$ smartctl -a /dev/nvme0
# Percentage Used: 5% → 5% 사용 (낮을수록 좋음)

수명 측정 지표

지표 설명 예시
DWPD Drive Writes Per Day — 하루에 드라이브 용량을 몇 번 쓸 수 있는지 1 DWPD = 하루 1회 전체 쓰기
TBW Terabytes Written — 수명 동안 쓸 수 있는 총 바이트 365 TBW = 365 TB 누적 쓰기
    • 계산 예시:**
  • 200GB 드라이브, 5년 보증, 1 DWPD → 200GB × 365 × 5 = 365 TBW
  • 200GB 드라이브, 5년 보증, 10 DWPD → 2TB/일 × 365 × 5 = 3,650 TBW (3.65 PBW)
    • DWPD vs TBW 차이:**
  • DWPD는 드라이브 용량에 의존
  • TBW는 절대 값 (용량 독립)
  • 변환: DWPD × 용량 × 보증연수 × 365 = TBW

EDSFF (Enterprise and Data Center SSD Form Factor)

데이터센터용 SSD 폼 팩터 표준입니다.

Variation Height Length Thickness
E3.S 76mm 112.75mm 7.5mm
E3.S 2T 76mm 112.75mm 16.8mm
E3.L 76mm 142.2mm 7.5mm
E3.L 2T 76mm 142.2mm 16.8mm

※ Samsung PM983은 NGSFF(M.3/NF1) 폼 팩터로 EDSFF와 경쟁.

Samsung PM9A3 vs PM983 비교

Metric PM9A3 (PCIe Gen4) PM983 (PCIe Gen3) Performance Gain
Sequential Read (4KB QD32) 6,500 MB/s 3,500 MB/s 86%
Random Read IOPS (4KB QD1) 70,000 IOPS 45,000 IOPS 56%
Random Write IOPS (4KB QD32) 180,000 IOPS 85,000 IOPS 112%
Latency (Read/Write) 85μs / 12μs 110μs / 22μs 23% / 45% faster
NAND Technology 6th-gen V-NAND (128-layer 3D TLC) 5th-gen V-NAND (96-layer 3D TLC)
Interface PCIe Gen4 x4 PCIe Gen3 x4
Controller Samsung Elpis (8-channel) Samsung Phoenix (8-channel)
Form Factors U.2, M.2, E1.S U.2, M.2
Capacity Range 960GB – 7.68TB 960GB – 3.84TB

PCIe 4.0 SSD (Solidigm D7-P5520/P5620)

2022년 4월 26일 Solidigm 출시:

  • **D7-P5520** — 읽기 집중형 및 경량 혼합 워크로드
  • **D7-P5620** — 혼합 워크로드
  • 데이터 오류에 대한 제로 허용도

---

Configuration

# SSD 정보 확인
$ smartctl -a /dev/sda
$ smartctl -a /dev/nvme0

# NVMe 정보 확인
$ nvme list
$ nvme smart-log /dev/nvme0

# SSD 성능 테스트
$ dd if=/dev/zero of=/tmp/test bs=1M count=1024 conv=fdatasync
$ fio --name=test --filename=/tmp/fio.test --size=1G --bs=4k --iodepth=64 --ioengine=libaio --direct=1 --rw=randread

---

Examples

Example 1: SSD 건강 상태 확인

# SATA SSD
$ smartctl -a /dev/sda | grep -E "Media_Wearout|Percentage|Temperature"

# NVMe SSD
$ smartctl -a /dev/nvme0 | grep -E "Percentage Used|Temperature|Data_Reads|Data_Writes"

# 전체 NVMe 디바이스 목록
$ nvme list

Example 2: SSD 성능 테스트

# 간단한 쓰기 테스트
$ dd if=/dev/zero of=/tmp/test bs=1M count=1024 conv=fdatasync

# fio를 사용한 상세 벤치마크
$ fio --name=rand-read --filename=/tmp/fio.test --size=1G --bs=4k --iodepth=64 --ioengine=libaio --direct=1 --rw=randread --numjobs=4

---

Best Practices

  • NVMe SSD 사용 (SATA 대신) — 높은 대역폭 및 낮은 지연 시간
  • TRIM 지원 확인 — 성능 유지 및 수명 연장
  • 정기적인 smartctl 모니터링 — 수명 예측
  • EDSFF 폼 팩터 고려 — 데이터센터 확장성
  • DWPD/TBW 비교 — 워크로드에 맞는 SSD 선택
  • NVMe 2.0 ZNS 활용 — 쓰기 증폭 감소 및 수명 연장
  • SSD 교체 시기 예측 — Percentage Used 80% 이상 시 교체 고려

---

Limitations

  • NAND 플래시 쓰기 횟수 제한 (수명 존재)
  • SSD 성능은 온도 영향을 받음 (과열 시 스로틀링)
  • EDSFF 마더보드/백플레인 필요 (구형 시스템 호환 안됨)
  • NVMe SSD는 SATA 호환 안됨 (프로토콜 다름)
  • 데이터 복구 어려움 (HDD 대비)

---

References

---

Related Pages

---