From owner-freebsd-net@FreeBSD.ORG Sat Jun 21 16:30:37 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1E441065684 for ; Sat, 21 Jun 2008 16:30:36 +0000 (UTC) (envelope-from agirling@denetron.com) Received: from mail.denetron.com (mail.denetron.com [64.255.172.105]) by mx1.freebsd.org (Postfix) with ESMTP id DE7F68FC13 for ; Sat, 21 Jun 2008 16:30:36 +0000 (UTC) (envelope-from agirling@denetron.com) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=denetron; d=denetron.com; h=Received:Cc:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=x78tt4p35H4h6IySTG05AuiBHDI3vYPSGiQCWQnPOl44joWitPZfjK56/1PD6L+9i9REutbmFfEK/zMZTvDnsnlrXzMPf5pnL/adgnOHzbNt9xfATo/51eHOiB/zuLIR; Received: from [71.186.236.6] (helo=[192.168.1.60]) by mail.denetron.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KA5Nz-0008G1-Ps; Sat, 21 Jun 2008 15:52:20 +0000 Message-Id: From: Andrew Girling To: Diego Salvador In-Reply-To: <52345.28040.qm@web76103.mail.sg1.yahoo.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v924) Date: Sat, 21 Jun 2008 11:52:17 -0400 References: <52345.28040.qm@web76103.mail.sg1.yahoo.com> X-Mailer: Apple Mail (2.924) Cc: freebsd-net@freebsd.org Subject: Re: [Queueing Packets with ALTQ on Gigabit Fiber Optic and Gigabit Ethernet] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jun 2008 16:30:37 -0000 On Jun 20, 2008, at 8:38 AM, Diego Salvador wrote: > Hi, > > Is there any difference in handling packet queues with ALTQ if the > network card is > a Gigabit fiber network interface and a Gigabit Ethernet network > interface with the > same driver? For example (em) driver for Intel-based cards. I'm > currently having a > system configured with FreeBSD-6.2 RELEASE with PF and ALTQ enabled. > This > host is configured first with Intel 1-Gigabit Ethernet network card > and when it > receive big amount of traffic, I don't see any packet errors with > netstat but when I > switched to the 1-Gigabit fiber optic card, I could see packet > errors with this > interface. A big amount of traffic were bombarded on the interface > around > 800Mbps. > > Here's the sample packet errors received on the system with netstat. > > Gigabit Intel fiber interface > ------------------------------------- > # netstat -I em0 -w 1 > input (em0) output > packets errs bytes packets errs bytes colls > 3260 149652 2547816 0 0 0 0 > 3257 150026 2547756 0 0 0 0 > 3258 150117 2543396 1 0 42 0 > 3259 150181 2549320 0 0 0 0 > 3256 149941 2543244 0 0 0 0 > 3370 149871 2636122 0 0 0 0 > 3255 149534 2544688 0 0 0 0 > 3255 150077 2543966 0 0 0 0 > 3260 150195 2549320 0 0 0 0 > 3259 149603 2547816 0 0 0 0 > 3258 149746 2546312 0 0 0 0 > 3258 149855 2547756 0 0 0 0 > 3261 149851 2549320 0 0 0 0 > 3255 150414 2545410 0 0 0 0 > 3250 149758 2542282 0 0 0 0 > 3255 149842 2545410 0 0 0 0 > 3259 149568 2547756 0 0 0 0 > 3255 149943 2545502 0 0 0 0 > 3261 149893 2548658 0 0 0 0 > 3257 149581 2545530 0 0 0 0 > > Thank you very much! > > Diego Diego, This sounds like it may be a duplex mismatch. Have you tried verifying the speed and duplex on both ends of the fiber connection? A dump of "ifconfig em0" and information on where the device the circuit is connected to would be helpful. Is the circuit known to be working on other machines? Does the problem exist when you disable pf/ altq? Cheers, Andrew