Home>
1.

I want to set TCP vegas with iperf on Ubuntu 16.04 and communicate.

2. Stumble point

If i set "iperf -Z vegas -s" in the option writing number of iperf, the following error is output.

Output error

Attempt to set'vegas' congestion control failed: No such file or directory
Remarks

When I ran TCP cubic, no error was output and it worked fine.
If i am an expert, please help us.

  • Answer # 1

    I tried it with ubuntu18.04 and got the same error, but when I ran it with sudo I didn't get any error. Also, after sodo, it changed to Operation not permitted, so unlike cubic, vegas seems to need administrator privileges.

    $lsmod | grep -i vega
    $
    $iperf -Z vegas -s
    Attempt to set'vegas' congestion control failed: No such file or directory
    ^ C $sudo iperf -Z vegas -s
    -------------------------------------------------- ----------
    Server listening on TCP port 5001
    TCP window size: 128 KByte (default)
    -------------------------------------------------- ----------
    ^ C $lsmod | grep -i vega
    tcp_vegas 16384 0
    $iperf -Z vegas -s
    Attempt to set'vegas' congestion control failed: Operation not permitted
    ^ C $

  • Answer # 2

    How to use iperf

    There seems to be no option to say -Z