SagerNet / SagerNet/sing-box

Hysteria2性能优化(QUIC 流控制接收窗口参数)

Open
#2,133 0 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
38.1k
Forks
4.6k
Avg merge
19d 15h
Merged PRs (30d)
1

Description

用sing-box和hysteria2各自的客户端进行测试,"down_mbps"都设置为900,两者没有区别,测速都只能跑到450左右的速度。

然后给hysteria2的配置文件添加quic配置

quic:
  initStreamReceiveWindow: 53687090
  maxStreamReceiveWindow: 53687090
  initConnReceiveWindow: 134217728
  maxConnReceiveWindow: 134217728

此时hysteria2官方客户端可以跑到900左右的速度。
sing-box是否也有类似的配置?找了一下没有找到。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by finding sing-box's client transport configuration and compare its available options with the listed receive-window settings. Reproduce the reported throughput with and without those settings, then determine whether equivalent configuration can be exposed and verify that it improves the reported test case.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.