Codebase list kcptun / d2c4d04
Update README.md xtaci authored 7 years ago GitHub committed 7 years ago
1 changed file(s) with 9 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
3030 ```
3131 The above commands will establish port forwarding for 8388/tcp as:
3232
33 Application -> KCP Client(8388/tcp) -> KCP Server(4000/udp) -> Server(8388/tcp)
33 > Application -> **KCP Client(8388/tcp) -> KCP Server(4000/udp)** -> Target Server(8388/tcp)
34
35 Tunnels the original connection:
36
37 > Application -> Target Server(8388/tcp)
3438
3539 ### Install from source
3640
5155
5256 > **Q: I have a high speed network link, how to reach the maximum bandwidth?**
5357
54 > **A:** Increase `-rcvwnd` on KCP Client and `-sndwnd` on KCP Server **simultaneously & gradually**, the mininum one decides the maximum transfer rate of the link, as `wnd * mtu / rtt`; Then try downloading something and to see if it meets your requirements.
58 > **A:** Increase `-rcvwnd` on KCP Client and `-sndwnd` on KCP Server **simultaneously & gradually**, the mininum one decides the maximum transfer rate of the link, as `wnd * mtu / rtt`; Then try downloading something and to see if it meets your requirements.
59 (mtu is adjustable by `-mtu`)
5560
5661 #### Improving Latency
5762
153158
154159 ![reed-solomon](rs.png)
155160
156 Setting parameters of RS-Code with ```-datashard m -parityshard n``` on both KCP Client & KCP Server.
161 Setting parameters of RS-Code with ```-datashard m -parityshard n``` on **BOTH** KCP Client & KCP Server.
157162
158163 #### DSCP
159164
211216
212217 Compression may save bandwidth for **PLAINTEXT** data, such as HTTP data.
213218
214 Compression is enabled by default, you can disable it by setting ```-nocomp``` on both KCP Client & KCP Server.
219 Compression is enabled by default, you can disable it by setting ```-nocomp``` on **BOTH** KCP Client & KCP Server.
215220
216221 #### SNMP
217222