正文
stress-NG 磁盘测试结果
摘要
前几天分别还是用了redis-benchmark还有specjvm2008进行了多种系统的压测
得出了信创CPU的一些简单结论
但是一直还没有压测磁盘,
今天想着使用stress-NG压测一下不同架构的信创服务器的磁盘清空.
在网卡还没到打瓶颈之前:
理论上CPU+内存 基本上决定了应用的性能
CPU+内存+磁盘 基本上决定了数据库的性能.
测试脚本
git clone https://github.com/ColinIanKing/stress-ng.git
cd stress-ng
make
# 分别测试 1个文件和16个文件的IO性能.
./stress-ng --hdd 1 --hdd-bytes 1G --timeout 60s --metrics
./stress-ng --hdd 16 --hdd-bytes 1G --timeout 60s --metrics
测试结果
国产里面:
申威的表现最差.
飞腾表现比申威要好一点
海光的表现大概两倍于申威, 比飞腾稍好一点.但是写入性能稍差.
鲲鹏的表现应该是最好.约 3倍于海光.
加上部分其他设备
阿里倚天的表现最好,让人震惊
AMD的表现次之.
自己的Golden6150 表现比较拉胯.
多线程比较:
飞腾平均有所提升
海光下降明显
鲲鹏也有所下降
倚天竟然也有提升
详细测试结果-单文件部分
申威3231-SSD
stress-ng: info: [1263248] hdd 2671.98 MB/sec read rate (geometic mean of 1 instances)
stress-ng: info: [1263248] hdd 1144.99 MB/sec write rate (geometic mean of 1 instances)
stress-ng: info: [1263248] hdd 1599.91 MB/sec read/write combined rate (geometic mean of 1 instances)
飞腾2500-SSD
stress-ng: info: [1078496] hdd 2465.25 MB/sec read rate (geometic mean of 1 instances)
stress-ng: info: [1078496] hdd 3463.42 MB/sec write rate (geometic mean of 1 instances)
stress-ng: info: [1078496] hdd 2883.35 MB/sec read/write combined rate (geometic mean of 1 instances)
海光7285-SSD
stress-ng: info: [136378] hdd 4903.02 MB/sec read rate (geometic mean of 1 instances)
stress-ng: info: [136378] hdd 2511.59 MB/sec write rate (geometic mean of 1 instances)
stress-ng: info: [136378] hdd 3305.17 MB/sec read/write combined rate (geometic mean of 1 instances)
鲲鹏920-8块10KsasRAID5
stress-ng: info: [4139580] hdd 7560.02 MB/sec read rate (geometic mean of 1 instances)
stress-ng: info: [4139580] hdd 11776.34 MB/sec write rate (geometic mean of 1 instances)
stress-ng: info: [4139580] hdd 9227.77 MB/sec read/write combined rate (geometic mean of 1 instances)
Golden6150物理机-12块SSD Raid10
stress-ng: info: [91568] hdd 5424.41 MB/sec read rate (geometic mean of 1 instances)
stress-ng: info: [91568] hdd 2106.92 MB/sec write rate (geometic mean of 1 instances)
stress-ng: info: [91568] hdd 3032.04 MB/sec read/write combined rate (geometic mean of 1 instances)
倚天710阿里云虚拟机-虚拟磁盘
stress-ng: info: [418093] hdd 12334.94 MB/sec read rate (geometic mean of 1 instances)
stress-ng: info: [418093] hdd 6219.66 MB/sec write rate (geometic mean of 1 instances)
stress-ng: info: [418093] hdd 8269.56 MB/sec read/write combined rate (geometic mean of 1 instances)
AMD9T34阿里云虚拟机-虚拟磁盘
stress-ng: info: [835435] hdd 12397.80 MB/sec read rate (geometic mean of 1 instances)
stress-ng: info: [835435] hdd 3280.62 MB/sec write rate (geometic mean of 1 instances)
stress-ng: info: [835435] hdd 5188.34 MB/sec read/write combined rate (geometic mean of 1 instances)
详细测试结果-16文件部分
申威3231
stress-ng: info: [1263263] hdd 2561.30 MB/sec read rate (geometic mean of 16 instances)
stress-ng: info: [1263263] hdd 1126.14 MB/sec write rate (geometic mean of 16 instances)
stress-ng: info: [1263263] hdd 1563.94 MB/sec read/write combined rate (geometic mean of 16 instances)
飞腾2500
stress-ng: info: [1088354] hdd 3089.11 MB/sec read rate (geometic mean of 16 instances)
stress-ng: info: [1088354] hdd 4628.16 MB/sec write rate (geometic mean of 16 instances)
stress-ng: info: [1088354] hdd 3701.37 MB/sec read/write combined rate (geometic mean of 16 instances)
海光7285
stress-ng: info: [136410] hdd 1915.33 MB/sec read rate (geometic mean of 16 instances)
stress-ng: info: [136410] hdd 1089.78 MB/sec write rate (geometic mean of 16 instances)
stress-ng: info: [136410] hdd 1388.08 MB/sec read/write combined rate (geometic mean of 16 instances)
鲲鹏920
stress-ng: info: [4139622] hdd 6143.11 MB/sec read rate (geometic mean of 16 instances)
stress-ng: info: [4139622] hdd 11328.24 MB/sec write rate (geometic mean of 16 instances)
stress-ng: info: [4139622] hdd 7957.97 MB/sec read/write combined rate (geometic mean of 16 instances)
Golden6150物理机
stress-ng: info: [96004] hdd 4175.60 MB/sec read rate (geometic mean of 16 instances)
stress-ng: info: [96004] hdd 2046.21 MB/sec write rate (geometic mean of 16 instances)
stress-ng: info: [96004] hdd 2745.81 MB/sec read/write combined rate (geometic mean of 16 instances)
倚天710阿里云虚拟机
stress-ng: info: [418112] hdd 12954.58 MB/sec read rate (geometic mean of 16 instances)
stress-ng: info: [418112] hdd 6169.51 MB/sec write rate (geometic mean of 16 instances)
stress-ng: info: [418112] hdd 8355.94 MB/sec read/write combined rate (geometic mean of 16 instances)
AMD9T34阿里云虚拟机
stress-ng: info: [835447] hdd 8471.92 MB/sec read rate (geometic mean of 16 instances)
stress-ng: info: [835447] hdd 2423.52 MB/sec write rate (geometic mean of 16 instances)
stress-ng: info: [835447] hdd 3709.25 MB/sec read/write combined rate (geometic mean of 16 instances)