Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 2010 12:55:08 -0700
From:      Jack Vogel <jfvogel@gmail.com>
To:        pyunyh@gmail.com
Cc:        freebsd-stable@freebsd.org
Subject:   Re: RELENG_7 em problems (and RELENG_8)
Message-ID:  <AANLkTimAES-gi1rrTzHwNP-63LU1Hb5YJkQS8J7gU8Xm@mail.gmail.com>
In-Reply-To: <20100817194705.GD6482@michelle.cdnetworks.com>
References:  <201006102031.o5AKVCH2016467@lava.sentex.ca> <201007021739.o62HdMOU092319@lava.sentex.ca> <20100702193654.GD10862@michelle.cdnetworks.com> <201008162107.o7GL76pA080191@lava.sentex.ca> <20100817185208.GA6482@michelle.cdnetworks.com> <20100817191420.GB6482@michelle.cdnetworks.com> <AANLkTi=UkuZ9wGTR2e=CBDmJMrbeGKiCP-U0bF8Vr2_3@mail.gmail.com> <20100817194705.GD6482@michelle.cdnetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The guy who worries about the Linux driver's performance is in my team, and
he's
a very good engineer, and we're talking about the hardware's DMA, so its not
an OS issue, thus I'm not saying I'm sure, but I'm dubious about this, at
least
when we're talking about igb. But hey, I'm willing to be proven wrong :)

Jack


On Tue, Aug 17, 2010 at 12:47 PM, Pyun YongHyeon <pyunyh@gmail.com> wrote:

> On Tue, Aug 17, 2010 at 12:34:31PM -0700, Jack Vogel wrote:
> > I believe the requirement of a context descriptor for most frames in the
> igb
> > driver
> > is just the way the hardware works, I've looked over the Linux driver
> again
> > and it
> > looks like they require the same. I don't believe its a big deal, just
> the
> > added
> > descriptor for the frame.
> >
>
> Setting up context does not cost much. The real cost comes from
> stopping requesting DMA for next packet whenever a new context
> is written.
> AFAIK Linux always added a new checksum context. I don't know
> whether Linux cares about the cost of refilling pipeline or
> measured the performance differences. FreeBSD noticed the
> difference on em(4) controllers and took appropriate action to take
> full advantage of the hardware feature, I think.
> I have to experiment how igb(4) works when it is told to reuse
> configured context(both checksum and TSO context).
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimAES-gi1rrTzHwNP-63LU1Hb5YJkQS8J7gU8Xm>