From owner-freebsd-arch Tue Sep 12 7:14:19 2000 Delivered-To: freebsd-arch@freebsd.org Received: from urban.iinet.net.au (urban.iinet.net.au [203.59.24.231]) by hub.freebsd.org (Postfix) with ESMTP id CFA4537B443 for ; Tue, 12 Sep 2000 07:14:14 -0700 (PDT) Received: from muzak.iinet.net.au (muzak.iinet.net.au [203.59.24.237]) by urban.iinet.net.au (8.8.7/8.8.7) with ESMTP id WAA31508; Tue, 12 Sep 2000 22:14:10 +0800 Received: from jules.elischer.org ([203.59.169.234]) by muzak.iinet.net.au (8.8.5/8.8.5) with SMTP id WAA28846; Tue, 12 Sep 2000 22:14:06 +0800 Message-ID: <39BE3A2A.167EB0E7@elischer.org> Date: Tue, 12 Sep 2000 07:14:02 -0700 From: Julian Elischer X-Mailer: Mozilla 3.04Gold (X11; I; FreeBSD 5.0-CURRENT i386) MIME-Version: 1.0 To: Poul-Henning Kamp Cc: Alfred Perlstein , arch@FreeBSD.ORG Subject: Re: what to do with softinterrupts? References: <73658.968758436@critter> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > > > > I think something like the lazy-switch we (intend to) do for > hw-interrupts sounds promising: foo_input() runs as far as it can > without blocking, when it needs to block, it does so in a another > thread and continues input processing for other packets. this is for soft interrupts, right? > > We could either have one thread per PCB socket standby for > this use, but that's probably a waste of threads, or we can > snatch them from a pool of threads cached for that purpose. the second is probably enough. but each "subsystem" may need to pre-declare how many threads it wants in its pool. > > I seriously don't think we can decide which way to go until we > have basically tried all the candidates in practice. > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD coreteam member | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-arch" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ presently in: Perth v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message