Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Surprising terminal typing latency #3657

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

Closed
ammario opened this issue Aug 24, 2022 · 3 comments
Closed

Surprising terminal typing latency #3657

ammario opened this issue Aug 24, 2022 · 3 comments
Milestone

Comments

@ammario
Copy link
Member

ammario commented Aug 24, 2022

I used feeltty to measure the interactivity of a Coder SSH session vs. SSH directly into the box.

Coder is substantially slower in our coder-ts (Docker-based) template. I get baseline latencies in my AWS workspace.

$ feeltty ssh coder.poll
connect              2990.36792ms
input sample size    32
input mean           118.698ms
input stddev         274.132ms
$ feeltty ssh <redacted>
connect              1199.80383ms
input sample size    32
input mean           55.526ms
input stddev         43.138ms

Oddly, I see equal throughputs as tested by ssh <host> -- cat /dev/urandom | pv > /dev/null.

Perhaps #3505 will fix this. (cc @kylecarbs, @bpmct)

@ammario ammario added the bug label Aug 24, 2022
@bpmct
Copy link
Member

bpmct commented Aug 30, 2022

I tried with identical workspaces (aws, us-west-1, same instance type). To me, it does not seem like a significant improvement.

no tailscale

coder@ben-stable:~/coder/dist$ feeltty ssh coder.no-tailscale
connect              2527.55540ms
input sample size    32
input mean           85.401ms
input stddev         0.452ms

with tailscale

(I used client and server binaries from #3505)

coder@ben-stable:~/coder/dist$ feeltty ssh coder.with-tailscale
connect              3022.32316ms
input sample size    32
input mean           104.875ms
input stddev         0.392ms

@ammario ammario added this to the EE milestone Aug 31, 2022
@BrunoQuaresma
Copy link
Collaborator

cc.: @kylecarbs

@kylecarbs
Copy link
Member

Closing in favor of #2779

@kylecarbs kylecarbs closed this as not planned Won't fix, can't repro, duplicate, stale Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants