예제 #1
0
파일: bbr.py 프로젝트: 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')
예제 #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')
예제 #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')
예제 #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')