From owner-freebsd-stable@FreeBSD.ORG Thu Nov 30 22:21:09 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 620C316A40F for ; Thu, 30 Nov 2006 22:21:09 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from smtp3.clear.net.nz (smtp3.clear.net.nz [203.97.33.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF86A43CA6 for ; Thu, 30 Nov 2006 22:20:58 +0000 (GMT) (envelope-from markir@paradise.net.nz) Received: from [192.168.1.11] (218-101-28-65.dsl.clear.net.nz [218.101.28.65]) by smtp3.clear.net.nz (CLEAR Net Mail) with ESMTP id <0J9K00HVTE374A10@smtp3.clear.net.nz> for freebsd-stable@freebsd.org; Fri, 01 Dec 2006 11:21:08 +1300 (NZDT) Date: Fri, 01 Dec 2006 11:21:06 +1300 From: Mark Kirkwood In-reply-to: <456E6C55.3070609@paradise.net.nz> To: Mark Kirkwood Message-id: <456F5952.9020305@paradise.net.nz> MIME-version: 1.0 Content-type: multipart/mixed; boundary=------------030507060602060905080302 References: <456DA282.6000801@smo.de> <20061129183028.L23451@sporker.bway.net> <456E6C55.3070609@paradise.net.nz> User-Agent: Thunderbird 1.5.0.8 (X11/20061129) Cc: Charles Sprickman , freebsd-stable@freebsd.org, Philipp Ost Subject: Re: vr speed issues X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2006 22:21:09 -0000 This is a multi-part message in MIME format. --------------030507060602060905080302 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mark Kirkwood wrote: > Charles Sprickman wrote: > >> I also did a little more digging and noticed that once I start pinging >> from one of these hosts using large packet sizes, I get about 50-60% >> packet loss (ie: ping -s 1500 other.vr0.host). If I ping something >> with a decent card, I get about 30-50% packet loss. There's no packet >> loss with the default packet size. >> >> Anyone else with some vr cards feel like checking this out? >> > > I've got a VIA Rhine III card that I can dig out and put in if the data > would be of any use/interest etc - FWIW I seem to recall being able to > get reasonably close to wire speed when I was using it. > I plugged in the card today, and seem to get pretty reasonable performance (8-10MB/s for scp - see attached). The two boxes are plugged into a Linksys router via store made cat5 or cat6 cables. The second box has an Intel PRO 100 (fxp) adapter. Removing the vr card and going back to fxp everywhere seems to provide better performance (e.g. get 9MB/s in the last test), but the vr performance is acceptable (maybe your router clashes with your card?). Cheers Mark --------------030507060602060905080302 Content-Type: text/plain; name="vr_test" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="vr_test" Testing VIA Phine (vr) Adapter ============================== Setup for box with vr adapter ----------------------------- # pciconf -lv vr0@pci0:9:0: class=0x020000 card=0x14031186 chip=0x31061106 rev=0x86 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT6105M/LOM Rhine III PCI Fast Ethernet Controller' class = network subclass = ethernet # ifconfig vr0 vr0: flags=8843 mtu 1500 inet 192.168.1.11 netmask 0xffff0000 broadcast 192.168.255.255 ether 00:0d:88:f5:83:50 media: Ethernet autoselect (100baseTX ) status: active Copy from box with vr adaptor to box with fxp adapter ----------------------------------------------------- $ scp host2:`pwd`/file . file 100% 861MB 9.8MB/s 01:28 [postgres:/data0/dump]$ ls file $ scp file host2:/tmp file 100% 861MB 9.7MB/s 01:29 Copy from box with fxp adapter to box with vr adapter ----------------------------------------------------- $ scp file host1:`pwd` file 100% 861MB 8.3MB/s 01:44 --------------030507060602060905080302--