Hi!

> > I tried irlan over 115200 serial line with 2.2.9 linux (virgin). I ran
> > ping and scp of big file. Well, after 196K tranfered at 0.5kB/sec (TCP
> > essentially stopped working), I gave up. Ping gave values such-as 20
> > seconds. Log told me things like "IrLAP, no activity on link". Tcpdump
> > showed bursts of packets interleaved by _lots_ of idle time where one
> > machine tried to ping another and the other one was just not
> > answering.
> > 
> > What is "right" way to transfer data between two computers using IrDA?
> > I thought irlan is ok -- but it is not. Performance is simply
> > unusable. (zmodem gives 10K/sec over same line).
> 
> Well, I don't think you should blame IrLAN since something else is
> definitively wrong. I get 10K FTP when using 115200 (and 330K FTP when
> using FIR) so I suspect that you have some problems with your serial
> driver/config. It might be related to the IrDA stack, but in that case it
> has to be something with irtty (or whatever you are using).

I'm using irtty and then do irattach /dev/ttyS0, having done stty
115200 sane < /dev/ttyS0. Is that right? [I have machines at home,
I'll try to mail you more detailed debug.] I'm not running irmanager
but that hopefully should not be a problem.

> One thing which you should do is to set the IrLAN txqueuelen to 0, since
> all queueing is done by irtty anyway (this will be fixed in the next
> patch). That should fix the problem with high latencies, but there must be
> something else that is the main problem, so please post some logs, so we
> can find out whats wrong. I would like to see output from ifconfig (or
> proc/net/dev). If you can make an output with irdadump, that would be great
> (use the -d option!)

I'm unable to compile irdadump, tcpdump is all that I can provide.

                                                                Pavel
-- 
The best software in life is free (not shareware)!              Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

Reply via email to