首页 > 其他 > 详细

再谈lmbench

时间:2019-07-26 15:32:24      阅读:170      评论:0      收藏:0      [点我收藏+]

摸了一轮ltp-ddt

再回头来看lmbench

 

bandwidth & latency合集小王子 用起来确实方便。

只是官网显示的用法是:

 

Go to the top directory, and type make results see and then have a 技术分享图片 while it goes to work. The benchmark takes about a half hour (or more on slow machines) to run.

 

在板子上没法跑起来,make results see 是现编译现跑。

只能分析一下Makefile,看看如何手动运行。

ltp-ddt中是直接调用一个一个binary

比如bw_mem $i $op

bw_unix等

 

 

make results see

Makefile中:

results: FRC
    cd src && $(MAKE) results

see:
    cd results && $(MAKE) summary percent 2>/dev/null | more

 

再看src中的Makefile

results: lmbench
    @env OS="${OS}" ../scripts/config-run
    @env OS="${OS}" ../scripts/results

 

get 手动就是运行config-run和results两个脚本

但是要进入到scripts文件夹,否则会因为路径关系有些文件找不到。

 

再谈lmbench

原文:https://www.cnblogs.com/idyllcheung/p/11250584.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!