Re: Task queue makes slow device even slower

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 27 Oct 1999 16:51:53 +0100 (BST)


> The solution is to break up the write routine and use a task queue
> fucntion instead, but this makes the device even slower (visibly, that
> is). Each run of the task queue selects the next state in the LCD
> protocol. If we use the timer task queue it is just plain slow, if we use
> the scheduler task queue, the speed depends on the number of processes.
>
> Is it possible to get the device faster without having to use udelay()?

You are constrained by timer resolution. Do you have a spare timer and irq
you can rig for this. If not the best you can do is probably to use tq_immed
and at least the udelays will not impact irq latency

>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/