Re: Gigabit Ethernet performance with Realtek 8111E

2011-11-15 Thread Michael Laß
Hi! Am Montag, den 14.11.2011, 16:18 -0800 schrieb YongHyeon PYUN: > Hmm, it smells like GSO/TSO related issue of Linux ATL1E driver to > me. Would you turn both features OFF on Linux box and try it again? I tried that and it made no difference. These were the settings on the Linux machine: Off

Re: Gigabit Ethernet performance with Realtek 8111E

2011-11-14 Thread YongHyeon PYUN
On Sat, Nov 12, 2011 at 03:04:13PM +0100, Michael La?? wrote: > I should have tried this earlier: > > When using Windows instead of Linux on the other host I don't have any > problems. I'm getting a constant transfer rate of over 500Mbit/s without > a single frame missed on the freebsd-machine. >

Re: Gigabit Ethernet performance with Realtek 8111E

2011-11-12 Thread Michael Laß
I should have tried this earlier: When using Windows instead of Linux on the other host I don't have any problems. I'm getting a constant transfer rate of over 500Mbit/s without a single frame missed on the freebsd-machine. So maybe this problem is more related to the ATL1E driver in the linux ke

Re: Gigabit Ethernet performance with Realtek 8111E

2011-11-12 Thread Michael Laß
Hi! Am Freitag, den 11.11.2011, 15:55 -0800 schrieb YongHyeon PYUN: > > Ok, try attached patch and let me know how it works. Unfortunately it does not make any difference at all. > Your controller is RTL8168E. So I should not trust that Intel data sheet... ;) Greetings, Michael _

Re: Gigabit Ethernet performance with Realtek 8111E

2011-11-11 Thread YongHyeon PYUN
On Fri, Nov 11, 2011 at 10:21:20PM +0100, Michael La?? wrote: > Hi! > > Sorry for my late response. > > Am Montag, den 07.11.2011, 09:59 -0800 schrieb YongHyeon PYUN: > > > > > > Some revisions of RealTek controller have FIFO overrun issue but > > > I'm not sure whether you're seeing the issue.

Re: Gigabit Ethernet performance with Realtek 8111E

2011-11-11 Thread Michael Laß
Attachment has been removed. So this is another try: http://pastebin.com/PArR9D8N Am Freitag, den 11.11.2011, 22:21 +0100 schrieb Michael Laß: > Hi! > > Sorry for my late response. > > Am Montag, den 07.11.2011, 09:59 -0800 schrieb YongHyeon PYUN: > > > > > > Some revisions of RealTek controlle

Re: Gigabit Ethernet performance with Realtek 8111E

2011-11-11 Thread Michael Laß
Hi! Sorry for my late response. Am Montag, den 07.11.2011, 09:59 -0800 schrieb YongHyeon PYUN: > > > > Some revisions of RealTek controller have FIFO overrun issue but > > I'm not sure whether you're seeing the issue. Try enabling flow > > control and see whether that makes any difference. You

Re: Gigabit Ethernet performance with Realtek 8111E

2011-11-07 Thread YongHyeon PYUN
On Sun, Nov 06, 2011 at 03:40:54PM -0800, YongHyeon PYUN wrote: > On Sat, Nov 05, 2011 at 12:53:23PM +0100, Michael La?? wrote: > > Hi! > > > > I've got a small NAS with Intel D525MW (Atom) board inside using FreeBSD > > 9.0-RC1 as operating system. It has an onboard Realtek 8111E ethernet > > ada

Re: Gigabit Ethernet performance with Realtek 8111E

2011-11-06 Thread YongHyeon PYUN
On Sat, Nov 05, 2011 at 12:53:23PM +0100, Michael La?? wrote: > Hi! > > I've got a small NAS with Intel D525MW (Atom) board inside using FreeBSD > 9.0-RC1 as operating system. It has an onboard Realtek 8111E ethernet > adapter. I'm experiencing heavy performance problems when transfering > files f

Re: Gigabit Ethernet performance with Realtek 8111E

2011-11-06 Thread Adrian Chadd
Hi, You've triggered off a little memory cell deep in my ath(4) 11n hacking. I saw similar issues with TX/RX interrupt handling and fifo underrun/overrun/timeouts. It turns out there were bugs in the interrupt handling code. :-) Someone who can read the driver and/or has access to the datasheets

Re: Gigabit Ethernet performance with Realtek 8111E

2011-11-06 Thread Rick Macklem
Michael wrote: > Hi! > > Am Samstag, den 05.11.2011, 11:03 -0400 schrieb Rick Macklem: > > try typing: > > # sysctl dev.re.0.stats=1 > > - this will dump out the stats on the chip > > if the "Rx missed frames" count is non-zero, you're probably > > snookered, > > to put it technically:-) > >

Re: Gigabit Ethernet performance with Realtek 8111E

2011-11-06 Thread Michael Laß
Hi! Am Samstag, den 05.11.2011, 11:03 -0400 schrieb Rick Macklem: > try typing: > # sysctl dev.re.0.stats=1 > - this will dump out the stats on the chip > if the "Rx missed frames" count is non-zero, you're probably snookered, > to put it technically:-) > - That's what I get for a re chip is

Re: Gigabit Ethernet performance with Realtek 8111E

2011-11-05 Thread Adrian Chadd
.. I do seem to recall dup acks being a problem in the stack, no? Adrian ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: Gigabit Ethernet performance with Realtek 8111E

2011-11-05 Thread Rick Macklem
bevan wrote: > Hi! > > I've got a small NAS with Intel D525MW (Atom) board inside using > FreeBSD > 9.0-RC1 as operating system. It has an onboard Realtek 8111E ethernet > adapter. I'm experiencing heavy performance problems when transfering > files from a specific PC in my network to that NAS. I

Gigabit Ethernet performance with Realtek 8111E

2011-11-05 Thread Michael Laß
Hi! I've got a small NAS with Intel D525MW (Atom) board inside using FreeBSD 9.0-RC1 as operating system. It has an onboard Realtek 8111E ethernet adapter. I'm experiencing heavy performance problems when transfering files from a specific PC in my network to that NAS. I did the following tests by