User Tools

Site Tools


linux:kcptun

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
linux:kcptun [2018/01/04 13:23] percylinux:kcptun [2018/01/04 23:22] percy
Line 22: Line 22:
  
  
 +==== Testing the speed ====
 +I did the follow testing
 +  * Just download it directly, curl  https://ef.pjq.me/download/20160420104351.rar -o asdf.rar
 +  * Download it with Shadowsocks,  curl --socks5-hostname localhost:1080 https://ef.pjq.me/download/20160420104351.rar -o asdf.rar
 +  * Download it with Shadowsocks and kcptun, curl --socks5-hostname localhost:1080 https://ef.pjq.me/download/20160420104351.rar -o asdf.rar
 +
 +So we can see the speed is 8689 -> 60858 -> 1088k, the speed is increased significant.
 +  8.6k * 136, 60k * 18 = 1088k
 +
 +<code>
 +Jianqings-MBP:~ pjq$ curl  https://ef.pjq.me/download/20160420104351.rar -o asdf.rar
 +  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
 +                                 Dload  Upload   Total   Spent    Left  Speed
 +  0 72.3M    0  175k    0       8689      0  2:25:31  0:00:20  2:25:11  3599^C
 +Jianqings-MBP:~ pjq$ curl --socks5-hostname localhost:1080 https://ef.pjq.me/download/20160420104351.rar -o asdf.rar
 +  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
 +                                 Dload  Upload   Total   Spent    Left  Speed
 +  1 72.3M    1 1055k    0      60858      0  0:20:46  0:00:17  0:20:29 65614^C
 +Jianqings-MBP:~ pjq$ curl --socks5-hostname localhost:1080 https://ef.pjq.me/download/20160420104351.rar -o asdf.rar
 +  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
 +                                 Dload  Upload   Total   Spent    Left  Speed
 +100 72.3M  100 72.3M    0      1088k      0  0:01:08  0:01:08 --:--:-- 1235k
 +
 +</code>
  
  
/var/www/dokuwiki/wiki/data/pages/linux/kcptun.txt · Last modified: 2018/01/05 12:33 by percy