8000 GitHub - mzz2017/lkl-haproxy: BBRPLUS for OpenVZ(OVZ)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mzz2017/lkl-haproxy

< 8000 input type="text" aria-label="Go to file" role="combobox" aria-controls="file-results-list" aria-expanded="false" aria-haspopup="dialog" autoCorrect="off" spellcheck="false" placeholder="Go to file" aria-describedby=":R2j5ab: :R2j5abH1:" data-component="input" class="prc-components-Input-Ic-y8" value=""/>

Repository files navigation

BBRPLUS lkl-haproxy

lkl-linux+haproxy hack 版本 bbrplus,在 OpenVZ 工作良好。

注意:

  1. 默认参数下需要至少 256M 空闲内存并开启 TUN/TAP
  2. 如有更多内存,可在安装后对 /etc/lklhaproxy/redirect.sh 6E7A 中的参数 net.ipv4.tcp_wmemLKL_HIJACK_BOOT_CMDLINE=mem 进行调优。例如分别修改为:
    net.ipv4.tcp_wmem=4096 32768 4194304
    LKL_HIJACK_BOOT_CMDLINE=mem=512M
    
    net.ipv4.tcp_wmem=4096 131072 6048576
    LKL_HIJACK_BOOT_CMDLINE=mem=2048M
    
    而后重启生效。
  3. 对多连接加速更为明显。

使用方法

支持 Alpine / Debian / Ubuntu / CentOS

wget --no-cache -O lkl-haproxy.sh https://github.com/mzz2017/lkl-haproxy/raw/master/lkl-haproxy.sh && bash lkl-haproxy.sh

Linux Kernel Library

https://github.com/mzz2017/linux

感谢

tcp-nanqinlang/lkl-haproxy

linhua55/lkl_study

bbrplus by dog250

About

BBRPLUS for OpenVZ(OVZ)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7

Languages

0