From owner-freebsd-net Thu Feb 8 22:45:27 2001 Delivered-To: freebsd-net@freebsd.org Received: from syncopation-01.iinet.net.au (syncopation-01.iinet.net.au [203.59.24.37]) by hub.freebsd.org (Postfix) with SMTP id 2487337B491 for ; Thu, 8 Feb 2001 22:45:09 -0800 (PST) Received: (qmail 8280 invoked by uid 666); 9 Feb 2001 06:51:49 -0000 Received: from reggae-14-106.nv.iinet.net.au (HELO elischer.org) (203.59.77.106) by mail.m.iinet.net.au with SMTP; 9 Feb 2001 06:51:49 -0000 Message-ID: <3A8391E8.89DF969A@elischer.org> Date: Thu, 08 Feb 2001 22:44:56 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Mark Peek Cc: Garrett Wollman , net@FreeBSD.ORG, Luigi Rizzo Subject: Re: potential infinite loop in network device drivers References: <200102090102.f19125x06386@iguana.aciri.org> <200102090209.VAA60712@khavrinen.lcs.mit.edu> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mark Peek wrote: > > At 9:09 PM -0500 2/8/01, Garrett Wollman wrote: > >One possible right way to deal with this is to get rid of the > >two-level interrupt scheme (for fast interfaces at least) and push the > >packets all the way through the network stack. This will ensure that > >if packets are arriving faster than we can handle them, they will be > >dropped by the network interface with an ``insufficient resources'' > >error. > > > >Another possible right way to deal with this is to move all network > >processing into the lower level, and poll round-robin for packets > >(with network interrupts disabled) until all network interfaces are > >finished (or we need to give the user a time slice). > > > >Both techniques were described in a paper by Jeff Mogul (then at DEC > >in Palo Alto) about five years ago; I have a physical copy of the > >paper buried somewhere in my office. > > Is this the paper you were referring to? > I remember a paper on this at USEnix about the same time (maybe 96/7) > > Mark > > --------- > Mark Peek > Director of Internet Technology > IBM Global Small Business/Whistle Communications > Work: (650) 577-7052 Email: mark@whistle.com -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message