现在的位置: 首页 > 综合 > 正文

利用ubench测试cpu,内存性能

2017年11月14日 ⁄ 综合 ⁄ 共 1055字 ⁄ 字号 评论关闭

我们可以在网上下载http://www.phystech.com/?/download/

因为我运行的环境redhat,./config &&make&&make install的过程,会出现编译错误,比如CLK_TCK这些宏不认识。

所以我推荐大家去下载一个包括相关头文件的,这里我不知道怎么上传文件,需要的可以留邮箱

这个时候我们进行编译就会成功啦。

 

freebench:

 在运行的过程中找不到linux-2.6-x86_64-0.4.tar.gz。而且还没找到链接进行下载,知道的同学情告知下。

 

geekbench:

欢快的下载下来,发现需要掏银子来购买key.

 

unxi-bench

http://code.google.com/p/byte-unixbench/ 下载下来 直接make ,./run 是可以正常运行的

 

LMbench

带宽测评工具

http://www.bitmover.com/lmbench/get_lmbench.html

我们需要进去src目录里面,执行make results ,如果提示有错误,一般去修改Makefile里面231行的 bk.ver,去掉即可(其中需要你去选择一些选项,我这里是最后是失败了,估计因为我这里无法联网,而且我也没装rsh)

 

xfbsuite

http://freecode.com/projects/fbsuite

./install.sh,然后去bin目录中 运行相应的脚本 进行测试,其结果被保存在results目录下对应的目录下。

xfbsuite - its a Benchmark Suite (Frontend), for the good old standard Benchmark Programms for Linux.

The Benchmark Suite it's a Frontend for these Programms:

* Nbench (CPU)
* Stream (RAM)
* Cachebench (L1/L2 Cache)
* Perl HDD Benchmark (not longer using "Piozone" - its buggy).
* Bonnie++ (Filesystem)
* X11perf (2D Performance)

Binary for these Programms are Included (/usr/bin/xfbsuite/..).

These Version of xfbsuite are avalible:

* shell script (with dialog or Xdialog)
* perl shell
* perl Tk

 

 

 

抱歉!评论已关闭.