背景

想研究一下国产和不同架构,不通型号CPU的算力
也作为后续生产交付的基线准备.
学习各种不同工具进行简要测试.

安装

git clone https://github.com/ColinIanKing/stress-ng.git
cd stress-ng
make
然后就会在当前目录创建一个可执行文件
stress-ng
x86和aarch64是一样的.

主要测试脚本

Run 4 CPU, 2 virtual memory, 1 disk and 8 fork stressors for 2 minutes and print measurements:
stress-ng --cpu 4 --vm 2 --hdd 1 --fork 8 --timeout 2m --metrics Run matrix stressor on all online CPUs for 60 seconds and measure temperature:
stress-ng --matrix -1 --tz -t 60 Run a mix of 4 I/O stressors and check for changes in disk S.M.A.R.T. metadata:
sudo stress-ng --iomix 4 --smart -t 30s Benchmark system calls using the VDSO:
stress-ng --vdso 1 -t 5 --metrics Generate and measure branch misses using perf metrics:
sudo stress-ng --branch 1 --perf -t 10 --stdout | grep Branch

鲲鹏虚拟机的结果

/stress-ng --cpu 4 --vm 2 --hdd 1 --fork 8 --timeout 2m --metrics
stress-ng: info: [1764043] setting to a 120 second (2 mins, 0.00 secs) run per stressor
stress-ng: info: [1764043] dispatching hogs: 4 cpu, 2 vm, 1 hdd, 8 fork
stress-ng: info: [1764043] stressor bogo ops real time usr time sys time bogo ops/s bogo ops/s CPU used per RSS Max
stress-ng: info: [1764043] (secs) (secs) (secs) (real time) (usr+sys time) instance (%) (KB)
stress-ng: info: [1764043] cpu 90568 120.01 476.10 0.25 754.67 190.13 99.23 5376
stress-ng: info: [1764043] vm 4479814 120.00 237.18 1.09 37331.39 18801.41 99.28 150656
stress-ng: info: [1764043] hdd 458752 125.92 15.30 6.96 3643.14 20609.34 17.68 1600
stress-ng: info: [1764043] fork 805043 120.00 88.03 90.05 6708.66 4520.63 18.55 3904
stress-ng: info: [1764043] miscellaneous metrics:
stress-ng: info: [1764043] hdd 5378.02 MB/sec read rate (geometic mean of 1 instances)
stress-ng: info: [1764043] hdd 5385.10 MB/sec write rate (geometic mean of 1 instances)
stress-ng: info: [1764043] hdd 5381.56 MB/sec read/write combined rate (geometic mean of 1 instances)
stress-ng: info: [1764043] successful run completed in 125.92s (2 mins, 5.92 secs)

飞腾2500+物理机

stress-ng: info:  [4155956] setting to a 120 second (2 mins, 0.00 secs) run per stressor
stress-ng: info: [4155956] dispatching hogs: 4 cpu, 2 vm, 1 hdd, 8 fork
stress-ng: info: [4155956] stressor bogo ops real time usr time sys time bogo ops/s bogo ops/s CPU used per RSS Max
stress-ng: info: [4155956] (secs) (secs) (secs) (real time) (usr+sys time) instance (%) (KB)
stress-ng: info: [4155956] cpu 54036 120.08 480.27 0.04 449.99 112.50 100.00 6336
stress-ng: info: [4155956] vm 2327541 120.00 238.08 1.92 19395.68 9698.38 99.99 151104
stress-ng: info: [4155956] hdd 1706914 120.00 80.84 37.43 14223.72 14432.65 98.55 3776
stress-ng: info: [4155956] fork 799938 120.00 494.91 581.67 6666.13 743.03 112.14 4032
stress-ng: info: [4155956] miscellaneous metrics:
stress-ng: info: [4155956] hdd 2663.89 MB/sec read rate (geometic mean of 1 instances)
stress-ng: info: [4155956] hdd 3252.81 MB/sec write rate (geometic mean of 1 instances)
stress-ng: info: [4155956] hdd 2929.55 MB/sec read/write combined rate (geometic mean of 1 instances)
stress-ng: info: [4155956] successful run completed in 120.17s (2 mins, 0.17 secs)

飞腾2000+物理机

stress-ng: info:  [3916081] setting to a 120 second (2 mins, 0.00 secs) run per stressor
stress-ng: info: [3916081] dispatching hogs: 4 cpu, 2 vm, 1 hdd, 8 fork
stress-ng: info: [3916081] stressor bogo ops real time usr time sys time bogo ops/s bogo ops/s CPU used per RSS Max
stress-ng: info: [3916081] (secs) (secs) (secs) (real time) (usr+sys time) instance (%) (KB)
stress-ng: info: [3916081] cpu 52085 120.10 479.29 0.11 433.70 108.65 99.80 6336
stress-ng: info: [3916081] vm 1881017 120.00 237.33 1.89 15674.69 7863.20 99.67 150912
stress-ng: info: [3916081] hdd 1614848 120.01 73.40 46.24 13455.87 13497.90 99.69 3776
stress-ng: info: [3916081] fork 1314325 120.00 522.63 579.41 10952.70 1192.63 114.80 4032
stress-ng: info: [3916081] miscellaneous metrics:
stress-ng: info: [3916081] hdd 2012.78 MB/sec read rate (geometic mean of 1 instances)
stress-ng: info: [3916081] hdd 2487.28 MB/sec write rate (geometic mean of 1 instances)
stress-ng: info: [3916081] hdd 2226.36 MB/sec read/write combined rate (geometic mean of 1 instances)
stress-ng: info: [3916081] successful run completed in 120.20s (2 mins, 0.20 secs)

飞腾2500 虚拟机

stress-ng: info:  [814485] setting to a 120 second (2 mins, 0.00 secs) run per stressor
stress-ng: info: [814485] dispatching hogs: 4 cpu, 2 vm, 1 hdd, 8 fork
stress-ng: info: [814485] stressor bogo ops real time usr time sys time bogo ops/s bogo ops/s CPU used per RSS Max
stress-ng: info: [814485] (secs) (secs) (secs) (real time) (usr+sys time) instance (%) (KB)
stress-ng: info: [814485] cpu 39040 120.05 354.04 0.61 325.19 110.08 73.85 4736
stress-ng: info: [814485] vm 1612136 120.00 180.96 1.82 13434.14 8820.19 76.16 146880
stress-ng: info: [814485] hdd 1189177 120.02 57.64 28.67 9907.93 13777.31 71.91 1664
stress-ng: info: [814485] fork 310675 120.00 100.49 111.94 2588.94 1462.49 22.13 3904
stress-ng: info: [814485] miscellaneous metrics:
stress-ng: info: [814485] hdd 1788.38 MB/sec read rate (geometic mean of 1 instances)
stress-ng: info: [814485] hdd 2009.70 MB/sec write rate (geometic mean of 1 instances)
stress-ng: info: [814485] hdd 1893.48 MB/sec read/write combined rate (geometic mean of 1 instances)
stress-ng: info: [814485] successful run completed in 120.14s (2 mins, 0.14 secs)

海光7285

stress-ng: info:  [2005838] setting to a 120 second (2 mins, 0.00 secs) run per stressor
stress-ng: info: [2005838] dispatching hogs: 4 cpu, 2 vm, 1 hdd, 8 fork
stress-ng: info: [2005838] stressor bogo ops real time usr time sys time bogo ops/s bogo ops/s CPU used per RSS Max
stress-ng: info: [2005838] (secs) (secs) (secs) (real time) (usr+sys time) instance (%) (KB)
stress-ng: info: [2005838] cpu 370238 120.00 479.22 0.00 3085.25 772.58 99.84 6008
stress-ng: info: [2005838] vm 5513614 120.00 237.47 2.11 45946.46 23013.67 99.82 149276
stress-ng: info: [2005838] hdd 2173494 120.05 86.50 32.82 18105.25 18215.65 99.39 2168
stress-ng: info: [2005838] fork 1593832 120.00 524.99 444.59 13281.92 1643.83 101.00 4332
stress-ng: info: [2005838] miscellaneous metrics:
stress-ng: info: [2005838] hdd 9165.57 MB/sec read rate (geometic mean of 1 instances)
stress-ng: info: [2005838] hdd 3352.49 MB/sec write rate (geometic mean of 1 instances)
stress-ng: info: [2005838] hdd 4897.99 MB/sec read/write combined rate (geometic mean of 1 instances)
stress-ng: info: [2005838] successful run completed in 120.10s (2 mins, 0.10 secs)

Golden 6150

stress-ng: info:  [76329] setting to a 120 second (2 mins, 0.00 secs) run per stressor
stress-ng: info: [76329] dispatching hogs: 4 cpu, 2 vm, 1 hdd, 8 fork
stress-ng: info: [76329] stressor bogo ops real time usr time sys time bogo ops/s bogo ops/s CPU used per RSS Max
stress-ng: info: [76329] (secs) (secs) (secs) (real time) (usr+sys time) instance (%) (KB)
stress-ng: info: [76329] cpu 557584 120.00 479.66 0.34 4646.48 1161.64 100.00 3344
stress-ng: info: [76329] vm 3156543 120.02 229.66 10.38 26299.99 13149.95 100.00 148164
stress-ng: info: [76329] hdd 1828690 120.20 46.95 72.79 15213.18 15272.39 99.61 744
stress-ng: info: [76329] fork 551818 120.00 51.47 910.99 4598.47 573.34 100.26 964
stress-ng: info: [76329] miscellaneous metrics:
stress-ng: info: [76329] hdd 3928.41 MB/sec read rate (geometic mean of 1 instances)
stress-ng: info: [76329] hdd 1295.59 MB/sec write rate (geometic mean of 1 instances)
stress-ng: info: [76329] hdd 1945.16 MB/sec read/write combined rate (geometic mean of 1 instances)
stress-ng: info: [76329] successful run completed in 120.21s (2 mins, 0.21 secs)

Silver 4216

stress-ng: info:  [5609] setting to a 120 second (2 mins, 0.00 secs) run per stressor
stress-ng: info: [5609] dispatching hogs: 4 cpu, 2 vm, 1 hdd, 8 fork
stress-ng: info: [5609] stressor bogo ops real time usr time sys time bogo ops/s bogo ops/s CPU used per RSS Max
stress-ng: info: [5609] (secs) (secs) (secs) (real time) (usr+sys time) instance (%) (KB)
stress-ng: info: [5609] cpu 445180 120.00 479.96 0.01 3709.81 927.51 99.99 6092
stress-ng: info: [5609] vm 2430504 120.01 237.08 2.92 20253.01 10126.97 100.00 149300
stress-ng: info: [5609] hdd 1322664 120.90 42.32 44.13 10939.86 15300.42 71.50 2228
stress-ng: info: [5609] fork 1788238 120.00 572.10 357.04 14901.97 1924.63 96.78 2240
stress-ng: info: [5609] miscellaneous metrics:
stress-ng: info: [5609] hdd 6977.70 MB/sec read rate (geometic mean of 1 instances)
stress-ng: info: [5609] hdd 1507.84 MB/sec write rate (geometic mean of 1 instances)
stress-ng: info: [5609] hdd 2465.46 MB/sec read/write combined rate (geometic mean of 1 instances)
stress-ng: info: [5609] successful run completed in 120.90s (2 mins, 0.90 secs)

Stress-ng 的简单学习的更多相关文章

  1. OI数学 简单学习笔记

    基本上只是整理了一下框架,具体的学习给出了个人认为比较好的博客的链接. PART1 数论部分 最大公约数 对于正整数x,y,最大的能同时整除它们的数称为最大公约数 常用的:\(lcm(x,y)=xy\ ...

  2. 百度首席科学家 Andrew Ng谈深度学习的挑战和未来(转载)

    转载:http://www.csdn.net/article/2014-07-10/2820600 人工智能被认为是下一个互联网大事件,当下,谷歌.微软.百度等知名的高科技公司争相投入资源,占领深度学 ...

  3. Log4j简单学习笔记

    log4j结构图: 结构图展现出了log4j的主结构.logger:表示记录器,即数据来源:appender:输出源,即输出方式(如:控制台.文件...)layout:输出布局 Logger机滤器:常 ...

  4. shiro简单学习的简单总结

    权限和我有很大渊源. 培训时候的最后一个项目是OA,权限那块却不知如何入手,最后以不是我写的那个模块应付面试. 最开始的是使用session装载用户登录信息,使用简单权限拦截器做到权限控制,利用资源文 ...

  5. CentOS 简单学习 firewalld的使用

    1. centos7 开始 使用firewalld 代替了 iptables 命令工具为 firewall-cmd 帮助信息非常长,简单放到文末 2. 简单使用 首先开启 httpd 一般都自带安装了 ...

  6. Windows 下 Docker 的简单学习使用过程之一 dockertoolbox

    1. Windows 下面运行 Docker 的两个主要工具1): Docker for Windows2): DockerToolbox区别:Docker For Windows 可以理解为是新一代 ...

  7. 在MVC中实现和网站不同服务器的批量文件下载以及NPOI下载数据到Excel的简单学习

    嘿嘿,我来啦,最近忙啦几天,使用MVC把应该实现的一些功能实现了,说起来做项目,实属感觉蛮好的,即可以学习新的东西,又可以增加自己之前知道的知识的巩固,不得不说是双丰收啊,其实这周来就开始面对下载在挣 ...

  8. Linux——帮助命令简单学习笔记

    Linux帮助命令简单学习笔记: 一: 命令名称:man 命令英文原意:manual 命令所在路径:/usr/bin/man 执行权限:所有用户 语法:man [命令或配置文件] 功能描述:获得帮助信 ...

  9. mongodb,redis简单学习

     2.mongodb安装配置简单学习                   配置好数据库路径就可以mongo命令执行交互操作了:先将服务器开起来:在开个cmd执行交互操作                 ...

  10. html css的简单学习(三)

    html css的简单学习(三) 前端开发工具:Dreamweaver.Hbuilder.WebStorm.Sublime.PhpStorm...=========================== ...

随机推荐

  1. 几款Java开发者必备常用的工具,准点下班不在话下

    摘要:一问一答的形式轻松学习掌握java工具. 以一问一答的形式学习java工具 Q:检查内存泄露的工具有?A: jmap生成dump转储文件,jhat可视化查看. Q:某进程CPU使用率一直占满,用 ...

  2. 华为云举办AI经典论文复现活动,打造领先AI开发者学习社区

    摘要:百余篇经典论文算法上线华为云AI Gallery,学AI就用ModelArts 2020年8月28日,华为云AI院长峰会在杭州千岛湖举行,来自中国科学院.中国工程院的多位院士,以及清华大学.北京 ...

  3. 应对全场景AI框架部署挑战,MindSpore“四招”让你躺平

    摘要:所谓全场景AI,是指可以将深度学习技术快速应用在云边端不同场景下的硬件设备上,包括云服务器.移动终端以及IoT设备等等,高效运行并能有效协同. 本文分享自华为云社区<AI框架的挑战与Min ...

  4. 最优订单执行算法相关Paper介绍

    更多精彩内容,欢迎关注公众号:数量技术宅,也可添加技术宅个人微信号:sljsz01,与我交流. 随着量化交易.高频交易的竞争日益激烈,事实证明,交易执行显着影响量化策略的投资绩效. 因此,许多从业者开 ...

  5. 【Django-Vue】手机号是否存在接口 多方式登录接口 腾讯云短信介绍和申请 api与sdk

    目录 昨日回顾 今日内容 0 登录注册功能设计 1 短信登录接口 视图类 2 多方式密码登录接口 视图类 序列化类 路由 3 腾讯云短信介绍和申请 3.1api与sdk 补充 练习 昨日回顾 # 你的 ...

  6. Windows | 安装 Docker 遇到的 WSL 2 installation is incomplete 报错的解决方案

    控制面板中打开 Windows功能,在其中勾选 适用于 Linux 的 Windows 子系统 下载 WSL 更新包(非最新版本的也会报错) 更新包下载链接:https://wslstorestora ...

  7. 【每日一题】36. 小AA的数列 (二进制DP)

    补题链接:Here 算法涉及:位运算,DP 这道题想了很久但实在没想什么巧妙的解法,暴力的代码就不放,这里引用Kur1su 的思路 异或问题优先考虑二进制位,对于这个问题,我们需要考虑偶数长度的区间, ...

  8. mysql 字段逗号分割行转列操作

    一.需求 某字段的值为 7654,7698,7782,7788 期望的效果:  二.实现语句 SELECT SUBSTRING_INDEX(SUBSTRING_INDEX('7654,7698,778 ...

  9. VS2019 16.8下载安装

    昨天,想升级到 net5版本,发现在vs2019上始终发现不了它,考虑好几个小时,终于狠下心,把vs2019卸载了,重新装一次.耗费了一个晚上,先将安装过程写下来,以供参考 第一步, 到 微软官网 h ...

  10. 【南大静态代码分析】作业 2:常量传播和 Worklist 求解器

    作业 2:常量传播和 Worklist 求解器 题目链接:https://tai-e.pascal-lab.net/pa2.html 评测链接:https://oj.pascal-lab.net/pr ...