unixbench性能测试跑分工具
UnixBench是一个类unix系(Unix,BSD,Linux)统下的性能测试工具,一个开源工具,被广泛用与测试linux系统主机的性能
所谓跑分工具,不仅各项的测试有得分,最后跑完也会有一个综合的得分,这个分数是怎么来了?
其实,这个值是测试系统的测试结果与一个基线系统测试结果比较得到的指数值。
源于1995 年,基线系统是“George”,一个工作站:SPARCstation 20‐61,128MB RAM,Solaris2.3,此系统的指数值被设定为10,所以,如果一个系统的最后结果分数为520,意思是指此系统比基线系统运行快52 倍。
安装使用
Unixbench-5.1.2.tar.gz下载地址:http://soft.vpser.net/test/unixbench/

居然是2009年的版本,不得不说真是够老的
执行以下命令下载和安装:
cd /usr/local
wget http://soft.vpser.net/test/unixbench/unixbench-5.1.2.tar.gz
tar zxvf unixbench-5.1.2.tar.gz
cd unixbench-5.1.2
如果不需要进行图形测试或者不在图形化界面下测试,则将Makefile文件中GRAPHIC_TESTS = defined注释掉(README文件中有说明)

然后make
make
如果make的时候报这个错:

这是因为上述图形测试的配置没有注释掉,而x11就是图形界面配置,处理:yum install xorg-x11* ,如果上述的GRAPHIC_TESTS = defined注释掉而忽略了图形测试,就不会报这个错

如上图,确定make成功,再Run
./Run
执行Run的时候如果报:Can't locate Time/HiRes.pm in @INC

处理:yum -y install perl-Time-HiRes
跑分结果
然后等待程序进行测试即可,这个过程可能比较漫长,请耐心等待,最后跑完将会有一个分数在底部出现,通常情况下1000分以上的VPS是性能较好的。
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # # Version 5.1.3 Based on the Byte Magazine Unix Benchmark Multi-CPU version Version 5 revisions by Ian Smith,
Sunnyvale, CA, USA
January 13, 2011 johantheghost at yahoo period com ------------------------------------------------------------------------------
Use directories for:
* File I/O tests (named fs***) = /opt/unixbench/UnixBench/tmp
* Results = /opt/unixbench/UnixBench/results
------------------------------------------------------------------------------ 1 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10 1 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10 1 x Execl Throughput 1 2 3 1 x File Copy 1024 bufsize 2000 maxblocks 1 2 3 1 x File Copy 256 bufsize 500 maxblocks 1 2 3 1 x File Copy 4096 bufsize 8000 maxblocks 1 2 3 1 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10 1 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10 1 x Process Creation 1 2 3 1 x System Call Overhead 1 2 3 4 5 6 7 8 9 10 1 x Shell Scripts (1 concurrent) 1 2 3 1 x Shell Scripts (8 concurrent) 1 2 3 4 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10 4 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10 4 x Execl Throughput 1 2 3 4 x File Copy 1024 bufsize 2000 maxblocks 1 2 3 4 x File Copy 256 bufsize 500 maxblocks 1 2 3 4 x File Copy 4096 bufsize 8000 maxblocks 1 2 3 4 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10 4 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10 4 x Process Creation 1 2 3 4 x System Call Overhead 1 2 3 4 5 6 7 8 9 10 4 x Shell Scripts (1 concurrent) 1 2 3 4 x Shell Scripts (8 concurrent) 1 2 3 ========================================================================
BYTE UNIX Benchmarks (Version 5.1.3) System: jollypay-temp-west3-b: GNU/Linux
OS: GNU/Linux -- 2.6.32-754.6.3.el6.x86_64 -- #1 SMP Tue Oct 9 17:27:49 UTC 2018
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel(R) Xeon(R) CPU @ 2.20GHz (4400.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 1: Intel(R) Xeon(R) CPU @ 2.20GHz (4400.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 2: Intel(R) Xeon(R) CPU @ 2.20GHz (4400.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 3: Intel(R) Xeon(R) CPU @ 2.20GHz (4400.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
10:30:35 up 1 day, 2:18, 1 user, load average: 0.00, 2.32, 3.56; runlevel 2019-09-03 ------------------------------------------------------------------------
Benchmark Run: Wed Sep 04 2019 10:30:35 - 10:58:40
4 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 34613434.1 lps (10.0 s, 7 samples)
Double-Precision Whetstone 3992.3 MWIPS (9.8 s, 7 samples)
Execl Throughput 2758.2 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 596563.4 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 157148.4 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1993247.6 KBps (30.0 s, 2 samples)
Pipe Throughput 846280.4 lps (10.0 s, 7 samples)
Pipe-based Context Switching 66686.0 lps (10.0 s, 7 samples)
Process Creation 9193.8 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 6545.1 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 1845.8 lpm (60.0 s, 2 samples)
System Call Overhead 770011.2 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 34613434.1 2966.0
Double-Precision Whetstone 55.0 3992.3 725.9
Execl Throughput 43.0 2758.2 641.4
File Copy 1024 bufsize 2000 maxblocks 3960.0 596563.4 1506.5
File Copy 256 bufsize 500 maxblocks 1655.0 157148.4 949.5
File Copy 4096 bufsize 8000 maxblocks 5800.0 1993247.6 3436.6
Pipe Throughput 12440.0 846280.4 680.3
Pipe-based Context Switching 4000.0 66686.0 166.7
Process Creation 126.0 9193.8 729.7
Shell Scripts (1 concurrent) 42.4 6545.1 1543.7
Shell Scripts (8 concurrent) 6.0 1845.8 3076.3
System Call Overhead 15000.0 770011.2 513.3
========
System Benchmarks Index Score 1026.6 ------------------------------------------------------------------------
Benchmark Run: Wed Sep 04 2019 10:58:40 - 11:26:50
4 CPUs in system; running 4 parallel copies of tests Dhrystone 2 using register variables 95155661.1 lps (10.0 s, 7 samples)
Double-Precision Whetstone 13919.5 MWIPS (10.1 s, 7 samples)
Execl Throughput 9771.0 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 654810.9 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 172827.2 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 2165387.5 KBps (30.0 s, 2 samples)
Pipe Throughput 2389790.1 lps (10.0 s, 7 samples)
Pipe-based Context Switching 260110.9 lps (10.0 s, 7 samples)
Process Creation 32641.6 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 14169.4 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 1949.0 lpm (60.1 s, 2 samples)
System Call Overhead 2196105.6 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 95155661.1 8153.9
Double-Precision Whetstone 55.0 13919.5 2530.8
Execl Throughput 43.0 9771.0 2272.3
File Copy 1024 bufsize 2000 maxblocks 3960.0 654810.9 1653.6
File Copy 256 bufsize 500 maxblocks 1655.0 172827.2 1044.3
File Copy 4096 bufsize 8000 maxblocks 5800.0 2165387.5 3733.4
Pipe Throughput 12440.0 2389790.1 1921.1
Pipe-based Context Switching 4000.0 260110.9 650.3
Process Creation 126.0 32641.6 2590.6
Shell Scripts (1 concurrent) 42.4 14169.4 3341.8
Shell Scripts (8 concurrent) 6.0 1949.0 3248.4
System Call Overhead 15000.0 2196105.6 1464.1
========
System Benchmarks Index Score 2235.2 ======= Script description and score comparison completed! =======
跑完会有两个分数结果,一个是 1 parallel process 的结果,另一个是4 parallel process 的结果 (如果是单核只会跑一次)。两者的区别即一个是单进程跑,一个是多进程跑 。
默认测试完成后测试结果会存放在results目录

对测试项目的说明:

对以上跑分项的详细说明参考:https://blog.csdn.net/qq_36357820/article/details/79959445
额外说明
针对Pipe-based Context Switching测试项结果异常的问题,参考一篇博文:http://www.sohu.com/a/248896408_100113911
使用博文中提及的https://github.com/qcsuper/byte-unixbench的5.1.3版本
阿里云VM还是跑出了单项907.7的高分,gcp的VM只有166.7.....
unixbench性能测试跑分工具的更多相关文章
- VPS性能综合测试(6):UnixBench跑分工具测试
测试时间可能会比较长,请耐心等待.最后UnixBench会详细列出各个测试项目的得分情况,以及VPS性能的综合跑分结果 UinxBench 的使用 使用方法如下: Run [ -q | -v ] [- ...
- LINUX系统下跑分测试脚本:unixbench.sh
linux 系统跑分测试脚本: 一.下载脚本: wget http://teddysun.com/wp-content/uploads/unixbench.sh 二.更改权限: ...
- Azure 进阶攻略 | 电脑跑分你会,但虚拟机存储性能跑分的正确姿势你造吗?
想学生时代,小编最爱做的就是研究电脑硬件,然后给自己.朋友和童鞋装机.装好后呢?当然要第一时间跑分了!各种跑分软件运行一遍,不断优化,不断测试.终于得到一个满意成绩,截图分享到网上显摆一下.当年为啥就 ...
- AIR32F103(四) 27倍频216MHz,CoreMark跑分测试
目录 AIR32F103(一) 合宙AIR32F103CBT6开发板上手报告 AIR32F103(二) Linux环境和LibOpenCM3项目模板 AIR32F103(三) Linux环境基于标准外 ...
- Android 性能测试——Heap Viewer 工具
Android 性能测试--Heap Viewer 工具 Heap Viewer能做什么? 实时查看App分配的内存大小和空闲内存大小 发现Memory Leaks Heap Viewer使用条件 5 ...
- Android 性能测试——Memory Monitor 工具
Android 性能测试--Memory Monitor 工具 Memory Monitor能做什么? 实时查看App的内存分配情况 快速判断App是否由于GC操作造成卡顿 快速判断App的Crash ...
- 各公有云1核1G的云主机跑分对比
本文主要测评华为云.腾讯云.阿里云 1H1G服务器的性能,为保证结果有效性,使用环境如下: 1.1H1G Ubuntu 16.04_x64 2.Unixbench Version 5.1.3,详细信息 ...
- 【原创】CLEVO P157SM外接鼠标键盘失灵解决:更换硅脂(附带最新跑分数据)
作者批注:本文允许转载,并且希望给搜索未来人类.蓝天.CLEVO.更换硅脂或者任何有关关键字的朋友提供帮助. 原文地址:http://www.cnblogs.com/c4isr/p/3514140.h ...
- 魅蓝Note2跑分 MT6753性能究竟如何
MT6753实力究竟如何? 采用LP工艺的MT6753实际上在性能和功耗方面并不比MT6752高,相反,同频下功耗要高1/3左右.并且其内存带宽是5.3G/s,小于MT 6752的6.4G/s 而且没 ...
随机推荐
- Javascript的解码/编码api
1.fromCharCode() 接受一个指定的 Unicode 值,然后返回一个字符串. 语法:String.fromCharCode(numX,numX,...,numX) 详细了解:http:/ ...
- MySQL事务提交流程
有binlog的CR方式(重点核心!!): 有binlog情况下,commit动作开始时,会有一个Redo XID 的动作记录写到redo,然后写data到binlog,binlog写成功后,会将bi ...
- centos下配置Apache的https强制跳转
vim /etc/httpd/conf/httpd.conf 新增如下三行 RewriteEngine on RewriteCond %{HTTPS} !=on RewriteRule ^(.*) ...
- 史上最全单链表的增删改查反转等操作汇总以及5种排序算法(C语言)
目录 1.准备工作 2.创建链表 3.打印链表 4.在元素后面插入元素 5.在元素前面增加元素 6.删除链表元素,要注意删除链表尾还是链表头 7.根据传入的数值查询链表 8.修改链表元素 9.求链表长 ...
- springMVC项目中配置log4j.properties路径
log4j.properties不打到war包中,单独写到一个存放配置文件的文件夹中,在容器中将该文件夹放入classpath,在web.xml中可以如下配置: <context-param&g ...
- [日常摸鱼]bzoj3224普通平衡树-Treap、Splay、01Trie、替罪羊树…
http://www.lydsy.com/JudgeOnline/problem.php?id=3224 经典的平衡树模板题-各种平衡树好像都可以(黄学长之前好像还用vector卡过了这题) 所以这篇 ...
- Hive中的集合数据类型
除了使用础的数据类型string等,Hive中的列支持使用struct, map, array集合数据类型. 数据类型 描述 语法示例 STRUCT 和C语言中的struct或者"对象&qu ...
- Linux系列之Centos安装
http://mirrors.aliyun.com/centos/6/isos/x86_64/可下载iso文件 第一步 笔记本进入BIOS开启虚拟化 第二步 进入vmware官网下载vm,作者用的是v ...
- 第 13 章 StringTable详解
目录 第 13 章 StringTable 1.String 的基本特性 1.1.String 概述 1.2.String 的基本特征 1.3.String 的底层结构 2.String 的内存分配 ...
- NET 5使用HangFire定时任务
注意:1. 当Hangfire服务由Web程序来启用时,默认情况下,web应用程序中的Hangfire服务器实例在第一个用户访问您的站点之前不会启动.甚至,有一些事件会在一段时间后导致web应用程序关 ...