{"action":"created","issue":{"url":"https://api.github.com/repos/sshuttle/sshuttle/issues/189","repository_url":"https://api.github.com/repos/sshuttle/sshuttle","labels_url":"https://api.github.com/repos/sshuttle/sshuttle/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/sshuttle/sshuttle/issues/189/comments","events_url":"https://api.github.com/repos/sshuttle/sshuttle/issues/189/events","html_url":"https://github.com/sshuttle/sshuttle/issues/189","id":274714808,"node_id":"MDU6SXNzdWUyNzQ3MTQ4MDg=","number":189,"title":"Speed throttled ... possibly due to CPU ?","user":{"login":"rsyncnet","id":5625887,"node_id":"MDQ6VXNlcjU2MjU4ODc=","avatar_url":"https://avatars2.githubusercontent.com/u/5625887?v=4","gravatar_id":"","url":"https://api.github.com/users/rsyncnet","html_url":"https://github.com/rsyncnet","followers_url":"https://api.github.com/users/rsyncnet/followers","following_url":"https://api.github.com/users/rsyncnet/following{/other_user}","gists_url":"https://api.github.com/users/rsyncnet/gists{/gist_id}","starred_url":"https://api.github.com/users/rsyncnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsyncnet/subscriptions","organizations_url":"https://api.github.com/users/rsyncnet/orgs","repos_url":"https://api.github.com/users/rsyncnet/repos","events_url":"https://api.github.com/users/rsyncnet/events{/privacy}","received_events_url":"https://api.github.com/users/rsyncnet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-11-17T00:45:35Z","updated_at":"2018-07-21T22:52:35Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nMy personal Internet connection tests out at 50 down and 11 up.\r\n\r\nMy ssh endpoint that I use for sshuttle is on a 10gbe line from he.net.  Lots of bandwidth there.\r\n\r\nHowever, when I run sshuttle, my results are 2.x megabits/s download OR if I enable --no-latency-control it rises up to 7.x megabits/s.\r\n\r\nWhen I do this, I see the CPU on my sshuttle client device (a netgate APU) shoot all the way up to 100%.  In 'top' i see a single python process that is using 99% cpu time.\r\n\r\nSo, am I correct in concluding that I am speed limited due to the CPU on my system ?\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/sshuttle/sshuttle/issues/comments/406828433","html_url":"https://github.com/sshuttle/sshuttle/issues/189#issuecomment-406828433","issue_url":"https://api.github.com/repos/sshuttle/sshuttle/issues/189","id":406828433,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjgyODQzMw==","user":{"login":"brianmay","id":112729,"node_id":"MDQ6VXNlcjExMjcyOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/112729?v=4","gravatar_id":"","url":"https://api.github.com/users/brianmay","html_url":"https://github.com/brianmay","followers_url":"https://api.github.com/users/brianmay/followers","following_url":"https://api.github.com/users/brianmay/following{/other_user}","gists_url":"https://api.github.com/users/brianmay/gists{/gist_id}","starred_url":"https://api.github.com/users/brianmay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianmay/subscriptions","organizations_url":"https://api.github.com/users/brianmay/orgs","repos_url":"https://api.github.com/users/brianmay/repos","events_url":"https://api.github.com/users/brianmay/events{/privacy}","received_events_url":"https://api.github.com/users/brianmay/received_events","type":"User","site_admin":false},"created_at":"2018-07-21T22:52:35Z","updated_at":"2018-07-21T22:52:35Z","author_association":"MEMBER","body":"Thanks for this.\r\n\r\nIt concerns me that the load on the sever is much higher on the server then the client. Both processes should be doing the same thing - listen on select and then copy data between a TCP socket and a ssh socket.\r\n\r\nIf load is much higher on the server, this might suggest that there is a bug in the code. Some sort of profiling might identify the problem.\r\n\r\nMulti-threading is unlikely to help here, as this isn't a workload that can be easily split up. Particularly as we have no idea where the bottleneck is yet either.\r\n\r\nRegards"}}
{"actor":{"display_login":"brianmay"}}