UDP Link testing

From SOUND4wiki
Revision as of 10:57, 14 February 2024 by Camille (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

If you have any doubt on the IP link, you can make some tests from the OS which are close enough to what happens with our links.

You need to use iPerf which works for Windows and for Linux.

We will launch it on each side, one as server, the other as client. It will send a stream of byte and analyze losts, jitter, ...

Server side: iperf -u -p 4404 -s

Client side: iperf -u -p 4404 -c 192.168.0.12 -l 256 -b 150000 -i 10 -t 300

Do not forget to use external port number for client !

Commands details:

  • -u -p 4404 : UDP port 4404
  • -s : server
  • -c 192.168.0.12 : client which connects to the specified server's IP
  • -l 256 : send 256 bytes packets
  • -b 150000 : bandwidth 150 kbps
  • -i 10 : report every 10 seconds
  • -t 300 : 300 seconds test (5 minutes)

NOTE: there are some public servers for tests. Sample: iperf -u -p 5200 -c bouygues.testdebit.info -l 256 -b 150000 -i 10 -t 300