rustdesk / rustdesk/rustdesk-server
50% Performance Drop: Why Does single-bandwidth=192Mb/s Only Achieve 80Mb/s in Single-Connection Transfers?
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 10.4k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Issue Description:
My current bandwidth provides an upload rate of 160 Mb/s. However, when transferring files via a single connection, the speed caps at 80 Mb/s, even though multi-connection transfers can fully utilize the 160 Mb/s bandwidth.
Configuration Parameters Applied:
limit-speed: 256 Mb/stotal-bandwidth: 1024 Mb/ssingle-bandwidth: 192 Mb/s
Expected Behavior:
A single connection should ideally utilize the maximum available upload bandwidth (160 Mb/s).
Observed Behavior:
Single-connection speed is limited to 50% of the expected capacity (80 Mb/s), while multi-connection transfers achieve full bandwidth. This suggests a potential misconfiguration or bottleneck in the single-connection rate-limiting logic.
Request:
Could you help investigate why the configured single-bandwidth parameter (192 Mb/s) does not align with the observed performance? Any guidance on optimizing single-connection throughput would be greatly appreciated.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the single-connection and multi-connection transfers with the reported limit-speed, total-bandwidth, and single-bandwidth values. Trace the server's single-connection rate-limiting logic and verify how the configured Mb/s values are interpreted; done means explaining the 80 Mb/s cap or identifying the configuration or implementation issue causing it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100