Re: UDP output performance

2009-09-04 Thread Manish Vachharajani
Hmm, what version of FreeBSD are you using? I don't know the solution but I wonder if it is related to a similar problem we are having with TCP connection scaling, both under 7.2 and 8.0 over a 10 Gb link. We've been trying to track it down, and if you see it for UDP as well that may give some clu

Re: em driver input errors

2009-09-04 Thread Manish Vachharajani
Just decided to follow this thread as it seems to be related to some issues we are seeing as well. It appears that under heavy packet loads, the kernel cannot pull packets off the NIC fast enough and thus is slow to free up descriptors into which the NIC can DMA packets. This causes the NIC to dr

No ifp->if_ioctl for SIOCAIFADDR and SIOCDIFADDR causes CARP issues on 7.3?

2010-09-12 Thread Manish Vachharajani
I was poking around some of the in_carp.c code and noticed some odd behavior due to the fact that ifp->if_ioctl is not always called on address configuration. It seems that ifp->if_ioctl is not called for SIOCAIFADDR and SIOCDIFADDR, only SIOCSIFADDR under FreeBSD 7.3 release. I confirmed this wit

Dropped vs. missed packets in the ixgbe driver

2009-08-17 Thread Manish Vachharajani
235 ix1: XOFF Xmtd = 0 ix1: Total Packets Rcvd = 12424533 ix1: Good Packets Rcvd = 12010661 ix1: Good Packets Xmtd = 6419128 ix1: TSO Transmissions = 0 Manish -- Manish Vachharajani mani...@lineratesystems.com ___ freebsd-net@freebsd.org

Re: Dropped vs. missed packets in the ixgbe driver

2009-08-18 Thread Manish Vachharajani
g at the driver in FreeBSD 8.0 :) which supports RSS to help performance scaling, though we have some interesting data there that I'll post about once I confirm that the numbers are indeed correct and not a tuning or setup problem. Manish > --- On Mon, 8/17/09, Manish Vachharajani w

Re: Dropped vs. missed packets in the ixgbe driver

2009-08-19 Thread Manish Vachharajani
u look in ixgbe_update_stats_counters at the bottom: > >        ifp->if_ierrors = missed_rx + adapter->stats.crcerrs + >                adapter->stats.rlec; > > the errors are added in. > > BC -- Manish Vachharajani Founder LineRate Systems mani

Re: Dropped vs. missed packets in the ixgbe driver

2009-08-20 Thread Manish Vachharajani
counted in the ierrors field as you said. Is the Ierrs in the netstat output some other counter? If so, how do I get the if_ierrors variable from the command line? Manish On Thu, Aug 20, 2009 at 6:49 AM, Barney Cordoba wrote: > > > --- On Wed, 8/19/09, Manish Vachharajani wrote

Re: Dropped vs. missed packets in the ixgbe driver

2009-08-20 Thread Manish Vachharajani
ot sure if it > has any relevance to this, but its possible. > > Jack > > > On Thu, Aug 20, 2009 at 9:53 AM, Manish Vachharajani > wrote: >> >> Oh whoops, sorry didn't see that.  So the plot thickens.  Why don't >> these errors show up in the netstat ou

Re: Dropped vs. missed packets in the ixgbe driver

2009-08-20 Thread Manish Vachharajani
be the misses seen on this call to the function. Manish On Thu, Aug 20, 2009 at 11:23 AM, Manish Vachharajani wrote: > I noticed the bogus XON, XOFF numbers.  I'm glad to see it will be > fixed so I can cross it off my todo list.  :)  I don't think the issue > is related thou

Re: Dropped vs. missed packets in the ixgbe driver

2009-08-20 Thread Manish Vachharajani
_ierrors = missed_rx_cum + adapter->stats.crcerrs + adapter->stats.rlec; } On Thu, Aug 20, 2009 at 11:32 AM, Manish Vachharajani wrote: > My co-founder, John, just pointed out the problem. > > The MPC register on ixgbe is clear on read.  stats.mpc[i] correctly >

Re: Dropped vs. missed packets in the ixgbe driver

2009-08-20 Thread Manish Vachharajani
I assume? > > Cheers, > > Jack > > > On Thu, Aug 20, 2009 at 10:34 AM, Manish Vachharajani > wrote: >> >> Whoops, the correct fix is below.  Forgot to use missed_rx_cum when >> summing: >> >> diff --git a/fbsd/ixgbe-1.7.4/ixgbe.c b/fbsd/ixgbe-1.7