Exemplo n.º 1
0
Arquivo: bbr.py Projeto: h5li/pantheon
def setup_bbr():
    # load tcp_bbr kernel module (only available since Linux Kernel 4.9)
    kernel_ctl.load_kernel_module('tcp_bbr')

    # add bbr to kernel-allowed congestion control list
    kernel_ctl.enable_congestion_control('bbr')

    # check if qdisc is fq
    kernel_ctl.check_qdisc('fq')
Exemplo n.º 2
0
def setup_bbr():
    # load tcp_bbr kernel module (only available since Linux Kernel 4.9)
    kernel_ctl.load_kernel_module('tcp_bbr')

    # add bbr to kernel-allowed congestion control list
    kernel_ctl.enable_congestion_control('bbr')

    # check if qdisc is fq
    kernel_ctl.check_qdisc('fq')
Exemplo n.º 3
0
def setup_vegas():
    # load tcp_vegas kernel module
    kernel_ctl.load_kernel_module('tcp_vegas')

    # add vegas to kernel-allowed congestion control list
    kernel_ctl.enable_congestion_control('vegas')
Exemplo n.º 4
0
def setup_vegas():
    # load tcp_vegas kernel module
    kernel_ctl.load_kernel_module('tcp_vegas')

    # add vegas to kernel-allowed congestion control list
    kernel_ctl.enable_congestion_control('vegas')