Skip to content

Commit 5d989b4

Browse files
authored
Update rpi_tcpip_link.md, add some info about speed and latency (#44)
1 parent d213bbf commit 5d989b4

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

docs/rpi_tcpip_link.md

+20-1
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,24 @@ cd ~/rf24libs/RF24Gateway/examples/build/ncurses
101101
Done. The primary machine IP is `10.11.2.2`, and the secondary machine IP is `10.11.2.3`.
102102
One could ping machines from each other.
103103

104-
The resulting latency when pinging primary machine from secondary is about a few milliseconds (or even less than a millisecond), and the speed is about `10kB/s` (equal to 100K bits per second).
104+
```text
105+
pi@pi:~ $ ping 10.11.2.2 -c10
106+
PING 10.11.2.2 (10.11.2.2) 56(84) bytes of data.
107+
64 bytes from 10.11.2.2: icmp_seq=1 ttl=64 time=15.6 ms
108+
64 bytes from 10.11.2.2: icmp_seq=2 ttl=64 time=13.6 ms
109+
64 bytes from 10.11.2.2: icmp_seq=3 ttl=64 time=14.2 ms
110+
64 bytes from 10.11.2.2: icmp_seq=4 ttl=64 time=14.8 ms
111+
64 bytes from 10.11.2.2: icmp_seq=5 ttl=64 time=13.0 ms
112+
64 bytes from 10.11.2.2: icmp_seq=6 ttl=64 time=14.9 ms
113+
64 bytes from 10.11.2.2: icmp_seq=7 ttl=64 time=14.0 ms
114+
64 bytes from 10.11.2.2: icmp_seq=8 ttl=64 time=14.0 ms
115+
64 bytes from 10.11.2.2: icmp_seq=9 ttl=64 time=14.1 ms
116+
64 bytes from 10.11.2.2: icmp_seq=10 ttl=64 time=14.7 ms
117+
118+
--- 10.11.2.2 ping statistics ---
119+
10 packets transmitted, 10 received, 0% packet loss, time 9013ms
120+
rtt min/avg/max/mdev = 13.014/14.281/15.603/0.698 ms
121+
```
122+
123+
The resulting latency when pinging primary machine from secondary is about 14 millisecond. Let's check the transfer speed. The speed, most of the times, is about `10 kB/s` (equal to 100K bits per second) but sometimes less. `5 kB/s` should be good approximation for an average.
105124

0 commit comments

Comments
 (0)