control packet loss and change iperf output