<div dir="ltr"><br><br><div class="gmail_quote">On Mon, Sep 12, 2011 at 4:37 PM, Shlomi Fish <span dir="ltr"><<a href="mailto:shlomif@gmail.com">shlomif@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br>
<br>
(I apologise from writing from my <a href="http://gmail.com" target="_blank">gmail.com</a> account, but as you'll see below,<br>
writing from my home E-mail account is not bearable.).<br>
<br>
I have a desktop x86-64 Core i3 machine (running Mageia Linux 1) that connects<br>
via wired Ethernet to my NAT/router and there is a remote x86-64 Core Duo<br>
laptop (running Mageia Linux 2), connected via wireless. Often when I type<br>
commands on bash on the remote laptop via ssh, there is a significant delay,<br>
and moreover running claws-mail or gringotts (two fast gtk+ apps) from the<br>
laptop are slow, which hadn't been the case with my older desktop machine.<br>
tcpdump -i wlan0 on the laptop and htop on the laptop show nothing that might<br>
cause it.<br>
<br>
The delays in the connectivity were not bad with the previous desktop machine<br>
which was an old Pentium 4 2.4GHz machine, which was much slower and<br>
underpowered.<br>
<br>
So far I tried:<br>
<br>
1. Doing /etc/init.d/iptables stop on the desktop machine.<br>
<br>
2. Relocating the laptop closer to the wifi NAT/router.<br>
<br>
Neither of those helped.<br>
<br>
Can anyone shed any light on this?<br>
<br></blockquote><div><br>Everyone on this thread so far mostly replied with regards to SSH session _setup_ time - from some reason - when I read your original post, I understood that what you are actually complaining about is high latency on an _already active_ SSH session. <br>
<br>If I understood you correctly, then the first thing to look at is simply... pings to the other side, to see how much actual network latency and/or drops you have.<br><br>If I understood you incorrectly (and everybody else understood you correctly), then I would add to everyone's suggestions, this: take a look to see if you have avahi-daemon running. This little creature have a tendency to cause session setup delays, even with all DNS off... if you do have it, take it off if it's not needed (and it probably isn't...)<br>
<br>HTH,<br><br>-- Shimi<br></div></div><br></div>