3 ms·
And it kills performance, making you watch redraws, while sshd is maxing out a single core.
by yakubin 4y ago
And it kills performance, making you watch redraws, while sshd is maxing out a single core.
- shakna 4y agoThe drawing is local to your machine, so it doesn't have any overhead over exporting $DISPLAY, and several sshd implementations have moved to fully multithreaded, since at least '08. The only performance hit is X11 (no different than normal) and the network - not ssh.
- yakubin 4y agoDoesn't fit with my experience. Moving from using ssh -X to just pointing remote X applications at my local X server without tunnelling it over SSH consistently improves performance for me. Not just in terms of experience, but also no process maxes out a CPU, so the machine has spare compute capacity for other tasks. It's really not an issue of ssh not being multithreaded. That shouldn't happen even on a single core. If sshd divided that workload over my n cores, it would still be very bad.