Добрый день!
Наблюдаю в разных разделах разную скорость записи. Не могу разобраться, в чём дело. Диск - Samsung 970 Evo 500GB.
Тестировал при помощи: time dd if=/dev/urandom of=test.img bs=1M count=1000 oflag=sync
Результаты:
- /home/: 18.7127 s, 56.0 MB/s
- /opt/: 1084.11 s, 967 kB/s
Пробовал вместо /opt использовать другой раздел (вновь созданный). Тестировал ext4/xfs/raw - результаты примерно такие-же (скорость записи - порядка 1МБ/сек.).
Есть идеи?
Конфигурация:
/dev/nvme0n1
-> cryptsetup
-> lvm
-> lv home -> ext4 -> /home/
-> lv opt -> ext4 -> /opt/
SMART:
=== START OF INFORMATION SECTION ===
Model Number: Samsung SSD 970 EVO 500GB
Serial Number: S466NX0M131361J
Firmware Version: 2B2QEXE7
PCI Vendor/Subsystem ID: 0x144d
IEEE OUI Identifier: 0x002538
Total NVM Capacity: 500,107,862,016 [500 GB]
Unallocated NVM Capacity: 0
Controller ID: 4
Number of Namespaces: 1
Namespace 1 Size/Capacity: 500,107,862,016 [500 GB]
Namespace 1 Utilization: 425,721,987,072 [425 GB]
Namespace 1 Formatted LBA Size: 512
Namespace 1 IEEE EUI-64: 002538 5191b07f1d
Local Time is: Mon Dec 21 13:47:11 2020 MSK
Firmware Updates (0x16): 3 Slots, no Reset required
Optional Admin Commands (0x0017): Security Format Frmw_DL Self_Test
Optional NVM Commands (0x005f): Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp
Maximum Data Transfer Size: 512 Pages
Warning Comp. Temp. Threshold: 85 Celsius
Critical Comp. Temp. Threshold: 85 Celsius
Supported Power States
St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat
0 + 6.20W - - 0 0 0 0 0 0
1 + 4.30W - - 1 1 1 1 0 0
2 + 2.10W - - 2 2 2 2 0 0
3 - 0.0400W - - 3 3 3 3 210 1200
4 - 0.0050W - - 4 4 4 4 2000 8000
Supported LBA Sizes (NSID 0x1)
Id Fmt Data Metadt Rel_Perf
0 + 512 0 0
=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
SMART/Health Information (NVMe Log 0x02, NSID 0x1)
Critical Warning: 0x00
Temperature: 34 Celsius
Available Spare: 100%
Available Spare Threshold: 10%
Percentage Used: 1%
Data Units Read: 5,776,594 [2.95 TB]
Data Units Written: 24,849,991 [12.7 TB]
Host Read Commands: 120,921,720
Host Write Commands: 449,279,538
Controller Busy Time: 1,293
Power Cycles: 2,962
Power On Hours: 2,026
Unsafe Shutdowns: 98
Media and Data Integrity Errors: 0
Error Information Log Entries: 3,193
Warning Comp. Temperature Time: 0
Critical Comp. Temperature Time: 0
Temperature Sensor 1: 34 Celsius
Temperature Sensor 2: 36 Celsius
Error Information (NVMe Log 0x01, max 64 entries)
No Errors Logged