while using ssh and nfs to work on TX2, I find the console command very lagged. Then I pinged another ip of the same LAN from TX2, it shows the latency is around a few hundred milliseconds to over 1 second. This is very high compared to TX1 in the same network (around 2~3 ms)
no need.
just ping any other ip, the round trip time shows it. For TX2, a few hundred ms to 1000ms, for TX1, 2~3ms.
I’ve done it after a fresh reboot, without using ssh or nfs.
TX1
64 bytes from 10.19.106.138: icmp_seq=26 ttl=64 time=0.791 ms
64 bytes from 10.19.106.138: icmp_seq=27 ttl=64 time=0.881 ms
64 bytes from 10.19.106.138: icmp_seq=28 ttl=64 time=1.09 ms
64 bytes from 10.19.106.138: icmp_seq=29 ttl=64 time=1.09 ms
64 bytes from 10.19.106.138: icmp_seq=30 ttl=64 time=0.734 ms
64 bytes from 10.19.106.138: icmp_seq=31 ttl=64 time=0.662 ms
64 bytes from 10.19.106.138: icmp_seq=32 ttl=64 time=0.924 ms
TX2
64 bytes from 10.19.106.138: icmp_seq=26 ttl=64 time=1.74 ms
64 bytes from 10.19.106.138: icmp_seq=27 ttl=64 time=1.89 ms
64 bytes from 10.19.106.138: icmp_seq=28 ttl=64 time=1.66 ms
64 bytes from 10.19.106.138: icmp_seq=29 ttl=64 time=1.79 ms
64 bytes from 10.19.106.138: icmp_seq=30 ttl=64 time=2.24 ms
64 bytes from 10.19.106.138: icmp_seq=31 ttl=64 time=1.34 ms
64 bytes from 10.19.106.138: icmp_seq=32 ttl=64 time=1.73 ms
It does not have abnormal value like 1000ms. Could you check if there is any error message in “dmesg” while pinging.
yes, it improves. Now it’s never more than 300ms. What does this mean?
64 bytes from 192.168.31.80: icmp_seq=13 ttl=64 time=246 ms
64 bytes from 192.168.31.80: icmp_seq=14 ttl=64 time=141 ms
64 bytes from 192.168.31.80: icmp_seq=15 ttl=64 time=221 ms
64 bytes from 192.168.31.80: icmp_seq=16 ttl=64 time=249 ms
64 bytes from 192.168.31.80: icmp_seq=17 ttl=64 time=247 ms
64 bytes from 192.168.31.80: icmp_seq=18 ttl=64 time=31.5 ms
64 bytes from 192.168.31.80: icmp_seq=19 ttl=64 time=155 ms
64 bytes from 192.168.31.80: icmp_seq=20 ttl=64 time=5.03 ms
64 bytes from 192.168.31.80: icmp_seq=21 ttl=64 time=3.96 ms
64 bytes from 192.168.31.80: icmp_seq=22 ttl=64 time=194 ms
64 bytes from 192.168.31.80: icmp_seq=23 ttl=64 time=55.1 ms
64 bytes from 192.168.31.80: icmp_seq=24 ttl=64 time=26.3 ms
64 bytes from 192.168.31.80: icmp_seq=25 ttl=64 time=14.0 ms
64 bytes from 192.168.31.80: icmp_seq=26 ttl=64 time=249 ms
Also, 240 milliseconds ping to a local network node is still terrible.
There’s something going on on your network, or perhaps on your machine, that causes significant degradation.
Here’s pings from my machine in low power mode:
Note the times that are 1,000 times faster than the times you are seeing!
I also have a network speed issue. I tried the wifi speed suggestion and it did not help. I have a couple tx2 on the wifi lan. When I ping a fast laptop I get:
nvidia@george:~/synccom$ ping spacely.local
PING spacely.local (192.168.10.198) 56(84) bytes of data.
64 bytes from 192.168.10.198: icmp_seq=1 ttl=64 time=210 ms
64 bytes from 192.168.10.198: icmp_seq=2 ttl=64 time=438 ms
64 bytes from 192.168.10.198: icmp_seq=3 ttl=64 time=9.44 ms
64 bytes from 192.168.10.198: icmp_seq=4 ttl=64 time=64.8 ms
64 bytes from 192.168.10.198: icmp_seq=5 ttl=64 time=35.2 ms
64 bytes from 192.168.10.198: icmp_seq=6 ttl=64 time=317 ms
64 bytes from 192.168.10.198: icmp_seq=7 ttl=64 time=13.5 ms
64 bytes from 192.168.10.198: icmp_seq=8 ttl=64 time=162 ms
64 bytes from 192.168.10.198: icmp_seq=9 ttl=64 time=182 ms
64 bytes from 192.168.10.198: icmp_seq=10 ttl=64 time=432 ms
64 bytes from 192.168.10.198: icmp_seq=11 ttl=64 time=230 ms
64 bytes from 192.168.10.198: icmp_seq=12 ttl=64 time=251 ms
or from another tx2:
nvidia@em7:~/synccom$ ping spacely.local
PING spacely.local (192.168.10.198) 56(84) bytes of data.
64 bytes from 192.168.10.198: icmp_seq=1 ttl=64 time=2.26 ms
64 bytes from 192.168.10.198: icmp_seq=2 ttl=64 time=1014 ms
64 bytes from 192.168.10.198: icmp_seq=3 ttl=64 time=275 ms
64 bytes from 192.168.10.198: icmp_seq=4 ttl=64 time=50.2 ms
64 bytes from 192.168.10.198: icmp_seq=5 ttl=64 time=490 ms
64 bytes from 192.168.10.198: icmp_seq=6 ttl=64 time=102 ms
64 bytes from 192.168.10.198: icmp_seq=7 ttl=64 time=536 ms
64 bytes from 192.168.10.198: icmp_seq=8 ttl=64 time=9.72 ms
64 bytes from 192.168.10.198: icmp_seq=9 ttl=64 time=168 ms
64 bytes from 192.168.10.198: icmp_seq=10 ttl=64 time=199 ms
64 bytes from 192.168.10.198: icmp_seq=11 ttl=64 time=633 ms
64 bytes from 192.168.10.198: icmp_seq=12 ttl=64 time=62.5 ms
64 bytes from 192.168.10.198: icmp_seq=13 ttl=64 time=672 ms
64 bytes from 192.168.10.198: icmp_seq=14 ttl=64 time=76.6 ms
But on the same lan if I ping laptop to laptop:
steve@spacely:~/synccom$ ping trillium.local
PING trillium.local (192.168.10.199) 56(84) bytes of data.
64 bytes from 192.168.10.199: icmp_seq=1 ttl=64 time=44.9 ms
64 bytes from 192.168.10.199: icmp_seq=2 ttl=64 time=3.76 ms
64 bytes from 192.168.10.199: icmp_seq=3 ttl=64 time=4.68 ms
64 bytes from 192.168.10.199: icmp_seq=4 ttl=64 time=3.99 ms
64 bytes from 192.168.10.199: icmp_seq=5 ttl=64 time=3.04 ms
64 bytes from 192.168.10.199: icmp_seq=6 ttl=64 time=10.9 ms
64 bytes from 192.168.10.199: icmp_seq=7 ttl=64 time=2.73 ms
64 bytes from 192.168.10.199: icmp_seq=8 ttl=64 time=3.68 ms
64 bytes from 192.168.10.199: icmp_seq=9 ttl=64 time=3.44 ms
64 bytes from 192.168.10.199: icmp_seq=10 ttl=64 time=4.14 ms
64 bytes from 192.168.10.199: icmp_seq=11 ttl=64 time=3.38 ms
64 bytes from 192.168.10.199: icmp_seq=12 ttl=64 time=2.22 ms
64 bytes from 192.168.10.199: icmp_seq=13 ttl=64 time=7.45 ms
Still not blazing speed, but more consistent and about 10x the jetson speed.
ssh speed to the tx2s has noticable network lag, too.
Some environment info too:
nvidia@george:~/synccom$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial
nvidia@george:~/synccom$ uname -a
Linux george 4.4.38-tegra #1 SMP PREEMPT Fri Jul 28 09:55:22 PDT 2017 aarch64 aarch64 aarch64 GNU/Linux
I don’t see any outright errors or failures. On the other hand, I see this is purely over WiFi. I’m not all that great at debugging WiFi, but there are a lot of things which can get in the way (antenna placement, noise in the area, wiring in walls…just about anything).
You might want to test when the Jetson is physically very close to the WiFi router, and again when further away. This would be a cheap way to test if noise might be a problem since signal to noise goes up when they sit side by side, or gets worse when far apart. Should the ping and latency (and especially how variable it is) not change for the better when the Jetson is sitting next to the router it is more likely a software issue or hardware issue and not environmental.
But in any case the laptop PC is only about 3 feet from the jetson, so I would expect similar speeds. I’ll let you know when/if I find out anything about router proximity.