网络性能测试之pathload的安装使用
pathload用于确定两点之间网络的理论可用带宽。
依旧分为服务器端和客户端
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
[root@server2 opt]
# tar xzvf pathload.tar.gz
pathload_1.3.2/
pathload_1.3.2
/CHANGELOG
pathload_1.3.2
/CHANGES
pathload_1.3.2
/COPYING
pathload_1.3.2
/README
pathload_1.3.2
/config
.guess
pathload_1.3.2
/config
.sub
pathload_1.3.2
/configure
pathload_1.3.2
/makefile
.
in
pathload_1.3.2
/pathload_gbls
.h
pathload_1.3.2
/pathload_rcv
.c
pathload_1.3.2
/pathload_rcv
.h
pathload_1.3.2
/pathload_rcv_func
.c
pathload_1.3.2
/pathload_snd
.c
pathload_1.3.2
/pathload_snd
.h
pathload_1.3.2
/pathload_snd_func
.c
[root@server2 opt]
# cd pathload_1.3.2/
[root@server2 pathload_1.3.2]
# ./configure
[root@server2 pathload_1.3.2]
# make
[root@server2 pathload_1.3.2]
# cd ..
[root@server2 opt]
# mv pathload_1.3.2/ /usr/local/pathload/
分别在服务器端和客户端按照以上方法安装
服务器端的启动
[root@server2 pathload]
# ./pathload_snd
Waiting
for
receiver to establish control stream =>
在客户端进行测试
[root@server1 opt]
# cd /usr/local/pathload
[root@server1 pathload]
# ./pathload_rcv -s 10.10.10.131
Receiver server1.org starts measurements at sender 10.10.10.131 on Wed Jul 29 04:54:35 2009
Interrupt coalescion detected
Receiving Fleet 0, Rate 214.29Mbps
Receiving Fleet 1, Rate 137.93Mbps
Aborting fleet. Stream_cnt 9
Receiving Fleet 2, Rate 137.93Mbps
Aborting fleet. Stream_cnt 1
Receiving Fleet 3, Rate 103.45Mbps
Aborting fleet. Stream_cnt 2
Receiving Fleet 4, Rate 86.21Mbps
***** RESULT *****
Receiver NIC has interrupt coalescence enabled
Available bandwidth is greater than 68.97 (Mbps)
Measurements finished at Wed Jul 29 04:55:02 2009
Measurement latency is 26.91 sec
服务器端的显示
[root@server2 pathload]
# ./pathload_snd
Waiting
for
receiver to establish control stream => OK
Unknown receiver starts measurements at Wed Jul 29 09:35:03 2009
Maximum packet size :: 1472 bytes
Estimating ADR to initialize rate adjustment algorithm => Done
Sending fleet 0
############
Sending fleet 1
#########
Sending fleet 2
#
Sending fleet 3
##
Sending fleet 4
############
Terminating current run.
[root@server2 pathload]
# ./pathload_snd &
[1] 11136
[root@server2 pathload]
#
|