TFTP Timeout

This commit is contained in:
Lee Lup Yuen 2023-10-02 15:38:29 +08:00
parent 7d79d96ebc
commit 317fcf5348

View file

@ -2194,10 +2194,14 @@ __Before Fixing:__ TFTP Transfer Rate is 125 KiB/s (with 5 timeouts)
[(See the log: xinetd + tftpd on Raspberry Pi 4 32-bit)](https://gist.github.com/lupyuen/b36278130fbd281d03fc20189de5485e)
[(Based on this configuration)](https://community.arm.com/oss-platforms/w/docs/495/tftp-remote-network-kernel-using-u-boot)
__After Fixing:__ TFTP Transfer Rate is 1.1 MiB/s (with NO timeouts)
[(See the log: rs-tftpd-timeout on Raspberry Pi 4 32-bit)](https://gist.github.com/lupyuen/19ab2e16c0c2bb46175bcd8fba7116f2)
[(Based on rs-tftpd-timeout)](https://github.com/lupyuen/rs-tftpd-timeout/blob/main/src/worker.rs#L232-L255)
Yep it works! No more TFTP Timeouts!
Tested on 32-bit Raspberry Pi 4 and on macOS x64.