chikage0o0 / linux-netspeed Goto Github PK
View Code? Open in Web Editor NEW将Linux现常用的网络加速集成在一起
License: GNU General Public License v2.0
将Linux现常用的网络加速集成在一起
License: GNU General Public License v2.0
libssl1.0.0_1.0.1t-1+deb8u10_amd64.deb需要改成libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb
参见
http://security.debian.org/debian-security/pool/updates/main/o/openssl/
我看了一下,VNC卡在gurb,检查脚本发现
http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u10_amd64.deb
这个连接失效了,不知道是不是原因
现在没有centos8的内核,请问能不能增加一下
Need to compile a kernel module for 4.14.129-bbrplus.
Would you mind also providing kernel-devel-4.14.129-bbrplus.rpm that should be available after you compile the linux kernel from its source?
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
服务器 dell 730xd,万兆双网卡,配置策略路由,默认路由配置在p4p1。
开启魔改版BBR后,经常直接宕机,没有报错信息。
这个咋整?
刚刚运行了一下,内核都被删了。
问题已解决
===>脚本运行启动cake后用命令tc -s qdisc show
qdisc cake 0: dev eth0 root refcnt 2 [Unknown qdisc, optlen=140]
Sent 150049 bytes 960 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
显示"Unknown qdisc(未知队列)"
上网查了下按它的方法可以成功打开cake
===>https://www.kxxzz.com/xx/441.html
cake列队依赖iproute 大于4.19.x 现在ubuntu18 centos8 官方源都不能满足需要升级软件包版本
说明开启cake,需要iproute的版本 >= 4.19.x,centos7.7的iproute版本是iproute-4.11.0-25.el7_7.2.x86_64,
因此显示的都是Unknown qdisc, optlen=140 ,所以升级iproute的版本就可以了
===>最后开启成功查看队列时是这样的
qdisc cake 0: dev eth0 root refcnt 2 bandwidth unlimited diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead 0
Sent 737666641 bytes 572747 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
memory used: 38248b of 15140Kb
capacity estimate: 0bit
min/max network layer size: 42 / 1506
min/max overhead-adjusted size: 42 / 1506
average network hdr offset: 14
Bulk Best Effort Voice
thresh 0bit 0bit 0bit
target 5ms 5ms 5ms
interval 100ms 100ms 100ms
pk_delay 7us 21us 20us
av_delay 0us 10us 4us
sp_delay 0us 1us 2us
backlog 0b 0b 0b
pkts 2 570072 2673
bytes 108 736815874 850659
way_inds 0 130 0
way_miss 2 2430 13
way_cols 0 0 0
drops 0 0 0
marks 0 0 0
ack_drop 0 0 0
sp_flows 0 4 1
bk_flows 0 0 0
un_flows 0 0 0
max_len 54 21084 3012
quantum 1514 1514 1514
希望能加入一键升级iproute的功能或与cake捆绑运行
Can I use it with Linux version 4.15.0-175-generic?
Thank you for your simple tcp bbr.
And For a movie streaming server which BBR do you recommend ? Can you give me document of full server tuning?
rt
ubuntu
sysctl: cannot stat /proc/sys/“net/ipv4/tcp_ecn: No such file or directory
net.core.default_qdisc = fq
sysctl: setting key "net.ipv4.tcp_congestion_control": No such file or directory
貌似不支持virpus的xen,试了一圈
锐速好像不能用了,准备用bbr,但是使用脚本安装内核,日志没问题,显示重启,重启后还是锐速内核,换不到bbr内核
如题,bbrplus模块直接装就完事了?有什么区别吗
sysctl: setting key "net.core.default_qdisc": No such file or directory
net.core.default_qdisc = fq
sysctl: setting key "net.ipv4.tcp_congestion_control": No such file or directory
E: Aborting removal of the running kernel
dpkg: error processing package linux-image-5.3.0-1020-gcp (--remove):
installed linux-image-5.3.0-1020-gcp package pre-removal script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-5.3.0-1020-gcp
E: Sub-process /usr/bin/dpkg returned an error code (1)
如题
TCP加速 一键安装管理脚本 [v1.3.2]
Ubuntu 18.04 LTS
Ubuntu 20.04 LTS
两个版本均出现问题
重启后显示:未安装加速模块
去年探亲时使用 v2ray vmess/shadowsocks 时, bbr 完全够用,比配合 kcptun 还快。
今年发现 vmess/shadowsocks 卡顿严重,无奈之下使用 udp 的 mkcp,速度很好但流量一大就会被 qos 直至断流,udp2raw 比较麻烦,和以前的 kcptun 一样 s/c 端都需要装载服务。
非常希望适配到 bbr plus.
系统:Ubuntu 16.04 i386
运行
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
显示
当前状态: 已安装 Lotserver 加速内核 , 未安装加速模块
选择:8. 使用Lotserver(锐速)加速
然后
当前状态: 已安装 Lotserver 加速内核 , 未安装加速模块
是不是说明不成功???
建议可以判定是 4.9 的内核以后的更新版都可以支持,然后让用户自己选择 header 版本
./tcp.sh: line 621: conditional binary operator expected
./tcp.sh: line 621: syntax error near ${kernel_version}' ./tcp.sh: line 621:
elif [[ echo ${kernel_version} | awk -F'.' '{print
net.ipv4.neigh.default.base_reachable_time_ms = 600000
net.ipv4.neigh.default.mcast_solicit = 20
net.ipv4.neigh.default.retrans_time_ms = 250
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.eth0.rp_filter = 0
sysctl: cannot stat /proc/sys/net/ipv4/conf/eth1/rp_filter: 没有那个文件或目录
net.ipv4.tcp_fastopen = 3
sysctl: setting key "net.core.default_qdisc": 没有那个文件或目录
net.core.default_qdisc = fq
sysctl: setting key "net.ipv4.tcp_congestion_control": 没有那个文件或目录
net.ipv4.tcp_congestion_control = bbr
sysctl: setting key "net.core.default_qdisc": 没有那个文件或目录
net.core.default_qdisc = fq
sysctl: setting key "net.ipv4.tcp_congestion_control": 没有那个文件或目录
net.ipv4.tcp_congestion_control = bbr
卡在done半小时都不动。。。。不敢动不敢动
BWG 2H2G的机器 Debian 9.12 stretch
已下载 20.5 MB,耗时 6秒 (2,954 kB/s)
正在读取软件包列表... 完成
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 linux-image-4.9.0-4-amd64
E: 无法按照 glob ‘linux-image-4.9.0-4-amd64’ 找到任何软件包
E: 无法按照正则表达式 linux-image-4.9.0-4-amd64 找到任何软件包
正在选中未选择的软件包 linux-image-4.9.0-4-amd64。
(正在读取数据库 ... 系统当前共安装有 33911 个文件和目录。)
正准备解包 .../linux-image-4.9.0-4-amd64_4.9.65-3+deb9u1_amd64.deb ...
正在解包 linux-image-4.9.0-4-amd64 (4.9.65-3+deb9u1) ...
正在设置 linux-image-4.9.0-4-amd64 (4.9.65-3+deb9u1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.9.0-12-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-4.9.0-12-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-4.9.0-4-amd64
I: /initrd.img is now a symlink to boot/initrd.img-4.9.0-4-amd64
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.9.0-4-amd64
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.9.0-12-amd64
Found initrd image: /boot/initrd.img-4.9.0-12-amd64
Found linux image: /boot/vmlinuz-4.9.0-4-amd64
Found initrd image: /boot/initrd.img-4.9.0-4-amd64
Found linux image: /boot/vmlinuz-4.9.0-3-amd64
Found initrd image: /boot/initrd.img-4.9.0-3-amd64
done
libssl版本已经更新了,是不是应该更新一下
魔改版启动失败
google cloud的虚拟机上跑完就开不了机了,系统是centos8。看其他issue估计是内核被删了......
请问开启BBR-plus和内核参数优化配置是只能二选一嘛?
内核参数优化后BBR显示未启动,启动BBR后内核优化参数又不见了
系统Debian 9,nginx版本为1.16.0
安装bbrplus内核后nginx启动失败,报错
nginx.service: Start-pre operation time out. Terminating.
Failed to start nginx - high performance web server.
nginx.service: Unit entered failed state.
nginx.service: Failed with result 'tomeout'.
执行nginx -t
或systemctl restart nginx
会卡住
锐速在Centos7下无法开机自启动
推测是脚本自动删除多余内核这一步出问题导致,现在vps无法正常启动,目测没救,只有重装新镜像了,损失惨重
血的教训,大家使用脚本前一定要做好镜像备份!!!
建议作者取消脚本中删除多余内核的步骤,风险太大!
支持了新的内核版本,kernel panic的情况应该会好一点。
怎么办?比如这个速度只有十几k
--2019-11-15 14:48:47-- http://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/bbr/debian-ubuntu/linux-headers-4.11.8-all.deb
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.108.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.108.133|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/bbr/debian-ubuntu/linux-headers-4.11.8-all.deb [following]
--2019-11-15 14:48:48-- https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/bbr/debian-ubuntu/linux-headers-4.11.8-all.deb
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10556024 (10M) [application/octet-stream]
Saving to: 'linux-headers-4.11.8-all.deb'
68% [===================================================================> ] 7,207,957 16.4KB/s eta 3m 13s
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.