TCP/IP test
Last update - 4th July 1999.
Testing TCP transfer speed between two hosts
Purpose
A test program to measure TCP/IP transfer speed between two hosts with a given data buffer size.
Method
On a target host we start a program without options which waits for communication.
On the other host the same program is started with options defining data packets size,
number of packets to send and a target host. We get information about the speed of connection
between the hosts.
To use tcptest test program you should:
- Copy GNUmakefile and tcptest.cpp form /afs/cern.ch/rd45/tests/tcp to a new_directory in which
you will run test program.
- Compile the program (gmake) on each host if the platforms are different. If they are the same compile on one host.
Program creates new_directory/$OS for a given platform in which executable of the program is hold (tcptest).
- Start the program without options on the target host (tcptest).
- Start a program on the second host with options: tcptest
-ln - data packet size n*1KB,
-pn number of packets n*1000,
host target host.
For example tcptest -ln 10 6 rsplus05.
- If the program runs successfully you get communication speed.