Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1226975
  • 博文数量: 479
  • 博客积分: 12240
  • 博客等级: 上将
  • 技术积分: 4999
  • 用 户 组: 普通用户
  • 注册时间: 2007-10-24 17:12
文章分类

全部博文(479)

文章存档

2014年(1)

2013年(1)

2012年(1)

2011年(95)

2010年(177)

2009年(167)

2008年(16)

2007年(21)

分类: LINUX

2010-08-30 16:44:00



测试LPC3250平台:

bonnie++测试:

bonnie++下载地址:

[root@zlg bonnie++-1.03e]# bonnie++ -d /home/zlg/ -u root -s 112 -m zlg
系统总内存64M,可用内存56M,所以在使用bonnine的时候X2,112M。

开启了调试信息的内核的测试结果:
[root@zlg bonnie++-1.03e]# bonnie++ -d /home/zlg/ -u root -s 112 -m zlg
Using uid:0, gid:0.
Writing with putc()...done
Writing intelligently...done
Rewriting...done
Reading with getc()...done
Reading intelligently...done
start 'em...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.03e       ------Sequential Output------ --Sequential Input- --Random-
                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
zlg            112M   178  81  1273   5   713  41   159  93  2317  95 194.5  91
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16   305  89   450  96   287  91   326  95  1451  95   214  92
zlg,112M,178,81,1273,5,713,41,159,93,2317,95,194.5,91,16,305,89,450,96,287,91,326,95,1451,95,214,92


测试结果整理和分析:

Version 1.03e

 

Sequential Output

Sequential Input

Random

 

 

Per Chr

Block

Rewrite

Per Chr

Block

Seeks

Machine

Size

K/sec

%CP

K/sec

%CP

K/sec

%CP

K/sec

%CP

K/sec

%CP

/sec

%CP

zlg

112M

178

81

1273

5

713

41

159

93

2317

95

194.5

91

 

 

Sequential Create

Random Create

 

 

Create

Read

Delete

Create

Read

Delete

 

files

/sec

%CP

/sec

%CP

/sec

%CP

/sec

%CP

/sec

%CP

/sec

%CP

 

16

305

89

450

96

287

91

326

95

1451

95

214

92


每一项都有两个值,K/sec或者/sec,另外一个%CP是操作的平均CPU占用率。

netperf测量TCP/UDP性能

下载地址

分server和client,最好运行在不同的板子上,好像也可以运行在同一块板子上,但是测试结果准确与否就还不是很清楚。

[root@zlg src]# netperf -t UDP_RR -H 192.168.1.136 -- -m 1000
UDP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.1.136 (192.168.1.136) port 0 AF_INET
Local /Remote
Socket Size   Request  Resp.   Elapsed  Trans.
Send   Recv   Size     Size    Time     Rate
bytes  Bytes  bytes    bytes   secs.    per sec

108544 108544 1        1       10.00     356.72
108544 108544
[root@zlg src]# netperf -H 192.168.1.136 -l 60
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.1.136 (192.168.1.136) port 0 AF_INET
Recv   Send    Send
Socket Socket  Message  Elapsed
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec

 87380  16384  16384    60.01      48.71





阅读(1890) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~