Itai Nahshon <[EMAIL PROTECTED]> writes:
> > Well, that depends. PPP uses 8 bytes of header/trailer and IrLAN uses 14
> > bytes (Ethernet) which you might notice at low speeds. However if you run
> > at 4Mbps then the HDLC, CRC of PPP will give you _much_ worse service than
> > IrLAN. I can get over 340Kbytes/s using IrLAN, but PPP over IrCOMM has
> > never got itself over 250 Kbytes/s.
>
> I'm trying to compare IrNET to PPP directly over a serial lin (physical
> connection) at the same baud rate. I agree it's not a "fair" comparison...
IrNET or IrLAN? IrNET is the PPP over TinyTP stuff used in Win2K.
> Both machines run Linux-2.3.18ac9irda1. I recompiled the kernel with Fast RR
> enabled and things are much better. Strange that it is not symetric (!!).
The protocol (IrLAP) is not symmetric. It's a primary/secondary protocol where
the primary polls the secondary every poll-timeout (negotiable, but usually
500 ms). A secondary cannot send without being polled first.
> Kernel IrDA options are the same but other things (I suspect APM) are not.
> Ping times now average 160 ms piging from the laptop to the desktop and
> 100 ms the other way. Now, when I increase the value in
> /proc/sys/net/irda/fast_poll_increase (default 50) on the desktop machine, I start
> getting ping errors "wrong data byte #8 should be 0xXX but was 0xYY" on the laptop.
> I do not get these errors when increasing the value on the laptop and
> pinging from the desktop. Maybe all the problems that I have experienced are simple
> timeouts that could be adjusted?
This is very strange. Is it possible for you to send me an output of
irdadump when doing this ping session? You can find precompiled irdadump at
a Mandrake ftp site.
-- Dag
--
/ Dag Brattli | The Linux-IrDA Project /
// University of Tromsoe, Norway | Infrared communication for Linux //
/// http://www.cs.uit.no/~dagb | http://www.cs.uit.no/linux-irda/ ///
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda