delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/07/14:46:50

X-Spam-Check-By: sourceware.org
Date: Fri, 8 Jun 2007 02:46:19 +0800
From: Samuel Thibault <samuel DOT thibault AT ens-lyon DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] New package: brltty 3.8
Message-ID: <20070607184619.GA14598@implementation>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20070606192445 DOT GG6500 AT implementation> <20070606201111 DOT GA2366 AT ednor DOT casa1 DOT cgf DOT cx> <20070607114950 DOT GA3958 AT implementation> <20070607122642 DOT GA31803 AT trixie DOT casa DOT cgf DOT cx> <20070607160859 DOT GA3577 AT implementation> <20070607163744 DOT GA4972 AT ednor DOT casa1 DOT cgf DOT cx> <20070607164933 DOT GF4110 AT implementation> <ba40711f0706071041u66e12b81k23639ee67332df49 AT mail DOT gmail DOT com> <20070607174554 DOT GH4110 AT implementation> <ba40711f0706071139t6dc53eddl9d3c277a95d56ead AT mail DOT gmail DOT com>
Mime-Version: 1.0
In-Reply-To: <ba40711f0706071139t6dc53eddl9d3c277a95d56ead@mail.gmail.com>
User-Agent: Mutt/1.5.11
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Lev Bishop, le Thu 07 Jun 2007 14:39:17 -0400, a écrit :
> On 6/7/07, Samuel Thibault wrote:
> >Lev Bishop, le Thu 07 Jun 2007 13:41:44 -0400, a écrit :
> >> ...around 80MByte/sec, which maybe isn't as fast as it could be using
> >> native functionality, but surely brltty doesn't need *that* much
> >> bandwidth for transferring text?
> >
> >It doesn't need bandwidth, it needs latency.
> 
> Latency is...
> bash-3.2$ ./socat TCP-LISTEN:5001 PIPE & exec
> 99<>/dev/tcp/127.0.0.1/5001 ; time for (( a=0; a<1000; a++ )); do echo
> $a >&99; read <&99; done; exec 99>&-
> [1] 4492
> 
> real    0m1.959s
> user    0m0.062s
> sys     0m0.172s
> bash-3.2$
> [1]+  Done                    ./socat TCP-LISTEN:5001 PIPE
> 
> ...about 2ms round-trip. How is this a problem?

This adds up to the screen reader latency, etc.

Really, we tried both, and while tcp/ip was a bit painful, local sockets
were smooth.

Samuel

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019