性能测试工具Lmbench使用说明Word文档下载推荐.docx

上传人:b****7 文档编号:22344626 上传时间:2023-02-03 格式:DOCX 页数:14 大小:20.68KB
下载 相关 举报
性能测试工具Lmbench使用说明Word文档下载推荐.docx_第1页
第1页 / 共14页
性能测试工具Lmbench使用说明Word文档下载推荐.docx_第2页
第2页 / 共14页
性能测试工具Lmbench使用说明Word文档下载推荐.docx_第3页
第3页 / 共14页
性能测试工具Lmbench使用说明Word文档下载推荐.docx_第4页
第4页 / 共14页
性能测试工具Lmbench使用说明Word文档下载推荐.docx_第5页
第5页 / 共14页
点击查看更多>>
下载资源
资源描述

性能测试工具Lmbench使用说明Word文档下载推荐.docx

《性能测试工具Lmbench使用说明Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《性能测试工具Lmbench使用说明Word文档下载推荐.docx(14页珍藏版)》请在冰豆网上搜索。

性能测试工具Lmbench使用说明Word文档下载推荐.docx

eachotherandotherprocesses

6)Customplacement:

youassigneachbenchmarkprocesswithattendentchildprocessestoprocessors

7)Customplacement:

youassigneachbenchmarkandattendent

8)processestoprocessors

9)Note:

somebenchmarks,suchasbw_pipe,createattendentchild

10)processesforeachbenchmarkprocess.Forexample,bw_pipe

11)needsasecondprocesstosenddatadownthepipetoberead

12)bythebenchmarkprocess.Ifyouhavethreecopiesofthe

13)benchmarkprocessrunning,thenyouactuallyhavesixprocesses;

14)threeattendentchildprocessessendingdatadownthepipesand

15)threebenchmarkprocessesreadingdataanddoingthemeasurements.

16)Jobplacementselection:

1

17)再接下来就是指定内存,本次指定为512M,如下

Severalbenchmarksoperateonarangeofmemory.Thismemoryshouldbesizedsuchthatitisatleast4timesasbigastheexternalcache[s]onyoursystem.Itshouldbenomorethan80%ofyourphysicalmemory.Thebiggertherange,themoreaccuratetheresults,butlargersizestakesomewhatlongertorunthebenchmark.

MB[default2814]

512

下一步为所要运行的子集,默认为全部,本次我们用默认值即可,如下

lmbenchmeasuresawidevarietyofsystemperformance,andthefullsuiteofbenchmarkscantakealongtimeonsomeplatforms.Consequently,weofferthecapabilitytorunonlypredefinedsubsetsofbenchmarks,one

v1.0可编辑可修改foroperatingsystemspecificbenchmarksandoneforhardwarespecificbenchmarks.Wealsooffertheoptionofrunningonlyselectedbenchmarkswhichisusefulduringoperatingsystemdevelopment.

PleaserememberthatifyouintendtopublishtheresultsyoueitherneedtodoafullrunoroneofthepredefinedOSorhardwaresubsets.

SUBSET(ALL|HARWARE|OS|DEVELOPMENT)[defaultall]最后出现如下画面即为测试开始了,下面只需耐心的等就可以了。

Confgurationdone,thanks.ThereisamailinglistfordiscussinglmbenchhostedatBitMover.Sendmailtotojointhelist.

Usingconfigin2013年11月11日星期一10:

06:

07CSTLatencymeasurements2013年11月11日星期一10:

45CST

Calculatingfilesystemlatency2013年11月11日星期一10:

49CST

Localnetworking2013年11月11日星期一10:

08:

29CST

Bandwidthmeasurements

3测试结果查看

测试完毕执行makesee可查看到测试结果报告Lmbench的结果及其说明、

本次测试结果如下

cdresults&

&

makesummarypercent2>

/dev/null|more

正在进入目录`/opt/performance/lmbench3/results'

LMBENCH3.0SUMMARY

(Alphasoftware,donotdistribute)

Basicsystemparameters

HostOSDescriptionMhztlbcachememscal

pageslineparload

bytes

user2-VT3Linuxi686-pc-linux-gnu1598881281Processor,Processes-timesinmicroseconds-smallerisbetter

HostOSMhznullnullopenslctsigsigforkexecsh

callI/OstatclosTCPinsthndlprocprocproc

user2-VT3Linux1598647.18734330

Basicintegeroperations-timesinnanoseconds-smallerisbetter

Host

OSintgrintgrintgrintgrintgrbitaddmuldivmod

ser2-VT3Linux

Basicfloatoperations-timesinnanoseconds-smallerisbetter

OSfloatfloatfloatfloataddmuldivbogo

user2-VT3Linux

Basicdoubleoperations-timesinnanoseconds-smallerisbetter

OSdoubledoubledoubledouble

addmuldivbogo

Contextswitching-timesinmicroseconds-smallerisbetter

HostOS2p/0K2p/16K2p/64K8p/16K8p/64K16p/16K16p/64K

ctxswctxswctxswctxswctxswctxswctxsw

*Local*Communicationlatenciesinmicroseconds-smallerisbetter

HostOS2p/0KPipeAFUDPRPC/TCPRPC/TCP

ctxswUNIXUDPTCPconn

user2-VT3Linux106.

File&

VMsystemlatenciesinmicroseconds-smallerisbetter

HostOS0KFile10KFileMmapProtPage100fd

CreateDeleteCreateDeleteLatencyFaultFaultselct

*Local*CommunicationbandwidthsinMB/s-biggerisbetter

HostOSPipeAFTCPFileMmapBcopyBcopyMemMem

UNIXrereadreread(libc)(hand)readwrite

user2-VT3Linux759.1214833.28741517.

Memorylatenciesinnanoseconds-smallerisbetter

(WARNING-maynotbecorrect,checkgraphs)

OSMhzL1$L2$MainmemRandmemGuesses

user2-VT3Linux1598

正在离开目录`/opt/performance/lmbench3/results'

4相关测试结果参数说明如下

ID

测试分

技术参

中文名称

测试结果

测试项描述

1

Basic

Tlb

转换缓存

88

转换后备缓存的页面

system

pages

页数

2

parame

Cache

缓存行字

128

高速缓存行字节数

ters

line

节数

3

Mem

存储器分

存储器分层并行化

par

层并行化

4

Scal

并行负载

并行执行的lmbench

load

数目

5

Proces

Null

简单系统

(单位:

μ

s)

简单系统调用所花时

sor,

call

调用(取

间(单位微秒)

进程号)

6

ses

简单IO

简单IO操作(空读

I/O

操作(空读写的平均)

写的平均时间)

7

stat

取文档状

态的操作

μs)

取文档状态的操作所

花时间

8

Openclos

打开然后

立即关闭

文档操作

打开文档,然后再关闭文档操作所花的时间

9

Slcttcp

Select设置

Select设置所花时间

10

Sighndl

捕获处理

信号

捕获处理信号所花的

时间

11

Forkproc

Fork进程后直接退出

647(单位:

Fork进程后址接退出所花的时间

12

Execproc

Fork后执行execve调用再退出

1873(单位:

Fork后执行execve调用再退出所花的时间

13

Shproc

Fork后执行shell再退出

4330(单位:

Fork后执行shell再退出所花的时间

14

Basicfloatoperat

intgrbit/add/mu

整数位操

作/加/

乘/除/

////(单位:

ns)

整数位操作,加,乘,除,等的运算所花时间

ions

l/div/

求模操作

mod

15

Float/

浮点型操

///(单位:

ns)

浮点数操作,加,

float

add/mu

乘,除,等的运算所

operat

乘/

bogo

16

Double

双精度数

双精度数操作,加,

double

操作/加

/乘/除

17

Contex

2p/0k

2个并行

2个并行处理0K大

t

ctxsw

处理0K

小的数据所花时间

switch

大小的数

ing

18

2p/16k

2个并行处理16K大

处理16K

小的数据所花的时间

19

2p/64k

2个并行处理64K大

处理64K

20

8p/16k

8个并行

8个并行处理16K大

21

8p/64k

8个并行处理64K大

处理64K大小的数据

22

16p/16

16个并

16个并行处理16K

k

行处理

大小的数据所花时间

16K大小

的数据

23

16p/64

16个并行处理64K

64K大小

24

Local*

Pipe

本地管道

本地管道通信延时时

Commun

通信延时

25

icatio

AF

n

UNIX

26

latenc

UDP

本地UDP通信延时时

ies

27

TCP

本地TCP通信延时时

28

Tcp

TCP建立

106

TCP建立连接并关闭

conn

connect

所花时间

并关闭描

述字

29

0k

0K文件

/(单位:

μs)

0K文件创建/删除

VM

file

创建与删

所花的时间

create

/delet

e

30

10kfilecreate/delete

10K文件创建与删除

10K文件创建/删除

31

Protfault

保护页

保护页延时时间

32

Pagefault

缺页

缺页延时时间

33

100fdselct

对100个文档描述符配置select

对100个文档描述符配置select的时间

34

本地通信

带宽方面

管道操作

759MB/s

本地通信带宽方面管

道操作速度

35

nbandwi

Filereread

文档重复

s

文档重复读取的速度

36

dths

Mmapreread

内存映射

重复读取

内存映射重复读取速

37

bcopy(

libc)

内存拷贝

内存拷贝使用libc

38

bcopy(hand)

内存拷贝手工拷贝速

39

Memread

内存读

2874MB/s

内存读取速度

40

Memwrite

内存写

1517MB/s

内存写入速度

41

Memory

L1

L1缓存

L1缓存操作延时

42

L2

L2缓存

L2缓存操作延时

43

Mainmem

连续内存

系统内存连续操作延

44

Randmem

内存随机

访问延时

系统内存随机访问操

作延时

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 解决方案 > 营销活动策划

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1