From owner-freebsd-hackers Mon Jun 16 02:30:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA24696 for hackers-outgoing; Mon, 16 Jun 1997 02:30:44 -0700 (PDT) Received: from prova.iet.unipi.it (prova1.iet.unipi.it [131.114.9.11]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA24561; Mon, 16 Jun 1997 02:28:30 -0700 (PDT) Received: (from luigi@localhost) by prova.iet.unipi.it (8.8.5/8.8.5) id LAA00577; Mon, 16 Jun 1997 11:27:25 +0200 (CEST) From: Luigi Rizzo Message-Id: <199706160927.LAA00577@prova.iet.unipi.it> Subject: rr queueing To: luigi@prova.iet.unipi.it (Luigi Rizzo) Date: Mon, 16 Jun 1997 11:27:25 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk [I am sending this mail because you might be interested in the subject. You are on the Bcc list so you will not be bothered by replies from other recipients]. I have some preliminary code for implementing RR queueing and associated stuff (including bw allocation) in the bottom layers of the networking stack. When complete (although it pretty much works even now) it is meant to replace the IF_ENQUEUE/IF_DEQUEUE macros. As such, I have tried to make the code and the algorithms fast and efficient. The code includes some description on what it does and how, so if you have comments and suggestions on how to improve it or add more features, let me know. The code is at the following URL http://www.iet.unipi.it/~luigi/newifqueue.c in its current form, it compiles to a standalone program so as to check actual performance and be easily modifiable. Cheers Luigi ==================================================================== Luigi Rizzo Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it Universita' di Pisa tel: +39-50-568533 via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 http://www.iet.unipi.it/~luigi/ ====================================================================