<div dir="ltr">Hello Robert,<div><br></div><div>Thanks for your email! We do this to a degree, but with the goal of _reducing_ latency -- please see Figure 3 of the Mosh paper (<a href="https://mosh.mit.edu/mosh-paper.pdf" target="_blank">https://mosh.mit.edu/mosh-paper.pdf</a>).</div><div><br></div><div>With the constants tuned differently, we end up reducing the packets sent as you suggest. This is in the &quot;lowbandwidth&quot; branch in the Git repository.</div><div><br></div><div>Cheers,</div><div>Keith</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 20, 2015 at 6:00 PM, Robert Redelmeier <span dir="ltr">&lt;<a href="mailto:redelm@sbcglobal.net" target="_blank">redelm@sbcglobal.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> First, thanks y&#39;all for your work on mosh!<br>
Second, a suggestion for your consideration (_NOT_ a vile &quot;feature request&quot;):<br>
<br>
Have you considered allowing send buffers to fill a bit before<br>
sending?  Not sending ASAP, but often sending more than one char<br>
per packet?  Of course this increases latency, but reduces packet<br>
count _tremendously_ and data usage likewise since the payload is<br>
tiny compared to overhead (incl ACK)..<br>
<br>
Not sure how this would interact with SSP, but I hacked ssh to do<br>
this 10+ years ago.  To minimize the latency when it would most<br>
annoy, the buffer was released if a command was received or when<br>
typing stopped for 300-600ms.  Commands were considered to be any<br>
control-char or any duplicated char (likely to be cursor movement).<br>
<br>
Of course, latency is sometimes noticeable but that is the price<br>
of reduced transmission data.  Most of the time, I&#39;m typing blind<br>
anyways -- I&#39;m not going to focus on the screen unless needed.<br>
Sometimes the reductions were as large as 70%, more often 50%.<br>
<br>
-- Robert in Houston<br>
<br>
<br>
_______________________________________________<br>
mosh-devel mailing list<br>
<a href="mailto:mosh-devel@mit.edu" target="_blank">mosh-devel@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/mosh-devel" target="_blank">http://mailman.mit.edu/mailman/listinfo/mosh-devel</a><br>
</blockquote></div><br></div></div>