Date: Tue, 27 Jun 2006 17:41:51 -0400 From: Mike Tancsa <mike@sentex.net> To: wpaul@freebsd.org (Bill Paul), glebius@freebsd.org (Gleb Smirnoff) Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/share/man/man4 re.4 src/sys/dev/re if_re.c src/sys/dev/mii rgephy.c src/sys/pci if_rlreg.h Message-ID: <6.2.3.4.0.20060627171641.10e46f78@64.7.153.2> In-Reply-To: <20060627151907.8794216A40B@hub.freebsd.org> References: <20060627104233.GC86439@FreeBSD.org> <20060627151907.8794216A40B@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At 11:19 AM 27/06/2006, Bill Paul wrote: >[Charset koi8-r unsupported, filtering to ASCII...] > > On Mon, Jun 26, 2006 at 08:44:34PM +0000, Bill Paul wrote: > > B> wpaul 2006-06-26 20:44:34 UTC > > B> > > B> FreeBSD src repository > > B> > > B> Modified files: (Branch: RELENG_6) > > B> share/man/man4 re.4 > > B> sys/dev/re if_re.c > > B> sys/dev/mii rgephy.c > > B> sys/pci if_rlreg.h > > B> Log: > > B> MFC updates to the re(4) driver from -current > > > > Is this going to be working? AFAIK, the new taskqueue API isn't > > merged yet. > >I decided not to use the new taskqueue API so that the code wouldn't >diverge too much. I don't have time to provide a lot of maintenance >on this, so the less work that's involved, the better. I tested >it on both 6.1 and 7.x before checking it in and it seemed fine >(though, granted, I'm only able to test it on x86). I gave it a try on a test box and it seems to work OK. Not the fastest around, but I didnt get any timeouts or errors when doing ftps and scps. Using netblast on AMD64 with the re0 xover cable to an i386 box with a bge0 on the other end. i386 # ifconfig bge0 bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=18<VLAN_MTU,VLAN_HWTAGGING> inet 10.1.1.2 netmask 0xffffff00 broadcast 10.1.1.255 ether 00:10:18:14:27:d5 media: Ethernet autoselect (1000baseTX <full-duplex>) status: active amd 64[amdtest]# ifconfig re0 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=18<VLAN_MTU,VLAN_HWTAGGING> inet 10.1.1.1 netmask 0xffffff00 broadcast 10.1.1.255 ether 00:0e:2e:00:ea:8e media: Ethernet autoselect (1000baseTX <full-duplex>) status: active 64[amdtest]# uname -a FreeBSD amdtest.sentex.ca 6.1-STABLE FreeBSD 6.1-STABLE #1: Tue Jun 27 15:25:02 EDT 2006 mdtancsa@amdtest.sentex.ca:/usr/obj/usr/src/sys/amd amd64 64[amdtest]# re0 as the client in SMP mode 64[amdtest]# dmesg Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-STABLE #1: Tue Jun 27 15:25:02 EDT 2006 mdtancsa@amdtest.sentex.ca:/usr/obj/usr/src/sys/amd ACPI APIC Table: <A M I OEMAPIC > Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2000.09-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x20f32 Stepping = 2 Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> Features2=0x1<SSE3> AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow> AMD Features2=0x3<LAHF,CMP> Cores per package: 2 real memory = 503119872 (479 MB) avail memory = 475750400 (453 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 4] local 10.1.1.2 port 5001 connected with 10.1.1.1 port 57798 [ 4] 0.0-10.0 sec 231 MBytes 194 Mbits/sec [ 4] local 10.1.1.2 port 5001 connected with 10.1.1.1 port 53642 [ 4] 0.0-10.0 sec 248 MBytes 208 Mbits/sec [ 4] local 10.1.1.2 port 5001 connected with 10.1.1.1 port 63370 [ 4] 0.0-10.0 sec 249 MBytes 208 Mbits/sec Doing a netblast TO the re0 box (note the errors as it cant keep up) start: 1151443628.447141225 finish: 1151443638.447754990 send calls: 5430261 send errors: 4752369 approx send rate: 67789 approx error rate: 0 Doing a netblast From/On the re0 box 64[amdtest]# ./netblast 10.1.1.2 500 1450 10 send calls: 4792501 send errors: 4592056 approx send rate: 20044 approx error rate: 0 With a UP kernel on the AMD64, no difference 64[amdtest]# ./netblast 10.1.1.2 500 1450 10 send calls: 3250519 send errors: 3049462 approx send rate: 20105 approx error rate: 0 64[amdtest]# With the same AMD64 box, but with bge0 doing the netblast instead with UP kernel 64[amdtest]# ./netblast 10.1.1.2 500 1450 10 send calls: 5042722 send errors: 4574659 approx send rate: 46806 approx error rate: 0 64[amdtest]# ifconfig bge0 bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=18<VLAN_MTU,VLAN_HWTAGGING> inet 10.1.1.1 netmask 0xffffff00 broadcast 10.1.1.255 ether 00:10:18:19:e4:cd media: Ethernet autoselect (1000baseTX <full-duplex>) status: active 64[amdtest]# AMD64 = client, i386 box=server ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 4] local 10.1.1.2 port 5001 connected with 10.1.1.1 port 61638 [ 4] 0.0-10.0 sec 590 MBytes 495 Mbits/sec [ 4] local 10.1.1.2 port 5001 connected with 10.1.1.1 port 51381 [ 4] 0.0-10.0 sec 585 MBytes 490 Mbits/sec [ 4] local 10.1.1.2 port 5001 connected with 10.1.1.1 port 61954 [ 4] 0.0-10.0 sec 586 MBytes 492 Mbits/sec ---Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.3.4.0.20060627171641.10e46f78>