mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stelian Pop <stelian.pop@fr.alcove.com>
To: linux-kernel@vger.kernel.org
Subject: Q: multiple task queues performance ?
Date: Fri, 16 Mar 2001 10:56:38 +0100	[thread overview]
Message-ID: <20010316105638.B6384@come.alcove-fr> (raw)

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 ------------|

                 reply	other threads:[~2001-03-16  9:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010316105638.B6384@come.alcove-fr \
    --to=stelian.pop@fr.alcove.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®