I'd like some help diagnosing a performance issue with ssh tunnels in the Secure Shell App.
Background
I'm working from home on ChromeOS.
My build server is remote, and my test device is connected to my local network. I flash my test device by using an `ssh -R` tunnel to get from my local (corp joined) ChromeOS laptop to my remote build server, so that the build server can then use localhost to connect to my test device.
This all works very well, except that flashing the test device is very slow. I can only get max ~1MiB/s through the tunnel.
What I've Done
I also noticed that CPU was quite high on my corp ChromeBook:
Between the Native Client module and the App, it used ~110-120% of one core, which made me suspect it was CPU bound on a lock or something.
Both ChromeOS tracing and Perfetto traces didn't really tell me much about what was going on.
A coworker with a MacBook is able to push ~13MiB/s through a -R tunnel, and I was able to push ~10MiB/s through a -L tunnel on a FreeBSD box on my local network.
Call To Action
Does anyone know how to get scheduling/CPU profiles of the Secure Shell App and native client module?
Does anyone know what the issue could be? It might just be that I need to specify a larger window somewhere...
Thanks for any help,
-Charles