SM951 linux centos fio 速度测试

来源:互联网 发布:淘宝 大麻暗语 编辑:程序博客网 时间:2024/06/03 20:04
yum erase smartmontoolswget https://downloads.sourceforge.net/project/smartmontools/smartmontools/6.5/smartmontools-6.5.tar.gztar -zxf smartmontools-6.5.tar.gz && cd smartmontools*./configure --with-nvme-devicescanmake && make installln -s /usr/local/sbin/smartctl  /usr/sbin/smartctl
smartctl -a /dev/nvme1n1
=== START OF INFORMATION SECTION ===Model Number:                       SAMSUNG MZVPV512HDGL-000H1Firmware Version:                   BXW74H0QPCI Vendor/Subsystem ID:            0x144dIEEE OUI Identifier:                0x002538Controller ID:                      1Number of Namespaces:               1Namespace 1 Size/Capacity:          512,110,190,592 [512 GB]Namespace 1 Utilization:            16,102,948,864 [16.1 GB]Namespace 1 Formatted LBA Size:     512Local Time is:                      Fri Apr 21 11:28:44 2017 CSTFirmware Updates (0x06):            3 SlotsOptional Admin Commands (0x0007):   Security Format Frmw_DLOptional NVM Commands (0x001f):     Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_FeatMaximum Data Transfer Size:         32 PagesSupported Power StatesSt 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   22000Supported 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: PASSEDSMART/Health Information (NVMe Log 0x02, NSID 0x1)Critical Warning:                   0x00Temperature:                        43 CelsiusAvailable 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,508Host Write Commands:                11,796,768Controller Busy Time:               2Power Cycles:                       5Power On Hours:                     0Unsafe Shutdowns:                   2Media and Data Integrity Errors:    0Error Information Log Entries:      2Error 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]

0 0
原创粉丝点击