[GH-ISSUE #4402] frp跑不满带宽 #3480

Closed
opened 2026-05-05 14:14:10 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @beerjim on GitHub (Aug 24, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4402

Bug Description

服务器是2G的口子,家用宽带上行50Mbps,家里架设了群晖nas。在别的地方用浏览器直接下载,速度最多到2.5MB/s,但是用IDM的多线程下载,速度可以到5M/s左右的速度,如果用zerotier或者tailscale穿透速度能到5-6M/s。如果用群晖自带的photo mobile上传,速度也只有1-2M/s的速度。但是用zerotier或者tailscale穿透速度能到5-6M/s。之前看论坛说是tcpmux为ture引起的,后来关了也不行,大佬知道这个啥原因吗

frpc Version

0.59.0

frps Version

0.59.0

System Architecture

linux/amd64

Configurations

frps

bindAddr = "0.0.0.0"
bindPort = 8443

transport.heartbeatTimeout = 90
transport.maxPoolCount = 50

transport.tcpMux = false

vhostHTTPPort = 80
vhostHTTPSPort = 443

webServer.addr = "0.0.0.0"
webServer.port = 6443
webServer.user = "admin"
webServer.password = ""
webServer.tls.certFile = "/etc/tls/
.crt"
webServer.tls.keyFile = "/etc/tls/*****.key"

log.to = "enable"
log.level = "info"
log.maxDays = 3

auth.method = "token"
auth.token = "*****"

frpc

serverAddr = ""
serverPort = 8443
auth.method = "token"
auth.token = "
"

proxies
name = "dsm"
type = "https"
localIP = ""
localPort = 5001
customDomains = ["
"]

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @beerjim on GitHub (Aug 24, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4402 ### Bug Description 服务器是2G的口子,家用宽带上行50Mbps,家里架设了群晖nas。在别的地方用浏览器直接下载,速度最多到2.5MB/s,但是用IDM的多线程下载,速度可以到5M/s左右的速度,如果用zerotier或者tailscale穿透速度能到5-6M/s。如果用群晖自带的photo mobile上传,速度也只有1-2M/s的速度。但是用zerotier或者tailscale穿透速度能到5-6M/s。之前看论坛说是tcpmux为ture引起的,后来关了也不行,大佬知道这个啥原因吗 ### frpc Version 0.59.0 ### frps Version 0.59.0 ### System Architecture linux/amd64 ### Configurations **frps** bindAddr = "0.0.0.0" bindPort = 8443 transport.heartbeatTimeout = 90 transport.maxPoolCount = 50 transport.tcpMux = false vhostHTTPPort = 80 vhostHTTPSPort = 443 webServer.addr = "0.0.0.0" webServer.port = 6443 webServer.user = "admin" webServer.password = "*****" webServer.tls.certFile = "/etc/tls/*****.crt" webServer.tls.keyFile = "/etc/tls/*****.key" log.to = "enable" log.level = "info" log.maxDays = 3 auth.method = "token" auth.token = "*****" **frpc** serverAddr = "*****" serverPort = 8443 auth.method = "token" auth.token = "*****" [[proxies]] name = "dsm" type = "https" localIP = "*****" localPort = 5001 customDomains = ["*****"] ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [X] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:14:10 -06:00
Author
Owner

@xqzr commented on GitHub (Aug 25, 2024):

#frps
quicBindPort = 8443

#frpc
transport.protocol = "quic"
<!-- gh-comment-id:2308941089 --> @xqzr commented on GitHub (Aug 25, 2024): ```toml #frps quicBindPort = 8443 #frpc transport.protocol = "quic" ```
Author
Owner

@beerjim commented on GitHub (Aug 29, 2024):

quic协议容易被vps厂家当作ddos攻击,用不成

<!-- gh-comment-id:2317068495 --> @beerjim commented on GitHub (Aug 29, 2024): quic协议容易被vps厂家当作ddos攻击,用不成
Author
Owner

@beerjim commented on GitHub (Aug 29, 2024):

经过多方研究,虽然问题没有彻底得到解决,但是我感觉应该是跟tcp的拥塞算法有关,增大tcp window size可以改善问题,但是并没有完全解决

<!-- gh-comment-id:2317312451 --> @beerjim commented on GitHub (Aug 29, 2024): 经过多方研究,虽然问题没有彻底得到解决,但是我感觉应该是跟tcp的拥塞算法有关,增大tcp window size可以改善问题,但是并没有完全解决
Author
Owner

@github-actions[bot] commented on GitHub (Sep 20, 2024):

Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:2362483845 --> @github-actions[bot] commented on GitHub (Sep 20, 2024): Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#3480
No description provided.