Since you're wondering, here's my mail to Mark ...

(I've used vr(4) on my router for some time and installed another one
 on another system and I've never had any problems, though the traffic
 has been minimal).

On Fri, 10 Dec 2010 12:18:03 -0500
Brynet <bry...@gmail.com> wrote:

> Mark Kettenis wrote:
> > Here's an attempt to fix a potential MCLGETI issue with vr(4) similar
> > to what I recently fixed fro re(4).  Unfortunately I don't have any
> > vr(4) hardware myself, so I need some hep testing this.
> > 
> > Things to look for are:
> > 
> > 1. Does this diff have any effect on throughput (packets/s, bits/s).
> > 
> > 2. Does this fix any problems with the interface if you blast it with
> >    packets?
> > 
> > 3. Does livelock mitigation actualy work?
> > 
> > Thanks,
> > 
> > Mark
> 
> Hi Mark,
> 
> Did you receive any feedback for this? is there an easy way to replicate
> the problems others are seeing, as my systems seem stable.
> 
> Using this patch doesn't seem to cause any noticeable performance
> regressions.
> 

On Sun, 5 Dec 2010 16:44:27 +0100 (CET)
Mark Kettenis <mark.kette...@xs4all.nl> wrote:

> Here's an attempt to fix a potential MCLGETI issue with vr(4) similar
> to what I recently fixed fro re(4).  Unfortunately I don't have any
> vr(4) hardware myself, so I need some hep testing this.

No apparent problems here.  I get the same speed and no hangs, though I
never encountered hangs before.  I just installed this card.  I'm running
the December 4th snapshot.  Kernel sources from yesterday, ran with and
without your patch.

Not sure what "blast it with packets" mean, but I ran iperf and tcpbench
quite a while.  If you have other tools you want me to use, let me know.

Speed was stable at 94.2 Mbps, BTW.

$ dmesg | grep vr0
vr0 at pci0 dev 9 function 0 "VIA VT6105 RhineIII" rev 0x86: irq 5, address 
00:11:95:e2:bb:a1
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 4: OUI 0x004063, 
model 0x0034

$ ifconfig vr0
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:11:95:e2:bb:a1
        priority: 0
        groups: egress
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 10.0.0.7 netmask 0xffffff00 broadcast 10.0.0.255
        inet6 fe80::211:95ff:fee2:bba1%vr0 prefixlen 64 scopeid 0x2

# pcidump -v 0:9:0
 0:9:0: VIA VT6105 RhineIII
        0x0000: Vendor ID: 1106 Product ID: 3106
        0x0004: Command: 0117 Status ID: 2210
        0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 86
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 08
        0x0010: BAR io addr: 0x0000d000/0x0100
        0x0014: BAR mem 32bit addr: 0xcfffcf00/0x00000100
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1186 Product ID: 1403
        0x0030: Expansion ROM Base Address: cffe0000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 05 Min Gnt: 03 Max Lat: 08
        0x0040: Capability 0x01: Power Management

$ dmesg
OpenBSD 4.8-current (GENERIC) #1: Mon Dec  6 16:34:47 CET 2010
    tpf...@hack.tp76.info:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) XP 1800+ ("AuthenticAMD" 686-class, 256KB L2 cache) 1.53 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 267939840 (255MB)
avail mem = 253505536 (241MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/29/02, BIOS32 rev. 0 @ 0xfdae0, SMBIOS 
rev. 2.3 @ 0xf0630 (23 entries)
bios0: vendor American Megatrends Inc. version "07.00T" date 04/02/01
bios0: ECS K7S5A
apm0 at bios0: Power Management spec V1.2
apm0: AC on, no battery
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7950/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:02:0 ("SiS 85C503 System" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xcc000/0x8000
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "SiS 735 PCI" rev 0x01
sisagp0 at pchb0
agp0 at sisagp0: aperture at 0xd0000000, size 0x2000000
ppb0 at pci0 dev 1 function 0 "SiS 86C201 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Rage Pro" rev 0x5c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 "SiS 85C503 System" rev 0x00
ohci0 at pci0 dev 2 function 2 "SiS 5597/5598 USB" rev 0x07: irq 11, version 
1.0, legacy support
ohci1 at pci0 dev 2 function 3 "SiS 5597/5598 USB" rev 0x07: irq 12, version 
1.0, legacy support
pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0xd0: 735: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <ST34321A>
wd0: 32-sector PIO, LBA, 4103MB, 8404830 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <, RW-321248, 1.00> ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
auich0 at pci0 dev 2 function 7 "SiS 7012 AC97" rev 0xa0: irq 11, SiS7012 AC97
ac97: codec id 0x414c4710 (Avance Logic ALC200)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, Realtek 3D
audio0 at auich0
sis0 at pci0 dev 3 function 0 "SiS 900 10/100BaseTX" rev 0x90: irq 12, address 
00:07:95:54:c9:9c
rlphy0 at sis0 phy 1: RTL8201L 10/100 PHY, rev. 1
vr0 at pci0 dev 9 function 0 "VIA VT6105 RhineIII" rev 0x86: irq 5, address 
00:11:95:e2:bb:a1
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 4: OUI 0x004063, 
model 0x0034
eap0 at pci0 dev 13 function 0 "Ensoniq AudioPCI" rev 0x01: irq 11
audio1 at eap0
midi0 at eap0: <AudioPCI MIDI UART>
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x2e/2: IT8705F rev 2, EC port 0x290
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "SiS OHCI root hub" rev 1.00/1.00 addr 1
usb1 at ohci1: USB revision 1.0
uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00 addr 1
biomask ff47 netmask ff67 ttymask ffff
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b

Reply via email to