Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2008 11:52:17 -0400
From:      Andrew Girling <agirling@denetron.com>
To:        Diego Salvador <salvador_d13@yahoo.com.ph>
Cc:        freebsd-net@freebsd.org
Subject:   Re: [Queueing Packets with ALTQ on Gigabit Fiber Optic and Gigabit Ethernet]
Message-ID:  <E4172654-EA07-4663-9F5D-54CD5C21A9C2@denetron.com>
In-Reply-To: <52345.28040.qm@web76103.mail.sg1.yahoo.com>
References:  <52345.28040.qm@web76103.mail.sg1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E4172654-EA07-4663-9F5D-54CD5C21A9C2>