dos-group / gardening-adventure

Apache License 2.0
4 stars 2 forks source link

Benchmark the Mesh Network #24

Closed P2W2 closed 4 years ago

shri-hari93 commented 4 years ago

When the nodes are kept closer TCP Benchmark:

------------------------------------------------------------
Client connecting to 172.27.0.1, TCP port 5001
TCP window size: 78.8 KByte (default)
------------------------------------------------------------
[  3] local 172.27.0.2 port 57120 connected with 172.27.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  24.8 MBytes  20.8 Mbits/sec

Bi-Directional TCP Benchmark: Node 1:

------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 172.27.0.1, TCP port 5001
TCP window size: 48.1 KByte (default)
------------------------------------------------------------
[  5] local 172.27.0.2 port 57026 connected with 172.27.0.1 port 5001
[  4] local 172.27.0.2 port 5001 connected with 172.27.0.1 port 55530
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0-10.1 sec  12.4 MBytes  10.3 Mbits/sec
[  4]  0.0-10.2 sec  13.1 MBytes  10.8 Mbits/sec

Node 2:

Client connecting to 172.27.0.2, TCP port 5001
TCP window size: 43.8 KByte (default)
------------------------------------------------------------
[  6] local 172.27.0.1 port 55530 connected with 172.27.0.2 port 5001
[  6]  0.0-10.0 sec  13.1 MBytes  11.0 Mbits/sec
[  4]  0.0-10.2 sec  12.4 MBytes  10.2 Mbits/sec
shri-hari93 commented 4 years ago

When the nodes are kept apart TCP Benchmark:

------------------------------------------------------------
Client connecting to 172.27.0.1, TCP port 5001
TCP window size: 87.5 KByte (default)
------------------------------------------------------------
[  3] local 172.27.0.2 port 52116 connected with 172.27.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  19.8 MBytes  16.5 Mbits/sec

Bi-Directional TCP Benchmark: Node 1:

------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 172.27.0.1, TCP port 5001
TCP window size: 43.8 KByte (default)
------------------------------------------------------------
[  5] local 172.27.0.2 port 52096 connected with 172.27.0.1 port 5001
[  4] local 172.27.0.2 port 5001 connected with 172.27.0.1 port 57014
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0-10.1 sec  11.5 MBytes  9.59 Mbits/sec
[  4]  0.0-10.2 sec  10.5 MBytes  8.66 Mbits/sec

Node 2:

------------------------------------------------------------
Client connecting to 172.27.0.2, TCP port 5001
TCP window size: 43.8 KByte (default)
------------------------------------------------------------
[  6] local 172.27.0.1 port 57014 connected with 172.27.0.2 port 5001
[  6]  0.0-10.0 sec  10.5 MBytes  8.78 Mbits/sec
[  4]  0.0-10.2 sec  11.5 MBytes  9.44 Mbits/sec