From owner-freebsd-questions@FreeBSD.ORG Wed Jul 27 04:36:00 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76DCC16A41F for ; Wed, 27 Jul 2005 04:36:00 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1089143D48 for ; Wed, 27 Jul 2005 04:35:59 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [192.168.214.216] (c-24-1-232-64.hsd1.tx.comcast.net[24.1.232.64]) by comcast.net (sccrmhc12) with ESMTP id <20050727043557012009sf5re>; Wed, 27 Jul 2005 04:35:57 +0000 Message-ID: <42E70F2C.7000209@computer.org> Date: Tue, 26 Jul 2005 23:35:56 -0500 From: Eric Schuele User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050721) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andrew P." References: <200507261631.45751.ringworm01@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: 100Mbit network performance - again X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2005 04:36:00 -0000 Andrew P. wrote: > On 7/27/05, Michael C. Shultz wrote: > >>On Tuesday 26 July 2005 16:00, Andrew P. wrote: >> >>>Hello all! >>> >>>I remember being able to reach 11-12Mbytes/s between two Win95 >>>workstations with NE2000 $10 NIC's installed, connected via BNC cable. >>>I am now able to reach 11-12Mbytes/s between all kinds of Windows >>>2000/XP machines with all kinds of cheapest 100Mbit ethernet hardware. >>> >>>But I have never ever exceeded 8-9Mbytes/s between a Windows machine >>>and a FreeBSD box - _never_. Be it Samba, different ftp/http servers, FWIW... I recently had reason to investigate a network's performance. I was able to consistently get ~95% throughput from windows machines to FreeBSD boxes. I was using iperf (there is a WinX version of iperf as well) and chargen for testing. All PCs were old, and generally using cheap onboard NICs Might try tools specifically geared towards throughput testing. Various protocols have varying amounts of overhead. Tools with throughput testing in mind obviously have overhead minimized. Just my .02 cents. >>>different FreeBSD versions (4.x/5.x), with ipfw enabled or disabled, >>>etc., - the speed always hovers around 7-8Mb/s. I know it's not >>>critical, I know I should've upgraded to Gigabit hardware long ago, >>>but is there something wrong? >>> >>>I tried different linux distros, but they all seem to be even slower. >>>Wazzup?.. >>> >>>Thanks, >>>Andrew P. >> >>Here is the "ifconfig" output from a machine that has one nic set at >>10Mbit/half duplex and one at 100Mbit full duplex. how does it compare with >>your system? >> >>xl0: flags=8843 mtu 1500 >> options=1 >> inet6 fe80::210:4bff:fe70:4fb0%xl0 prefixlen 64 scopeid 0x1 >> inet 71.102.0.97 netmask 0xffffff00 broadcast 71.102.0.255 >> ether 00:10:4b:70:4f:b0 >> media: Ethernet autoselect (10baseT/UTP) .02 more cents..... Sometimes autoselect can work against you. Might try tying it down. >> status: active >>xl1: flags=8843 mtu 1500 >> options=1 >> inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 >> inet6 fe80::210:4bff:fe0a:7cbc%xl1 prefixlen 64 scopeid 0x2 >> ether 00:10:4b:0a:7c:bc >> media: Ethernet 100baseTX >> status: active >> > > Well, if that really matters to you: > (freebsd 5.4) > vr0: flags=8843 mtu 1500 > inet6 fe80::20f:3dff:feca:c494%vr0 prefixlen 64 scopeid 0x1 > inet 192.168.17.217 netmask 0xffffff00 broadcast 192.168.17.255 > ether 00:0f:3d:ca:c4:94 > media: Ethernet autoselect (100baseTX ) > status: active > rl0: flags=8843 mtu 1500 > options=8 > inet 192.168.17.1 netmask 0xffffff00 broadcast 192.168.17.255 > ether 00:40:f4:8d:a7:f8 > media: Ethernet autoselect (100baseTX ) > status: active > rl1: flags=8843 mtu 1500 > options=8 > ether 00:40:f4:8d:9c:af > media: Ethernet autoselect (100baseTX ) > status: active > (fedora core 4) > eth0 Link encap:Ethernet HWaddr 00:E0:81:2F:04:3E > inet addr:193.233.5.13 Bcast:193.233.5.63 Mask:255.255.255.192 > inet6 addr: fe80::2e0:81ff:fe2f:43e/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:123946466 errors:0 dropped:0 overruns:0 frame:0 > TX packets:176380358 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:42267471987 (39.3 GiB) TX bytes:197116022761 (183.5 GiB) > Interrupt:177 > > Andrew P. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Regards, Eric