网络性能测试之pathload的安装使用

pathload用于确定两点之间网络的理论可用带宽。
依旧分为服务器端和客户端

[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]#

3 thoughts on “网络性能测试之pathload的安装使用”

  1. pathload测试的结果是否精确?
    另外,有测试过真实的链路吗?譬如运营商承诺提供的是100M专线,若想用pathload做测试,该如何部署客户端和服务端呢?

发表评论

电子邮件地址不会被公开。 必填项已用*标注