Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么用了kcptun速度反而不如直连了? #136

Closed
kmahyyg opened this issue Aug 18, 2016 · 5 comments
Closed

为什么用了kcptun速度反而不如直连了? #136

kmahyyg opened this issue Aug 18, 2016 · 5 comments

Comments

@kmahyyg
Copy link

kmahyyg commented Aug 18, 2016

I use the 20160811 version on both side (20160816 is also not worked!).

Server&Client :

--crypt none --mode fast --mtu 1200 --nocomp --dscp 46 --rcvwnd 64 --sndwnd 64

(listened on port: ss port +20)(redirect success)(iptables set correct)

Debian 8 x64 hosted on bandwagonhost los angeles

Client: WinXP SP3 or Win8.1
Network: Yunnan Telecom Wi-Fi in my home (10Mbps)

Speed Tested using fast.com

When use KCPTUN , downloading something from npr with Chrome 52 always like this:
1.4 mb/s ... 0 byte/s ... 0 byte/s
when directly connect to ss : 250 kb/s

Test Speed using fast.com:
(Using --datashard 10 --parityshard 0 before) (KCPTUNed/Direct) 1.4Mbps 1Mbps
(now using the default value) 350kbps 1.4Mbps

Why?

@xtaci
Copy link
Owner

xtaci commented Aug 18, 2016

It's the worst case I ever seen.

slowest access network + worst oversea bandwidth of ISP + slowest VPS.

I cannot help you .

@wxyzh
Copy link

wxyzh commented Aug 18, 2016

先要明确kcptun的使用范围

xtaci notifications@github.com于2016年8月18日周四 15:22写道:

It's the worst case I ever seen.

slowest access network + worst oversea bandwidth of ISP + slowest VPS.

I cannot help you .


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#136 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ASpHqXOh-l7vDdLlF_CcUTUWgVhIX3QWks5qhAgagaJpZM4JnMtL
.

@kmahyyg
Copy link
Author

kmahyyg commented Aug 18, 2016

but i can using direct connection to my vps , i used netspeeder before,it's more stable.

also in the same network in my house, speed of connecting to japan GMO vps is 8mbps+(speedtest.net)

BTW, @xtaci Is there anything wrong with my arguments?or can be optimized?

@kmahyyg
Copy link
Author

kmahyyg commented Aug 19, 2016

Still V160811
But Changed to:

--rcvwnd 128 --sndwnd 128

Test reported more fast than ever before(5.+ mbps,the same network,fast.com)

But There's something wrong in the cmd i have never seen before:

2016/08/19 08:09:04 sndwnd: 128 rcvwnd: 128
2016/08/19 08:09:04 compression: false
2016/08/19 08:09:04 mtu: 1200
2016/08/19 08:09:04 datashard: 10 parityshard: 3
2016/08/19 08:09:04 acknodelay: false
2016/08/19 08:09:04 dscp: 46
2016/08/19 08:09:04 sockbuf: 4194304
2016/08/19 08:09:04 keepalive: 10
2016/08/19 08:09:04 conn: 1
2016/08/19 08:13:36 [ERR] yamux: keepalive failed: i/o deadline reached
2016/08/19 08:13:36 [ERR] yamux: Failed to read header: broken pipe
2016/08/19 08:23:56 session shutdown

@xtaci
Copy link
Owner

xtaci commented Aug 19, 2016

#137 discuss here

@xtaci xtaci closed this as completed Aug 19, 2016
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

No branches or pull requests

3 participants