8 Aug 2008 21:30
UDP Problem
Hi all, I've done some digging into my UDP problems and here's what I've found. I have a custom script that launches iperf at regular intervals and parses the results, placing them into a database. I have some sanity checks in there to ensure that iperf doesn't spin forever if there is a problem. In short, it adds an additional minute to the time the test is run for and kills the process if it exceeds that time. What appears to be happening is that when doing UDP testing (dualtest), the final packets do not always make it to the server, so the server leaves the socket open indefinitely. The client side seems to finish up with no problems, issuing an error about the final results missing. In subsequent tests, the time recorded for upstream tests increases and we end up with something insane like this : [friz <at> bvlab ~]$ iperf-2.0.2 -c <ip address> -d -l 90 -b 90000 -u WARNING: option -b implies udp testing ------------------------------------------------------------ Server listening on UDP port 5001 Receiving 90 byte datagrams UDP buffer size: 107 KByte (default) ------------------------------------------------------------ ------------------------------------------------------------ Client connecting to <ip address>, UDP port 5001 Sending 90 byte datagrams UDP buffer size: 107 KByte (default) ------------------------------------------------------------ [ 4] local 192.168.254.1 port 33547 connected with <ip address> port 5001(Continue reading)
RSS Feed