Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2012 15:04:47 -0800 (PST)
From:      Barney Cordoba <barney_cordoba@yahoo.com>
To:        Garrett Cooper <yanegomi@gmail.com>, Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-net@freebsd.org, David Christensen <davidch@freebsd.org>, linimon@freebsd.org
Subject:   Re: kern/174851: [bxe] [patch] UDP checksum offload is wrong in bxe driver
Message-ID:  <1356995087.59212.YahooMailClassic@web121604.mail.ne1.yahoo.com>
In-Reply-To: <CAJ-VmonQ2UXneComC_2CQ_wRrUq9eR4XD9JLezz5AEFzRqB_Lw@mail.gmail.com>

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


--- On Mon, 12/31/12, Adrian Chadd <adrian@freebsd.org> wrote:

> From: Adrian Chadd <adrian@freebsd.org>
> Subject: Re: kern/174851: [bxe] [patch] UDP checksum offload is wrong in bxe driver
> To: "Garrett Cooper" <yanegomi@gmail.com>
> Cc: "Barney Cordoba" <barney_cordoba@yahoo.com>, "David Christensen" <davidch@freebsd.org>, linimon@freebsd.org, freebsd-net@freebsd.org
> Date: Monday, December 31, 2012, 2:00 PM
> On 31 December 2012 07:58, Garrett
> Cooper <yanegomi@gmail.com>
> wrote:
> 
> > I would ask David about whether or not there was a
> performance
> > difference because they might have some numbers for
> if_bxe.
> >
> > Not sure about the concept in general, but it seems
> like a reasonable
> > application protocol specific request. But by and
> large, I agree that
> > UDP checksumming doesn't make logical sense because it
> adds
> > unnecessary overhead on a L3 protocol that's assumed to
> be unreliable.
> 
> People are terminating millions of VoIP calls on FreeBSD
> devices. All using UDP.
> 
> I can imagine large scale VoIP gateways wanting to try and
> benefit from this.
> 

The statement above "assumes" that there is a benefit. voIP packets 
are short, so the benefit of offloading is reduced. There is some
delay added by the hardware, and there are cpu cycles used in managing
the offload code. So those operations not only muddy the code,
but they may not be faster than simply doing the checksum on a much, much
faster cpu.

BC



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1356995087.59212.YahooMailClassic>