Comments (10)
请依照你的系统不同,执行不同的指令,我是 Arch Linux @ Vultr :
pacman -Sy ethtool
ethtool -K ens3 tx off
ethtool -K ens3 rx off
ethtool -K ens3 gso off
ethtool -K ens3 gro off
然后退出当前的登录终端(不是重启)重新建立 ssh 连线,再次尝试 net-speeder ens3 “ip” 。
我是用这个方式解决了。
在这个系统中我的 Vultr 的网卡是 ens3
出现这个的原因就是 net-speeder 发送了一个巨大的数据包而不切分,超过了 MTU ,这个解包打包的工作是交给网卡来完成,所以我们关闭网卡的这个功能,改让系统来做这个工作,坏处就是增加了 CPU 负载
好处就是。。。我们可以用 net-speeder 了,而且真的有改观。
#15 两个属于同一个问题
😬
from net-speeder.
vultr一切正常
from net-speeder.
vultr上一直报:err msg:[libnet_write_raw_ipv4(): -1 bytes written (Message too long),系统debian 7 x64求大神帮忙 @krstina @syaofox @snooda
from net-speeder.
root@xxxxxx:# ethtool -K eth0 tx off# ethtool -K eth0 gso off
Actual changes:
tx-checksumming: off
tx-checksum-ip-generic: off
tcp-segmentation-offload: off
tx-tcp-segmentation: off [requested on]
tx-tcp-ecn-segmentation: off [requested on]
tx-tcp6-segmentation: off [requested on]
udp-fragmentation-offload: off [requested on]
root@xxxxxx:
root@xxxxxx:# ethtool -K eth0 gro off# ethtool -K eth0 rx off
root@xxxxxx:
Cannot change rx-checksumming
Could not change any device features
请问这是什么问题啊。。谢谢!!我Ubuntu 15.10
另外,我运行了这些命令之后,运行就一直卡在init libnet,但是后面不会出现错误信息了,这是正常的么?
from net-speeder.
@mydansun ....那不是卡在 init libnet ,程序只能执行到这里,也就是说,你这个问题已经解决了。
from net-speeder.
@bao3 但是我用linux的ping并没有看到重复包的标志啊
from net-speeder.
@mydansun 与此案无关。请检查其他问题。
from net-speeder.
一样arch@vultr
pacman -Sy ethtool
ethtool -K ens3 tx off
ethtool -K ens3 rx off
ethtool -K ens3 gso off
ethtool -K ens3 gro off
之后还是有提示...
from net-speeder.
我想到一个最简单的解决办法,这种情况你把mtu阈值改大点不就完了,具体改多大,看你报错的文件大小而定。
ifconfig 网卡名 mtu 多大数 up
from net-speeder.
关闭tso即可
from net-speeder.
Related Issues (20)
- centos 64 6.8 kill掉net_speeder进程后,删除了net_speeder文件夹后,ssh不能链接了...
- 电脑无加速效果
- 手机电脑加速毫无效果
- 运行一段时间后出现killed HOT 14
- 为何到编译呢里就提示No such file or directory HOT 1
- net_speeder 和BBR能共存吗?还是有BBR就不需要net_speeder? HOT 3
- 提示err msg:[libnet_write_raw_ipv4(): -1 bytes written (Message too long) HOT 5
- pcap抓取的包打印信息时,怎么源IP和目的IP全部相同?
- ======
- err msg:[libnet_write_raw_ipv4(): -1 bytes written (Operation not permitted) HOT 1
- net-speeder可以加速ipv6吗 HOT 1
- 到底是ip还是"ip" HOT 2
- 应用其它 bpf 规则时报错 HOT 1
- 我想问一下 那里可以调节发包倍数? HOT 2
- 那里可以调节发包倍数?
- 求问作者考虑过发送端的丢包影响吗,以及在丢包不严重的情况下,随机采样部分包进行复制是否能更加有效的提高速度?
- src host 127.0.0.1 and src port 443,发现没有流量翻倍?
- 不懂就问 请问会对客户端有什么影响吗?比如网站的用户也是多倍流量吗 HOT 1
- 开启了netspeeder没有区别 HOT 1
- net_speeder响应与程序发包之间有巨大延迟 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from net-speeder.