Code Monkey home page Code Monkey logo

Comments (6)

xtaci avatar xtaci commented on July 30, 2024

正常啊,上下行本来就不对称, sndwnd可以调大试试

from kcptun.

k79e avatar k79e commented on July 30, 2024

@xtaci 你意思说我如果用他看视频 我客户机用了400k网速
服务器就需要用400k*10=4000k左右网速么?! 这个利用率这么低哇!!

from kcptun.

xtaci avatar xtaci commented on July 30, 2024

这个和参数有关系, 首先必须了解一点,实时性和带宽利用率是不可调和的。
降低实时性,增大有效载荷比的方法:

  1. 关闭acknodelay
  2. 两端关闭 前向纠错 -fec 0
  3. 提高mtu -mtu 1400
    @kxmp

from kcptun.

k79e avatar k79e commented on July 30, 2024

改了参数也都差不多.....
看起来只能给游戏用...

from kcptun.

k79e avatar k79e commented on July 30, 2024

今天测了下新版 发现改善很大
默认参数 效率比以前高多了. 随便测了下发现流量占用是1.6
抗丢包能力也秒杀以前了.

from kcptun.

k79e avatar k79e commented on July 30, 2024

新版测了测 发现越来越稳定 占用也很好.
当初提到的那个发包 应该是服务器直接把数据扔给buffer了 这个也算的.
实际流量根本没那么大.

from kcptun.

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.