Git Product home page Git Product logo

Comments (7)

yalog avatar yalog commented on June 29, 2024

我测试,貌似数据超长后是没有被正常发送的。。
不知道@FateTestarossa 有没有啥好的解决方法?

from net-speeder.

FateTestarossa avatar FateTestarossa commented on June 29, 2024

最简单的解决方法是关掉网卡的checksum (openvz无效 不过openvz加个dcooked编译就行了
会降低性能 但VPS配置不是太低的话并没什么可见影响

from net-speeder.

yalog avatar yalog commented on June 29, 2024

我是关闭了网卡的TSO/GSO功能搞定的。。

然后用tcpdump抓包发现一个问题,就是复制包的延时很大,我收到的复制包基本得延迟1s。而我RTT很小,<100ms,那么这个复制发送包的机制岂不是没有啥效果了?

或者还是我搞错哪里了,为什么这么慢?请教!@FateTestarossa

from net-speeder.

wclmgcd avatar wclmgcd commented on June 29, 2024

@yalog 关闭网卡的TSO / GSO功能,如何关闭?什么命令?在下小白,希望详细写出来,vps是版瓦工

from net-speeder.

yalog avatar yalog commented on June 29, 2024

可以看看这个blog
http://seitran.com/2015/04/13/01-gso-gro-lro/

from net-speeder.

snooda avatar snooda commented on June 29, 2024

关闭tso即可

from net-speeder.

snooda avatar snooda commented on June 29, 2024

复制包延迟1s的问题已经在最新版修复了

from net-speeder.

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.