Q: multiple task queues performance ?

From: Stelian Pop (stelian.pop@fr.alcove.com)
Date: Fri Mar 16 2001 - 04:56:38 EST


Hi folks,

I'm writing a driver for a ISDN card which needs to be able
to send data to several channels, each channel having its own
flow control flag.

Actually, I use one send queue (sk_buff_head) and one task queue
(tq_struct) for each channel, the task being controled by the
flow flag and queued on tq_immediate.

The problem is that some versions of the same ISDN card are able
to manage up to 256 ISDN channels, so the driver could end up
having 256 task queues queued on tq_immediate...

Is this The Good Way(tm) to do the job or 256 task queues implies
too much overhead and I should reimplement the access to the channels
using only one task queue and do some polling policy on the
channels myself ?

Thanks.

Stelian.

-- 
Stelian Pop <stelian.pop@fr.alcove.com>
|------------- Ingénieur Informatique Libre --------------|
| Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|----------- Alcôve, l'informatique est libre ------------|
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 23 2001 - 21:00:08 EST