Don't use custom socket buffer sizes by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ApexDC++ |
New
|
Undecided
|
Unassigned | ||
DC++ |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Modern operating systems (Linux 2.4+, Windows Vista+) should support TCP tuning (https:/
Example: with a 80 ms RTT the maximum transfer speed is about 6.5 Mbps with the current default buffer values (https:/
I've done some testing and auto tuning seems to be working as expected. When downloading from another user (Windows -> Linux) with a 20 ms RTT and buffer sizes set to 0 in both clients, I was able to utilize my 100 Mbps connection with a single thread, while using the old buffer size limited the speed to ~30 Mbps, which matches the maximum speed given by the calculator.
The required code changes are quite trivial: https:/
Changed in dcplusplus: | |
status: | New → Fix Committed |
Fixed in DC++ 0.870.