You are not logged in.

#1 2008-10-16 12:28:27

perost
Member
Registered: 2007-01-23
Posts: 52

Slow SSH and VNC

Hi!

I'm visiting my family at the moment, and tried to call home to my desktop from my laptop that I brought with me. I've tried to use both VNC and SSH, and both are extremely slow. I'm sitting on a 24/2 mbps-line at the moment, while my desktop is connected to a 10/10 mbps-line. VNC is just too slow be usable, and sometimes it freezes for a long time. SSH also feels very sluggish, and when I tried to copy a file with sshfs I got a speed of around 20 Kb/s. At first I though there was something wrong with the connection, but then I started apache on my desktop and downloaded a file over http, and the speed was stable around 900 Kb/s as it should be. A traceroute shows that the trafic goes directly from my familys ISP to my ISP, and ping shows times around 20 ms. So I can't understand why SSH and VNC is so slow, and I don't even know where to begin troubleshooting. If anyone have any suggestions on what might be wrong I would be very grateful.

Both of my computers run Arch64, and my desktop is connected via cable to a router while my laptop uses wireless (Intel 4965), also to a router. The routers are pretty much identical, both being Asus WL-500G Premium with DD-WRT firmware. The necessary ports are of course open, and I use port 2200 for SSH and 5900 for VNC.

Offline

#2 2008-10-27 04:27:52

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: Slow SSH and VNC

If you still don't have a solution you could try coping with "real" ssh enough to install Ajaxterm (try installing it on your laptop first, so you know what to type and can minimize on keypresses).

Another possibility would be to create a super-locked down account with access to nothing, fill it with a fairly sizable file (maybe 900 lines) and ask people to ssh in and cat it, and tell you the speed.

-dav7


Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.

Offline

#3 2008-10-27 06:28:07

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Slow SSH and VNC

Could be one of the isps doing QoS on anything not http based traffic. Comcast sometimes _appears_ at least to be slowing down some of my non-http traffic for instance...

Could be packet loss.
Could be a busy neighborhood loop on a cable network (if that is what one end is..).
Could be.. just about anything...

Run iperf on both ends or something, and see what it says..
Look at tcpdump output (or wireshark).
poke around. try some stuff.
*shrugs*


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

Board footer

Powered by FluxBB