SM951 linux centos fio 速度測試

gold2008發表於2017-04-21
yum erase smartmontools
wget https://downloads.sourceforge.net/project/smartmontools/smartmontools/6.5/smartmontools-6.5.tar.gz
tar -zxf smartmontools-6.5.tar.gz && cd smartmontools*
./configure --with-nvme-devicescan
make && make install
ln -s /usr/local/sbin/smartctl  /usr/sbin/smartctl
smartctl -a /dev/nvme1n1
=== START OF INFORMATION SECTION ===
Model Number:                       SAMSUNG MZVPV512HDGL-000H1
Firmware Version:                   BXW74H0Q
PCI Vendor/Subsystem ID:            0x144d
IEEE OUI Identifier:                0x002538
Controller ID:                      1
Number of Namespaces:               1
Namespace 1 Size/Capacity:          512,110,190,592 [512 GB]
Namespace 1 Utilization:            16,102,948,864 [16.1 GB]
Namespace 1 Formatted LBA Size:     512
Local Time is:                      Fri Apr 21 11:28:44 2017 CST
Firmware Updates (0x06):            3 Slots
Optional Admin Commands (0x0007):   Security Format Frmw_DL
Optional NVM Commands (0x001f):     Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat
Maximum Data Transfer Size:         32 Pages


Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     9.00W       -        -    0  0  0  0        5       5
 1 +     4.00W       -        -    1  1  1  1       30      30
 2 +     3.00W       -        -    2  2  2  2      100     100
 3 -   0.0700W       -        -    3  3  3  3      500    5000
 4 -   0.0050W       -        -    4  4  4  4     2000   22000


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:                        43 Celsius
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    0%
Data Units Read:                    94,586 [48.4 GB]
Data Units Written:                 94,571 [48.4 GB]
Host Read Commands:                 11,800,508
Host Write Commands:                11,796,768
Controller Busy Time:               2
Power Cycles:                       5
Power On Hours:                     0
Unsafe Shutdowns:                   2
Media and Data Integrity Errors:    0
Error Information Log Entries:      2


Error Information (NVMe Log 0x01, max 64 entries)
Num   ErrCount  SQId   CmdId  Status  PELoc          LBA  NSID    VS
  0          2     0  0x0015  0x4004  0x000            0     0     -
  1          1     0  0x0014  0x4004  0x000            0     0     -
fio -name=iops -bs=4k -direct=1 -iodepth 32  -ioengine=libaio -runtime=60 -size=15G -filename=/dev/nvme1n1p1  -rw=模式

read:順序讀:[1132M /s] [276K  iops]

write:順序寫   [1036M /s] 253K iops]

rw:順序讀寫   [282.5M/283.4M /s] [68.1K/69.1K iops]

randread:隨機讀 [120.4M /s] [29.4K  iops] 

randwrite:隨機寫  [115.4M /s] [28.2K iops]

randrw:隨機讀寫 [59M/60M /s] [14.6K/14.7K iops]


用 size=5G 測試

read:順序讀:[842.5M  /s] [206K   iops]
write:順序寫   [ 1026M /s] [ 250K iops]
rw:順序讀寫   [281.1M/283.5M /s] [68.9K/69.3K iops]
randread:隨機讀 [1146M  /s] [280k   iops]
randwrite:隨機寫  [ 391.7M /s] [ 95.7K iops]
randrw:隨機讀寫 [257.7M/259.7M /s] [62.1K/63.4K iops]

相關文章