Subject: Re: /dev/par0 very slow?
To: port-amiga list <port-amiga@netbsd.org>
From: Ingolf Koch <ingolf@knuut.de>
List: port-amiga
Date: 02/24/2000 22:43:31
On Sun, Feb 20, 2000 at 09:22:01PM +0100, Ingolf Koch wrote:
> Hi,
> 
> compared with PAR: (AmigaOS), /dev/par0 seems to be _very_
> slow. At least the printer connected to the parallel port
> prints the _same_ file much faster with COPY file PAR:
> than with cp file /dev/par0 (on -current NetBSD/amiga).
> 
> Is there something I should configure before accessing
> /dev/par0?

To be more precise: 20 cps with /dev/par0. Is it really
that slow? It turns out that the while() loop in parsend()
(which waits until old data has been read by the printer)
is almost never executed.

    Ingolf
-- 

Ingolf Koch     ICQ#60829470     Beste Kneipe in Jena-Ost
PGP: 0x7B3B5661  213C 828E 0C92 16B5  05D0 4D5B A324 EC04