[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-sparc64
Subject: Re: em(4) patch
From: Sten Spans <sten () blinkenlights ! nl>
Date: 2005-04-19 12:29:36
Message-ID: Pine.SOC.4.61.0504191346380.11438 () tea ! blinkenlights ! nl
[Download RAW message or body]
On Tue, 19 Apr 2005, Pyun YongHyeon wrote:
> On Thu, Apr 14, 2005 at 06:26:08PM +0900, To freebsd-sparc64@freebsd.org wrote:
> >
> > I have a initial patch that make em(4) work on sparc64.
> > The patch seems to work but it may have uncovered bugs in it.
>
> Here is updated patch.
> http://www.kr.freebsd.org/~yongari/em.patch.0419
>
> The new patch includes jmg's suggestion and supports JUMBO frames.
> Though OpenBSD's aligment code works well I noticed it suffers
> from poor performance. So I used simple mbuf prepend method which
> is slightly faster than that of OpenBSD's code. Of course, best
> performance would be obtained when JUMBO frame is not used at all. :-(
Great, thanks for looking into this.
I've tested the patch on an alpha (ds10) running 5.4-RC3,
with dev/em from current.
Some netperf results:
Recv Send Send
Socket Socket Message Elapsed
Size Size Size Time Throughput
bytes bytes bytes secs. 10^6bits/sec
openbsd code in: 87380 32768 32768 10.01 415.38
openbsd code out: 65536 16384 16384 10.00 403.87
fbsd patch in: 87380 32768 32768 10.01 409.02
fbsd patch out: 65536 16384 16384 10.00 464.78
Aka roughly comparable performance, and no crash :)
--
Sten Spans
"There is a crack in everything, that's how the light gets in."
Leonard Cohen - Anthem
_______________________________________________
freebsd-sparc64@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64
To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic