Bandwidth Sockets

First results

We perform single ping-pong tests, and our work is fixed below :

Message Size
(Bytes)
Minimal Bandwidth
(MBytes/s)
Maximal Bandwidth
(MBytes/s)
1024 3.33 4.54
2048 7.17 7.59
4096 7.82 9.18
8192 11.06 13.45
16384 17.39 18.34
32768 2.86 4.90
65536 10.48 14.34
131072 9.43 11.96
262144 11.85 13.62
524288 15.61 16.18
1048576 13.25 15.94
2097152 15.94 16.53
4194304 15.82 16.78

small graph, link
to full graph
Click to get full size graph

Final results : How does it work ?

We create two processus on different machines. One is the client, and the other is the server. The client send datas to the server, end the latter acknowledge these packets.

The server

The server initialize a TCP connection. Once the client is connected, it enters in a loop : receives a packet and acknowledges it.

The client

It connects to the server and enters in a loop too : send(packet,X) where X is the number of packets to send, and receive(ACK,X). So, the client receives X acknowledgement in the same time.

Results

We obtains the best results with packets of 15824 Bytes and when acknowledgements are receive by seven.

Home
Last modified: Thu Aug 21 13:46:25 CEST 1997  
© BIP team