Giter Site home page Giter Site logo

lkl-haproxy's Introduction

BBRPLUS lkl-haproxy

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

注意:

  1. 默认参数下需要至少 256M 空闲内存并开启 TUN/TAP
  2. 如有更多内存,可在安装后对 /etc/lklhaproxy/redirect.sh 中的参数 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

lkl-haproxy's People

Contributors

mzz2017 avatar iseki0 avatar newbugger avatar littlejake avatar fscarmen avatar viceyy avatar nanqinlang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.