Skip to content

Conversation

notsure2
Copy link
Contributor

  • This is very useful in advanced scenarios such as ss-redir or chaining of shadowsocks servers
    using TPROXY and ss-redir to another shadowsocks server. This allows avoiding bufferbloat-like
    performance degradation due to default large buffers of OS.

…se control over TCP send buffers.

- This is very useful in advanced scenarios such as ss-redir or chaining of servers using TPROXY
  to avoid bufferbloat-like performance degradation due to default large buffers of OS.
Copy link
Contributor

@madeye madeye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@notsure2
Copy link
Contributor Author

Hmmm reading the parameter from config seems not working, I'll check this again.

@notsure2
Copy link
Contributor Author

Ok looks like I will implement this for receive buffers as well, I will update this pull request.

@notsure2
Copy link
Contributor Author

Been using this for 10 hours with no issues. I have posted my notes on buffer tuning here: https://github.com/notsure2/linux-vpn-bridge

@madeye can we get a review and merge 👍

@dev4u
Copy link

dev4u commented Dec 25, 2020

真的有效果,我会继续观察。
希望更新配置文档,让更多人受益。

@debiansid
Copy link

真的有效果,我会继续观察。
希望更新配置文档,让更多人受益。

any examples?

@dev4u
Copy link

dev4u commented Dec 29, 2020

真的有效果,我会继续观察。
希望更新配置文档,让更多人受益。

any examples?

简单粗暴,移动网络下,4个参数设置为8k,固网下设置为16k。
手机客户端不要设置这四个参数,看视频会有减速的效果。其他的客户端未作尝试。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants