I was having some trouble playing files from my NAS using a Fire TV stick which was connected via a couple of hubs and an ethernet switch, so I wanted to double check the connection bandwidth. Here's how to do it from the command line, which is still possible on Android-based Fire sticks.
First, enable adb in the Developer Options page in the Fire TV settings page. Then find it's IP address in the network settings page and use:
adb connect 10.19.72.182
[permit the adb connection on the TV's dialog]
adb shell
Shell into the NAS in a window and type:
dd if=/dev/zero bs=1M count=100 | nc -l -p 9999 -q 0
In the adb shell window run:
date; time toybox nc 10.19.72.5 9999 > /dev/null ; date
That'll result in something like:
Sun Apr 12 11:10:10 IST 2026
0m08.92s real 0m00.03s user 0m00.96s system
Sun Apr 12 11:10:19 IST 2026
8.92 is the real elapsed clock time to download 100MB of data from the NAS. 100 MB / 8.92s = 11.2 MB/s, or about 89.7 Mbps.
89 Mbps should be enough to handle 4K for most compressed streams -- although I may need to consider switching this to running off wifi to handle newer, bigger files. It may be time to upgrade my wifi setup in that room to fix some latency spike issues.