执行./Run开始进行各项测试,最后输出结果分
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
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 of uninitialized value in printf at ./Run line 1389.
Use of uninitialized value in printf at ./Run line 1389.
Use of uninitialized value in printf at ./Run line 1607.
Use of uninitialized value in printf at ./Run line 1607.
1 x Dhrystone 2 using register variables 1
1 x Double-Precision Whetstone 1
1 x Execl Throughput 1
1 x File Copy 1024 bufsize 2000 maxblocks 1
1 x File Copy 256 bufsize 500 maxblocks 1
1 x File Copy 4096 bufsize 8000 maxblocks 1
1 x Pipe Throughput 1
1 x Pipe-based Context Switching 1
1 x Process Creation 1
1 x System Call Overhead 1
1 x Shell Scripts (1 concurrent)
./Run 到底执行了什么?默认执行的是Index模块,它包含下面几个小程序:
"dhry2reg", "whetstone-double", "execl",
"fstime", "fsbuffer", "fsdisk", "pipe", "context1", "spawn", "shell1", "shell8","syscall"复制代码
对应的就是上面的结果的各个结果对应的case。
它的执行参数如下:
./Run 模块 -i 迭代次数 -c 进程并发数 -q/-v (输出方式。
- 模块:有时候你只想测某一个小程序的结果,那你可以修改自己去新增一个模块,修改测试内容,这对于调试是非常方便的,也可以直接指定某个执行程序。
- 迭代次数:关于迭代次数,不能想当然的就理解成这就是要执行的次数了,默认框架分为两种迭代模式,一种是短迭代次数,默认 3次,一种是 长迭代次数,默认10 次。那输入的迭代次数就是默认的长迭代次数,短迭代次数=(迭代次数+1)/3,如果结果小于就是1. 程序配置好了,该选择哪个迭代次数。
- 进程并发数:如果你想进程并发数不是系统CPU数,那就可以通过这个调整;
- 输出方式:是静默还是详细输出方式;