From owner-freebsd-hackers Thu Jun 3 14: 1:26 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from sortie.eecs.umich.edu (sortie.eecs.umich.edu [141.213.10.242]) by hub.freebsd.org (Postfix) with ESMTP id D1BAD15354 for ; Thu, 3 Jun 1999 14:01:20 -0700 (PDT) (envelope-from jeggle@engin.umich.edu) Received: from localhost (jeggle@localhost) by sortie.eecs.umich.edu (8.8.8/8.8.8) with ESMTP id QAA22898 for ; Thu, 3 Jun 1999 16:59:08 -0400 (EDT) (envelope-from jeggle@engin.umich.edu) X-Authentication-Warning: sortie.eecs.umich.edu: jeggle owned process doing -bs Date: Thu, 3 Jun 1999 16:59:08 -0400 (EDT) From: "Joseph E. Eggleston" X-Sender: jeggle@sortie.eecs.umich.edu To: freebsd-hackers@freebsd.org Subject: FreeBSD routing Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've been trying to understand some odd behavior in FreeBSD and I'm wondering if anyone has an explanation for what's going on. I'm using a FreeBSD box as a router in some tests. I cause congestion at the router by sending more packets through it than the outgoing link can handle (10Mbps). What I've noticed is that when the queue becomes full a large number of _consecutive_ packets get dropped. After this the queue is almost empty and it begins to fill again. This behavior seems odd to me. Shouldn't the queue stay about full, dropping packets in a more uniform fashion? I've tried it with both fxp and DEC 21140A cards with similar results. The fxp driver seems to drop fewer packets more frequently (about half the queue, but the queue still ends up nearly empty). The 21140A driver drops less often, but drops about a full queue size when it does. The other odd thing is that it seems to drop more packets than could arrive during the time it's dropping. (I send packets at a constant rate.) I've been messing with the drivers a little and it seems like it might have something to do with the transmit buffer garbage collection? There are alot more details I could give, but I just wanted to know if anyone has any idea at all first. Any ideas? Thanks Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message