从原理上讲,我认为是对的。
机械硬盘里有个圆盘(应该是个类似于光盘的东西),有磁道这个概念,内外线速度不一样,因此不同磁道上数据读/写速度不一样(而且磁头换磁道也要时间,文件一碎,换磁道也频繁)。
固态硬盘则像一个个开关组成的(比如关0开1,不是真开关哈,我记得应该是个电子陷阱,错了轻踢),没有磁道这个概念,数据读/写时间很短且基本一致(但是固态会随着占用增加而速度减慢,不过这个还有别的原因),所以不需要碎片整理,
另外,固态的{读+写}是有上限的,所以碎片整理可能有害(不过说实话现在固态的寿命一般来说用不完,但二般就不好说了)。
还有就是,如果长时间不通电固态可能会丢数据(跟固态的基本原理有关,ecc救一下啊)。
我的(还是个QLC):
- <font size="1">sudo smartctl -x /dev/nvme1
- smartctl 7.5 2025-04-30 r5714 [x86_64-linux-6.16.1-cachyos] (local build)
- Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org
- === START OF INFORMATION SECTION ===
- Model Number: Fanxiang S690MQ 4TB
- Serial Number: FXS690MQ234932424
- Firmware Version: ELFMC1T0
- PCI Vendor/Subsystem ID: 0x1987
- IEEE OUI Identifier: 0x6479a7
- Controller ID: 0
- NVMe Version: 1.4
- Number of Namespaces: 1
- Namespace 1 Size/Capacity: 4,000,787,030,016 [4.00 TB]
- Namespace 1 Formatted LBA Size: 512
- Namespace 1 IEEE EUI-64: 6479a7 86c000009c
- Local Time is: Wed Aug 20 23:19:15 2025 CST
- Firmware Updates (0x12): 1 Slot, no Reset required
- Optional Admin Commands (0x0017): Security Format Frmw_DL Self_Test
- Optional NVM Commands (0x0056): Wr_Unc DS_Mngmt Sav/Sel_Feat Timestmp
- Log Page Attributes (0x0e): Cmd_Eff_Lg Ext_Get_Lg Telmtry_Lg
- Maximum Data Transfer Size: 64 Pages
- Warning Comp. Temp. Threshold: 83 Celsius
- Critical Comp. Temp. Threshold: 85 Celsius
- Namespace 1 Features (0x08): No_ID_Reuse
- Supported Power States
- St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat
- 0 + 5.50W - - 0 0 0 0 0 0
- 1 + 2.40W - - 1 1 1 1 0 0
- 2 + 1.50W - - 2 2 2 2 0 0
- 3 - 0.0500W - - 3 3 3 3 1500 2500
- 4 - 0.0050W - - 4 4 4 4 5000 30000
- Supported LBA Sizes (NSID 0x1)
- Id Fmt Data Metadt Rel_Perf
- 0 + 512 0 1
- 1 - 4096 0 0
- === START OF SMART DATA SECTION ===
- SMART overall-health self-assessment test result: PASSED
- SMART/Health Information (NVMe Log 0x02, NSID 0xffffffff)
- Critical Warning: 0x00
- Temperature: 33 Celsius
- Available Spare: 100%
- Available Spare Threshold: 5%
- Percentage Used: 7%
- Data Units Read: 442,292,057 [226 TB]
- Data Units Written: 142,563,717 [72.9 TB]
- Host Read Commands: 7,772,866,668
- Host Write Commands: 6,512,819,515
- Controller Busy Time: 9,356
- Power Cycles: 2,997
- Power On Hours: 4,840
- Unsafe Shutdowns: 265
- Media and Data Integrity Errors: 0
- Error Information Log Entries: 8
- Warning Comp. Temperature Time: 0
- Critical Comp. Temperature Time: 0
- Temperature Sensor 1: 33 Celsius
- Thermal Temp. 1 Transition Count: 17
- Thermal Temp. 1 Total Time: 263
- Error Information (NVMe Log 0x01, 16 of 255 entries)
- No Errors Logged
- Self-test Log (NVMe Log 0x06, NSID 0xffffffff)
- Self-test status: No self-test in progress
- No Self-tests Logged</font>
复制代码
|