-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
传输性能问题 #438
Labels
enhancement
New feature or request
Comments
能观察下跑到600kb/s的时候load跑多少了吗,pi zerow单核1ghz arm确实可能是cpu跑不动了导致的,原因呢我偏向于nps是采用多路复用的设计,使用单个连接传输多个访问连接的数据,这中间涉及到的拆包解包过程开销并不低 |
测试了一下在上面说的在rasp情况下,frpc和npc都能占满CPU,没有抓go profile,相信性能还有比较大的优化的空间,更高带宽也会带来更大的cpu开销 |
我之前测试也发现,socks5的组网方式传输速度特别慢,您这边有解决办法吗 |
我也遇到过,使用frp带宽可以跑满(25M),用npc远程桌面都卡的没法用。 |
kiririx
pushed a commit
to kiririx/nps
that referenced
this issue
Jul 26, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
之前用的frp,偶然发现这个东西,发现功能比frp强太多了,然后找教程在路由器上部署开了服务端,客户端在公司内网的树莓派上,因为树莓派是ZeroW,所以性能比较弱,测试下来无线网卡最多能跑到1.5-2MB/s的样子,之前frp在家里通过ZeroW访问公司内部资源是可以满速的,但换到nps后速度只能到600KB/s,换回frp又能满速,是不是能考虑优化下性能。
补充下:frp和nps都是开的tcp隧道连到客户端的socks5代理上,本地通过socks5代理访问资源。
The text was updated successfully, but these errors were encountered: