UnixBench测试
测试项目:
Dhrystone测试
测试聚焦在字符串处理,没有浮点运算操作。这个测试用于测试链接器编译、代码优化、内存缓存、等待状态、整数数据类型等,硬件和软件设计都会非常大的影响测试结果。
Whetstone 测试
这项测试项目用于测试浮点运算效率和速度。这项测试项目包含若干个科学计算的典型性能模块,包含大量的C语言函数,sin cos sqrt exp和日志以及使用整数和浮点的数学操作。包含数组访问、条件分支和过程调用。
Execl Throughput(execl 吞吐,这里的execl是类unix系统非常重要的函数,非办公软件的execl)测试
这项测试测试每秒execl函数调用次数。execl是 exec函数家族的一部分,使用新的图形处理代替当前的图形处理。有许多命令和前端的execve()函数命令非常相似。
File Copy测试
这项测试衡量文件数据从一个文件被传输到另外一个,使用大量的缓存。包括文件的读、写、复制测试,测试指标是一定时间内(默认是10秒)被重写、读、复制的字符数量。
Pipe Throughput(管道吞吐)测试
pipe是简单的进程之间的通讯。管道吞吐测试是测试在一秒钟一个进程写512比特到一个管道中并且读回来的次
数。管道吞吐测试和实际编程有差距。
Pipe-based Context Switching (基于管道的上下文交互)测试
这项测试衡量两个进程通过管道交换和整数倍的增加吞吐的次数。基于管道的上下文切换和真实程序很类似。测试程序产生一个双向管道通讯的子线程。
Process Creation(进程创建)测试
这项测试衡量一个进程能产生子线程并且立即退出的次数。新进程真的创建进程阻塞和内存占用,所以测试程序直接使用内存带宽。这项测试用于典型的比较大量的操作系统进程创建操作。
Shell Scripts测试
shell脚本测试用于衡量在一分钟内,一个进程可以启动并停止shell脚本的次数,通常会测试1,2, 3, 4, 8 个shell脚本的共同拷贝,shell脚本是一套转化数据文件的脚本。
System Call Overhead (系统调用消耗)测试
这项测试衡量进入和离开系统内核的消耗,例如,系统调用的消耗。程序简单重复的执行getpid调用(返回调用的进程id)。消耗的指标是调用进入和离开内核的执行时间。
Graphical Tests(图形)测试
由"ubgears"程序组成,测试非常粗的2D和3D图形性能,尤其是3D测试非常有限。测试结果和硬件,系统合适的驱动关系很大。
实例:
VPS配置(2core i5-4300U 1.5G)
[root@WQ UnixBench]# ./Run
make all
make[1]: Entering directory `/home/soft/UnixBench'
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./tmp exists
./results exists
make[1]: Leaving directory `/home/soft/UnixBench'
sh: 3dinfo: command not found
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
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
2 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10
2 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10
2 x Execl Throughput 1 2 3
2 x File Copy 1024 bufsize 2000 maxblocks 1 2 3
2 x File Copy 256 bufsize 500 maxblocks 1 2 3
2 x File Copy 4096 bufsize 8000 maxblocks 1 2 3
2 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10
2 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10
2 x Process Creation 1 2 3
2 x System Call Overhead 1 2 3 4 5 6 7 8 9 10
2 x Shell Scripts (1 concurrent) 1 2 3
2 x Shell Scripts (8 concurrent) 1 2 3
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: WQ: GNU/Linux
OS: GNU/Linux -- 2.6.32-573.el6.x86_64 -- #1 SMP Thu Jul 23 15:44:03 UTC 2015
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz (4988.4 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 1: Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz (4988.4 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
08:46:14 up 7:41, 3 users, load average: 0.11, 0.12, 0.06; runlevel 5
------------------------------------------------------------------------
Benchmark Run: Thu Dec 10 2015 08:46:14 - 09:14:29
2 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 28928010.1 lps (10.0 s, 7 samples)
Double-Precision Whetstone 3117.7 MWIPS (10.0 s, 7 samples)
Execl Throughput 1589.3 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 660058.9 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 206451.1 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1741835.1 KBps (30.0 s, 2 samples)
Pipe Throughput 1335027.2 lps (10.0 s, 7 samples)
Pipe-based Context Switching 287247.6 lps (10.0 s, 7 samples)
Process Creation 4841.9 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 4695.5 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 937.5 lpm (60.0 s, 2 samples)
System Call Overhead 2253652.3 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 28928010.1 2478.8
Double-Precision Whetstone 55.0 3117.7 566.8
Execl Throughput 43.0 1589.3 369.6
File Copy 1024 bufsize 2000 maxblocks 3960.0 660058.9 1666.8
File Copy 256 bufsize 500 maxblocks 1655.0 206451.1 1247.4
File Copy 4096 bufsize 8000 maxblocks 5800.0 1741835.1 3003.2
Pipe Throughput 12440.0 1335027.2 1073.2
Pipe-based Context Switching 4000.0 287247.6 718.1
Process Creation 126.0 4841.9 384.3
Shell Scripts (1 concurrent) 42.4 4695.5 1107.4
Shell Scripts (8 concurrent) 6.0 937.5 1562.4
System Call Overhead 15000.0 2253652.3 1502.4
========
System Benchmarks Index Score 1079.2
------------------------------------------------------------------------
Benchmark Run: Thu Dec 10 2015 09:14:29 - 09:42:46
2 CPUs in system; running 2 parallel copies of tests
Dhrystone 2 using register variables 47598094.8 lps (10.0 s, 7 samples)
Double-Precision Whetstone 5934.9 MWIPS (9.9 s, 7 samples)
Execl Throughput 6089.6 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 819331.8 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 221912.0 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 2318841.9 KBps (30.0 s, 2 samples)
Pipe Throughput 2133914.2 lps (10.0 s, 7 samples)
Pipe-based Context Switching 480283.6 lps (10.0 s, 7 samples)
Process Creation 17828.4 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 7151.6 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 957.1 lpm (60.1 s, 2 samples)
System Call Overhead 3249868.5 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 47598094.8 4078.7
Double-Precision Whetstone 55.0 5934.9 1079.1
Execl Throughput 43.0 6089.6 1416.2
File Copy 1024 bufsize 2000 maxblocks 3960.0 819331.8 2069.0
File Copy 256 bufsize 500 maxblocks 1655.0 221912.0 1340.9
File Copy 4096 bufsize 8000 maxblocks 5800.0 2318841.9 3998.0
Pipe Throughput 12440.0 2133914.2 1715.4
Pipe-based Context Switching 4000.0 480283.6 1200.7
Process Creation 126.0 17828.4 1415.0
Shell Scripts (1 concurrent) 42.4 7151.6 1686.7
Shell Scripts (8 concurrent) 6.0 957.1 1595.1
System Call Overhead 15000.0 3249868.5 2166.6
========
System Benchmarks Index Score 1802.3
UnixBench测试的更多相关文章
- Unixbench测试工具和使用
安装过程 wget http://soft.laozuo.org/scripts/UnixBench5.1.3.tgz tar xf UnixBench5.1.3.tgz cd UnixBench5. ...
- VPS性能测试:CPU内存,硬盘IO读写,带宽速度,UnixBench和压力测试
现在便宜的VPS主机越来越多了,一些美国的VPS主机甚至给出1美元一月的VPS,堪比虚拟主机还要便宜,巨大的价格优势吸引不少人购买和使用,而近些年来国内的主机商也开始意识到便宜的VPS对草根站长的诱惑 ...
- VPS性能综合测试(5):UnixBench工具介绍
UnixBench 介绍 UnixBench 是一个类 unix (Unix, BSD, Linux 等) 系统下的性能测试工具,它是一个开源工具.可以用于测试系统主机的性能. UnixBench 进 ...
- UnixBench-linux下的跑分软件
UnixBench是一款开源的测试 unix 系统基本性能的工具,是比较通用的测试VPS性能的工具.UnixBench会执行一系列的测试,包括2D和3D图形系统的性能,测试的结果不仅仅是CPU,内存, ...
- Linux系统的性能测试
性能测试:CPU内存,硬盘IO读写,带宽速度,UnixBench 一.CPU物理个数.内核.超线程.多核心 1.登录Terminal,执行:cat /proc/cpuinfo,就会显示出主机的CPU详 ...
- VPS性能测试方法小结(8)
1.为了能够得到更为准确和详细的有关VPS主机性能测试数据,我们应该多角度.全方位地运行多种VPS性能测试工具来进行检测,同时也要记得排除因本地网络环境而造成的数据结果的错误. 2.VPS主机性能跑分 ...
- 华为云ARM64服务器试用
公司同事弄了个华为云的ARM64服务器,让我帮忙部署我们的服务,所以先试用了一下. 总体感觉还行,使用的CentOS系统,yum也能用,epel源也可以用.但是SCL软件集用不了. uname -a ...
- LINUX系统下跑分测试脚本:unixbench.sh
linux 系统跑分测试脚本: 一.下载脚本: wget http://teddysun.com/wp-content/uploads/unixbench.sh 二.更改权限: ...
- VPS性能综合测试(6):UnixBench跑分工具测试
测试时间可能会比较长,请耐心等待.最后UnixBench会详细列出各个测试项目的得分情况,以及VPS性能的综合跑分结果 UinxBench 的使用 使用方法如下: Run [ -q | -v ] [- ...
随机推荐
- 记录一些容易忘记的属性 -- UITabBarController
UIViewController中的 @property(nonatomic,copy) NSString *title; // Localized title for use by a pare ...
- HTTP协议,操作方法的幂等、安全性
google了一些中文的资料, 基本了解了幂等是怎么回事儿. 备忘一下. PUT,DELETE操作是幂等的.所谓幂等是指不管进行多少次操作,结果都一样.比如我用PUT修改一篇文章,然后在做同样的操作, ...
- HDU 4734 F(x)
这题可能非递归版好写? #include<iostream> #include<cstdio> #include<cstring> #include<algo ...
- 打印datagridview内容 实现横向纵向分页(转)
网上找了很多打印的,只发现这个比较好,实现了横向纵向分页. 代码如下: using System;using System.Collections.Generic;using System.Text; ...
- React Native使用AsyncStorage本地持久化
AsyncStorage AsyncStorage是一个简单的,未加密的,异步的,持久化,关键值存储系统,是全局的.类似于iOS中的NSUserDefault. 存值: import { AppReg ...
- js动态添加onload、onresize、onscroll事件(另类方法)
js动态添加onload.onresize.onscroll事件(另类方法) window 的 onload.onresize.onscroll 事件,跟其他的事件不一样,它不能用 attachE ...
- C#编程语言与面向对象——核心
面向对象的核心 (1).封装 封装的类=数据+对此数据所进行的操作(即算法) 封装起外界不必需要知道的东西,指向外界展现可供展示的东西. 小到一个简单的数据结构,大到一个完整的软件子系统.静态的如某软 ...
- Python笔记 001
#python版本:3.5.2 #for循环 for letter in ("xuyingke"): #默认循环 print ("当前字母:",letter) ...
- H20的题——[noip2003]银河英雄传(并查集)
公元五八○一年,地球居民迁移至金牛座α第二行星,在那里发表银河联邦创立宣言,同年改元为宇宙历元年,并开始向银河系深处拓展. 宇宙历七九九年,银河系的两大军事集团在巴米利恩星域爆发战争.泰山压顶集团派宇 ...
- ADC 电源监测
我能为别人做点什么?这是我最近在思考的问题. 看了 ADC 电源监测代码,觉得对 ADC 的理解不到位,代码中有很多部分都不懂.如: 1. 为什么初始化的时候管脚设置为输出? 2. ADC 采集到的值 ...