Giter Club home page Giter Club logo

Comments (8)

love4taylor avatar love4taylor commented on August 17, 2024

CentOS 7
kernel-ml-4.14.12-1
可正常通过编译 使用暂时正常

Sent from my Pixel using FastHub

from general.

nanqinlang avatar nanqinlang commented on August 17, 2024

@love4taylor
CentOS 那边的 PTI 是哪个版本内核更新的, 我还没去看呢

from general.

nanqinlang avatar nanqinlang commented on August 17, 2024

there is a script:

wget https://github.com/nanqinlang-tcp/tcp_nanqinlang/releases/download/daily-20180105/tcp_nanqinlang-daily20180105.sh
bash tcp_nanqinlang-daily20180105.sh

requirement, only: Debian7+ 64bit KVM

usage:

  1. run first choice
  2. reboot
  3. run second choice

from general.

teochen avatar teochen commented on August 17, 2024

I don't know what's going wrong when I run second choice

make: *** [install] Error 1
net.ipv4.ip_forward = 1
fs.file-max = 51200
net.core.rmem_max = 67108864
net.core.wmem_max = 67108864
net.core.netdev_max_backlog = 250000
net.core.somaxconn = 4096
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_tw_reuse = 1
sysctl: cannot stat /proc/sys/net/ipv4/tcp_tw_recycle: No such file or directory
net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_keepalive_time = 1200
net.ipv4.ip_local_port_range = 10000 65000
net.ipv4.tcp_max_syn_backlog = 8192
net.ipv4.tcp_max_tw_buckets = 5000
net.ipv4.tcp_fastopen = 3
net.ipv4.tcp_mem = 25600 51200 102400
net.ipv4.tcp_rmem = 4096 87380 67108864
net.ipv4.tcp_wmem = 4096 65536 67108864
net.ipv4.tcp_mtu_probing = 1
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = nanqinlang
[Error] tcp_nanqinlang not installed !

from general.

nanqinlang avatar nanqinlang commented on August 17, 2024

@teochen
make: *** [install] Error 1 这行附近上下的信息呢

from general.

teochen avatar teochen commented on August 17, 2024

tcp_nanqinlang.c 100%[===========================================================>] 34.45K --.-KB/s in 0.1s

2018-01-07 09:07:12 (273 KB/s) - ‘tcp_nanqinlang.c’ saved [35274/35274]

--2018-01-07 09:07:12-- https://raw.githubusercontent.com/nanqinlang-tcp/tcp_nanqinlang/master/Makefile/Makefile-Debian7or8
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 412 [text/plain]
Saving to: ‘Makefile’

Makefile 100%[===========================================================>] 412 --.-KB/s in 0s

2018-01-07 09:07:12 (1.82 MB/s) - ‘Makefile’ saved [412/412]

make -C /lib/modules/uname -r/build M=pwd modules CC=/usr/bin/gcc-4.9
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-999-lowlatency'
CC [M] /home/tcp_nanqinlang/tcp_nanqinlang.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/tcp_nanqinlang/tcp_nanqinlang.mod.o
LD [M] /home/tcp_nanqinlang/tcp_nanqinlang.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-999-lowlatency'
install tcp_nanqinlang.ko /lib/modules/uname -r/kernel/net/ipv4
insmod /lib/modules/uname -r/kernel/net/ipv4/tcp_nanqinlang.ko
insmod: ERROR: could not insert module /lib/modules/4.15.0-999-lowlatency/kernel/net/ipv4/tcp_nanqinlang.ko: File exists
Makefile:10: recipe for target 'install' failed
make: *** [install] Error 1

from general.

nanqinlang avatar nanqinlang commented on August 17, 2024

@teochen
运行 lsmod 看看

from general.

Gordon-shin avatar Gordon-shin commented on August 17, 2024

make -C /lib/modules/uname -r/build M=pwd modules CC=/usr/bin/gcc-4.9
make[1]: Entering directory /usr/src/linux-headers-4.15.0-999-lowlatency' Building modules, stage 2. MODPOST 0 modules make[1]: Leaving directory /usr/src/linux-headers-4.15.0-999-lowlatency'
install tcp_nanqinlang.ko /lib/modules/uname -r/kernel/net/ipv4
install: cannot stat ‘tcp_nanqinlang.ko’: No such file or directory
make: *** [install] Error 1
fs.file-max = 51200
net.core.rmem_max = 67108864
net.core.wmem_max = 67108864
net.core.netdev_max_backlog = 250000
net.core.somaxconn = 4096
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_tw_reuse = 1
sysctl: cannot stat /proc/sys/net/ipv4/tcp_tw_recycle: No such file or directory
net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_keepalive_time = 1200
net.ipv4.ip_local_port_range = 10000 65000
net.ipv4.tcp_max_syn_backlog = 8192
net.ipv4.tcp_max_tw_buckets = 5000
net.ipv4.tcp_fastopen = 3
net.ipv4.tcp_mem = 25600 51200 102400
net.ipv4.tcp_rmem = 4096 87380 67108864
net.ipv4.tcp_wmem = 4096 65536 67108864
net.ipv4.tcp_mtu_probing = 1
net.core.default_qdisc = fq
sysctl: setting key "net.ipv4.tcp_congestion_control": No such file or directory
net.ipv4.tcp_congestion_control = nanqinlang

from general.

Related Issues (20)

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.