From owner-freebsd-net@FreeBSD.ORG Sun Dec 18 02:32:56 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FEC216A41F; Sun, 18 Dec 2005 02:32:56 +0000 (GMT) (envelope-from dmehler26@woh.rr.com) Received: from ms-smtp-04-eri0.ohiordc.rr.com (ms-smtp-04-smtplb.ohiordc.rr.com [65.24.5.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id D083B43D55; Sun, 18 Dec 2005 02:32:55 +0000 (GMT) (envelope-from dmehler26@woh.rr.com) Received: from satellite (cpe-65-185-179-246.woh.res.rr.com [65.185.179.246]) by ms-smtp-04-eri0.ohiordc.rr.com (8.12.10/8.12.7) with SMTP id jBI2WqHH006601; Sat, 17 Dec 2005 21:32:52 -0500 (EST) Message-ID: <000301c6037a$37f0cfe0$0402a8c0@satellite> From: "Dave" To: Date: Sat, 17 Dec 2005 21:24:47 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: freebsd-net@freebsd.org Subject: wired and wireless network setup interactions X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dave List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2005 02:32:56 -0000 Hello, I have a setup that was a 10 megabit hub holding together a freebsd6 firewall/router/webserver/other box. Updated that to a 10/100 megabitt Belkin g+ router for wireless. The problem now that i'm having is both the server and this new router do the following: firewall dhcp dns nat and they both utilize separate subnets. I'd like for the Belkin router to handle wireless traffic, while the original fbsd router handles wired as well as it's original functions of firewall, nat, dns, and dhcp. If anyone has any experience with this or recommendations i'd appreciate it. My thought was turn off the dhcp server on the belkin router and let the original fbsd server's dhcp server handle it, but i'm not sure if doing so will disable it's ability to accept wireless clients. I'd also like the wireless network to be secure. Some urgency! Thanks. Dave. From owner-freebsd-net@FreeBSD.ORG Sun Dec 18 03:13:55 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9243116A41F; Sun, 18 Dec 2005 03:13:55 +0000 (GMT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (p72-0-224-2.acedsl.com [72.0.224.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93DAD43D5F; Sun, 18 Dec 2005 03:13:54 +0000 (GMT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.13.4/8.13.4) with ESMTP id jBI3DrTr040450; Sat, 17 Dec 2005 22:13:53 -0500 (EST) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.13.4/8.13.3/Submit) id jBI3DrwC040449; Sat, 17 Dec 2005 22:13:53 -0500 (EST) (envelope-from barney) Date: Sat, 17 Dec 2005 22:13:53 -0500 From: Barney Wolff To: Dave Message-ID: <20051218031353.GA37356@pit.databus.com> References: <000301c6037a$37f0cfe0$0402a8c0@satellite> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000301c6037a$37f0cfe0$0402a8c0@satellite> User-Agent: Mutt/1.5.11 Cc: freebsd-net@freebsd.org, freebsd-questions@freebsd.org Subject: Re: wired and wireless network setup interactions X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2005 03:13:56 -0000 On Sat, Dec 17, 2005 at 09:24:47PM -0500, Dave wrote: > I have a setup that was a 10 megabit hub holding together a freebsd6 > firewall/router/webserver/other box. Updated that to a 10/100 megabitt > Belkin g+ router for wireless. The problem now that i'm having is both the > server and this new router do the following: > firewall > dhcp > dns > nat > and they both utilize separate subnets. I'd like for the Belkin router to > handle wireless traffic, while the original fbsd router handles wired as > well as it's original functions of firewall, nat, dns, and dhcp. > If anyone has any experience with this or recommendations i'd appreciate > it. My thought was turn off the dhcp server on the belkin router and let > the original fbsd server's dhcp server handle it, but i'm not sure if doing > so will disable it's ability to accept wireless clients. I'd also like the > wireless network to be secure. Use the Belkin as a bridge rather than a router, by simply not using its WAN port, and do turn off its dhcp server. I do the same with a Netgear. -- Barney Wolff http://www.databus.com/bwresume.pdf I never met a computer I didn't like. From owner-freebsd-net@FreeBSD.ORG Sun Dec 18 17:53:12 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A1BE16A41F for ; Sun, 18 Dec 2005 17:53:12 +0000 (GMT) (envelope-from peter@dataloss.nl) Received: from useful.dataloss.nl (useful.dataloss.nl [80.84.249.161]) by mx1.FreeBSD.org (Postfix) with SMTP id CDA7543D66 for ; Sun, 18 Dec 2005 17:53:10 +0000 (GMT) (envelope-from peter@dataloss.nl) Received: (qmail 37940 invoked by uid 1001); 18 Dec 2005 17:53:08 -0000 Date: Sun, 18 Dec 2005 18:53:08 +0100 From: Peter van Dijk To: freebsd-net@freebsd.org Message-ID: <20051218175308.GB48223@dataloss.nl> References: <20051214054114.058C243D60@mx1.FreeBSD.org> <20051214071020.GC5248@heff.fud.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051214071020.GC5248@heff.fud.org.nz> User-Agent: Mutt/1.4i Subject: Re: Bridging VLAN's X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2005 17:53:12 -0000 On Wed, Dec 14, 2005 at 08:10:20PM +1300, Andrew Thompson wrote: > ifconfig em0.1 create > ifconfig em0.2 create > ifconfig em0.3 create Is this 'shorthand' documented anywhere? I could not find it in man ifconfig and man vlan at a brief glance/search. Cheers, Peter -- peter@dataloss.nl | ~ tonight tonight, what is this potion http://blog.dataloss.nl/ | ~ that makes a fool of me UnderNet/#clue | Wayfinder, fr-025 soundtrack From owner-freebsd-net@FreeBSD.ORG Mon Dec 19 11:02:48 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 994E316A420 for ; Mon, 19 Dec 2005 11:02:48 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B997D43D64 for ; Mon, 19 Dec 2005 11:02:25 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBJB2ORH011293 for ; Mon, 19 Dec 2005 11:02:24 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBJB2NN1011287 for freebsd-net@freebsd.org; Mon, 19 Dec 2005 11:02:23 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 19 Dec 2005 11:02:23 GMT Message-Id: <200512191102.jBJB2NN1011287@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-net@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2005 11:02:48 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/07/11] kern/54383 net [nfs] [patch] NFS root configurations wit o [2005/11/03] kern/88450 net SYN+ACK reports strange size of window 2 problems total. From owner-freebsd-net@FreeBSD.ORG Mon Dec 19 14:45:45 2005 Return-Path: X-Original-To: net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C3F016A41F; Mon, 19 Dec 2005 14:45:45 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A45E43D5E; Mon, 19 Dec 2005 14:45:43 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.3/8.13.3) with ESMTP id jBJEjdq1071660 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Dec 2005 17:45:40 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.3/8.13.1/Submit) id jBJEjdDF071658; Mon, 19 Dec 2005 17:45:39 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 19 Dec 2005 17:45:39 +0300 From: Gleb Smirnoff To: net@FreeBSD.org Message-ID: <20051219144539.GY41381@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ZJcv+A0YCCLh2VIg" Content-Disposition: inline User-Agent: Mutt/1.5.6i Cc: sam@FreeBSD.org Subject: allocate VLAN tags from UMA X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2005 14:45:45 -0000 --ZJcv+A0YCCLh2VIg Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Colleagues, I've made a patch, implementing Sam's advice to allocate VLAN tags for hwvlantagging capable drivers from UMA zone. The patch gives 6% improvement on a singlethreaded UDP flood. Unfortunately I don't have enough hardware to test it under two simultaneous floods. It probably should give even more improvement in this case. x head-flood + mtag-flood +--------------------------------------------------------------------------+ |x x x x x x + + + ++ +| | |____________A___M________| |________A___M____| | +--------------------------------------------------------------------------+ N Min Max Median Avg Stddev x 6 242001 253604 250265 248885.17 4568.0712 + 6 258408 267557 264955 263794.5 3132.2551 Difference at 95.0% confidence 14909.3 +/- 5037.97 5.99045% +/- 2.02421% (Student's t, pooled s = 3916.52) The problem with the patch is the namespace pollution - vlan UMA zone is declared in kern_mbuf.c and mtag cookie is declared in mbuf.h. I can't make then private to if_vlan.c, because this will make NIC drivers dependent on vlan(4). Can we accept this? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE --ZJcv+A0YCCLh2VIg Content-Type: text/plain; charset=koi8-r Content-Disposition: attachment; filename=vlan-uma-mtag Index: sys/mbuf.h =================================================================== RCS file: /home/ncvs/src/sys/sys/mbuf.h,v retrieving revision 1.184 diff -u -r1.184 mbuf.h --- sys/mbuf.h 10 Dec 2005 15:21:04 -0000 1.184 +++ sys/mbuf.h 19 Dec 2005 13:07:05 -0000 @@ -758,6 +758,10 @@ #define PACKET_TAG_IPOPTIONS 27 /* Saved IP options */ #define PACKET_TAG_CARP 28 /* CARP info */ +/* Specific cookies and tags. */ +#define MTAG_VLAN 1035328035 +#define MTAG_VLAN_TAG 0 /* tag of VLAN interface */ + /* Packet tag routines. */ struct m_tag *m_tag_alloc(u_int32_t, int, int, int); void m_tag_delete(struct mbuf *, struct m_tag *); @@ -768,6 +772,9 @@ int m_tag_copy_chain(struct mbuf *, struct mbuf *, int); void m_tag_delete_nonpersistent(struct mbuf *); +/* Specific tags routines. */ +struct m_tag *mt_vlan_alloc(int flags); + /* * Initialize the list of tags associated with an mbuf. */ Index: kern/kern_mbuf.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_mbuf.c,v retrieving revision 1.17 diff -u -r1.17 kern_mbuf.c --- kern/kern_mbuf.c 10 Dec 2005 15:21:04 -0000 1.17 +++ kern/kern_mbuf.c 19 Dec 2005 13:06:17 -0000 @@ -133,6 +133,7 @@ uma_zone_t zone_jumbo9; uma_zone_t zone_jumbo16; uma_zone_t zone_ext_refcnt; +uma_zone_t zone_mtag_vlan; /* * Local prototypes. @@ -225,6 +226,12 @@ NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_ZINIT); + zone_mtag_vlan = uma_zcreate("mtag_vlan", + sizeof(struct m_tag) + sizeof(u_int), + NULL, NULL, + NULL, NULL, + UMA_ALIGN_INT, 0); + /* uma_prealloc() goes here... */ /* @@ -511,6 +518,25 @@ return (0); } +static void +mt_vlan_free(struct m_tag *mtag) +{ + uma_zfree(zone_mtag_vlan, mtag); +} + +struct m_tag * +mt_vlan_alloc(int flags) +{ + struct m_tag *mtag; + + mtag = uma_zalloc(zone_mtag_vlan, flags); + if (mtag) { + m_tag_setup(mtag, MTAG_VLAN, MTAG_VLAN_TAG, sizeof(u_int)); + mtag->m_tag_free = mt_vlan_free; + } + return (mtag); +} + /* * This is the protocol drain routine. * Index: net/if_vlan.c =================================================================== RCS file: /home/ncvs/src/sys/net/if_vlan.c,v retrieving revision 1.93 diff -u -r1.93 if_vlan.c --- net/if_vlan.c 28 Nov 2005 12:46:35 -0000 1.93 +++ net/if_vlan.c 19 Dec 2005 12:51:23 -0000 @@ -507,10 +507,7 @@ * packet tag that holds it. */ if (p->if_capenable & IFCAP_VLAN_HWTAGGING) { - struct m_tag *mtag = m_tag_alloc(MTAG_VLAN, - MTAG_VLAN_TAG, - sizeof(u_int), - M_NOWAIT); + struct m_tag *mtag = mt_vlan_alloc(M_NOWAIT); if (mtag == NULL) { ifp->if_oerrors++; m_freem(m); Index: net/if_vlan_var.h =================================================================== RCS file: /home/ncvs/src/sys/net/if_vlan_var.h,v retrieving revision 1.23 diff -u -r1.23 if_vlan_var.h --- net/if_vlan_var.h 18 Dec 2005 18:24:27 -0000 1.23 +++ net/if_vlan_var.h 19 Dec 2005 13:01:03 -0000 @@ -93,8 +93,6 @@ * Note that a driver must indicate it supports hardware VLAN * tagging by marking IFCAP_VLAN_HWTAGGING in if_capabilities. */ -#define MTAG_VLAN 1035328035 -#define MTAG_VLAN_TAG 0 /* tag of VLAN interface */ /* * This macro must expand to a lvalue so that it can be used @@ -103,9 +101,7 @@ #define VLAN_TAG_VALUE(_mt) (*(u_int *)((_mt) + 1)) #define VLAN_INPUT_TAG(_ifp, _m, _t) do { \ - struct m_tag *mtag; \ - mtag = m_tag_alloc(MTAG_VLAN, MTAG_VLAN_TAG, \ - sizeof (u_int), M_NOWAIT); \ + struct m_tag *mtag = mt_vlan_alloc(M_NOWAIT); \ if (mtag != NULL) { \ VLAN_TAG_VALUE(mtag) = (_t); \ m_tag_prepend((_m), mtag); \ --ZJcv+A0YCCLh2VIg-- From owner-freebsd-net@FreeBSD.ORG Mon Dec 19 16:58:11 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0FA816A41F for ; Mon, 19 Dec 2005 16:58:11 +0000 (GMT) (envelope-from liamfoy@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EBE243D58 for ; Mon, 19 Dec 2005 16:58:11 +0000 (GMT) (envelope-from liamfoy@gmail.com) Received: by wproxy.gmail.com with SMTP id i31so1139942wra for ; Mon, 19 Dec 2005 08:58:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=I7sXHLtyya0InQBlB7Ka4ajS0N1gbKjCBWq43VsEJU0EiprcTWuN+k7d+cJnnZMIz7n0kdPgXkMQpzu2SfO3TZGr4KPauWdZcrDjWOL77TaGxP8quey8qWx2ua36lLkE7kx7G9sZkxp7qPQ0AKmbv15/20m1LshSaCRniUZHafY= Received: by 10.65.110.8 with SMTP id n8mr3231360qbm; Mon, 19 Dec 2005 08:58:10 -0800 (PST) Received: by 10.65.204.5 with HTTP; Mon, 19 Dec 2005 08:58:10 -0800 (PST) Message-ID: <3b9a3af80512190858t70b1ed88u49ab0cfc3307f508@mail.gmail.com> Date: Mon, 19 Dec 2005 17:58:10 +0100 From: "Liam J. Foy" To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: ifconfig wi0 scan X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2005 16:58:12 -0000 Hello, Once I am associated with an Access Point and attempt to 'scan' for other Access Points using: ifconfig wi0 scan I become unassociated with no scan results returned. Am using a fresh 6.0 install. Can anyone shead any light? Cheers, -- Liam J. Foy From owner-freebsd-net@FreeBSD.ORG Tue Dec 20 06:30:51 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02F7A16A41F for ; Tue, 20 Dec 2005 06:30:51 +0000 (GMT) (envelope-from exchanged@eloquest.com) Received: from ti121210a081-11257.bb.online.no (ti121210a081-11257.bb.online.no [83.108.43.249]) by mx1.FreeBSD.org (Postfix) with SMTP id F0D1D43D86 for ; Tue, 20 Dec 2005 06:30:45 +0000 (GMT) (envelope-from exchanged@eloquest.com) Received: from unknown (HELO irrelevant) (192.168.49.174) by ti121210a081-11257.bb.online.no with SMTP; Tue, 20 Dec 2005 07:32:25 +0100 Content-Transfer-Encoding: 7bit Message-Id: <35712117801.4721738973@ti121210a081-11257.bb.online.no> Content-Type: text/plain; charset=us-ascii To: freebsd-net@freebsd.org From: Ernie Fuentes Date: Tue, 20 Dec 2005 06:30:45 +0000 (GMT) Subject: Look to our shop for all your prescription needs. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2005 06:30:51 -0000 Learn how to get this freedom...freedom of choice http://ikkz.2xpqqf8e8c8s222vpk2dp2kk.whitlingnn.com/?owzcwr Judgment is forced upon us by experience. Genius is one percent inspiration and ninety-nine percent perspiration. Life is a long lesson in humility. From owner-freebsd-net@FreeBSD.ORG Tue Dec 20 17:00:06 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E657316A41F for ; Tue, 20 Dec 2005 17:00:06 +0000 (GMT) (envelope-from bostondriver@comcast.net) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 821D943D45 for ; Tue, 20 Dec 2005 17:00:06 +0000 (GMT) (envelope-from bostondriver@comcast.net) Received: from smailcenter58.comcast.net ([204.127.205.158]) by comcast.net (sccrmhc13) with SMTP id <2005122017000501300opvi6e>; Tue, 20 Dec 2005 17:00:05 +0000 Received: from [63.160.138.52] by smailcenter58.comcast.net; Tue, 20 Dec 2005 17:00:05 +0000 From: bostondriver@comcast.net To: freebsd-net@freebsd.org Date: Tue, 20 Dec 2005 17:00:05 +0000 Message-Id: <122020051700.20160.43A83894000F31D000004EC022058863609D0A90079D0B02019B9C010D@comcast.net> X-Mailer: AT&T Message Center Version 1 (Aug 4 2005) X-Authenticated-Sender: Ym9zdG9uZHJpdmVyQGNvbWNhc3QubmV0 Subject: ifconfig_fxp0 with both DHCP and Link? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2005 17:00:07 -0000 Hi, I need to set my connection to my cable provider to use both DHCP and set the Ethernet address. Is one meant to use rc.conf for both? man rc.conf says that options can be specified along with DHCP, but setting an address family doesn't show up in the options section of the man page. I belive that placing "ifconfig fxp0 link aa:bb:cc:dd:ee:ff" in /etc/start_if.fxp0 and then leaving rc.conf with just ifconfig_fxp0="DHCP" will work. But that puts the config in multiple files. I'd like to avoid that. What do others do? I can't be the only one who wants to avoid calling the cable company when they change an Ethernet card. Thanks, BD From owner-freebsd-net@FreeBSD.ORG Tue Dec 20 20:17:33 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C5E216A420 for ; Tue, 20 Dec 2005 20:17:33 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACE7343D4C for ; Tue, 20 Dec 2005 20:17:32 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id jBKKHWKU003840; Tue, 20 Dec 2005 12:17:32 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id jBKKHVXi003839; Tue, 20 Dec 2005 12:17:31 -0800 Date: Tue, 20 Dec 2005 12:17:31 -0800 From: Brooks Davis To: bostondriver@comcast.net Message-ID: <20051220201731.GD28172@odin.ac.hmc.edu> References: <122020051700.20160.43A83894000F31D000004EC022058863609D0A90079D0B02019B9C010D@comcast.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Ycz6tD7Th1CMF4v7" Content-Disposition: inline In-Reply-To: <122020051700.20160.43A83894000F31D000004EC022058863609D0A90079D0B02019B9C010D@comcast.net> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-net@freebsd.org Subject: Re: ifconfig_fxp0 with both DHCP and Link? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2005 20:17:33 -0000 --Ycz6tD7Th1CMF4v7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 20, 2005 at 05:00:05PM +0000, bostondriver@comcast.net wrote: > Hi, >=20 > I need to set my connection to my cable provider to use both DHCP and > set the Ethernet address. Is one meant to use rc.conf for both? > > man rc.conf says that options can be specified along with DHCP, but > setting an address family doesn't show up in the options section of > the man page. > > I belive that placing "ifconfig fxp0 link aa:bb:cc:dd:ee:ff" > in /etc/start_if.fxp0 and then leaving rc.conf with just > ifconfig_fxp0=3D"DHCP" will work. But that puts the config in multiple > files. I'd like to avoid that. > > What do others do? I can't be the only one who wants to avoid calling > the cable company when they change an Ethernet card. This is what you'll have to do prior to 6.0. In 6.0 and above you can just do: ifconfig_fxp0=3D"link aa:bb:cc:dd:ee:ff DHCP" -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --Ycz6tD7Th1CMF4v7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDqGbbXY6L6fI4GtQRAvxAAKCZnSi2R7EXk++GXMn3ZPuMQN21RwCfUy54 r6rWDwUpqNn29Hlk+Ufk2DE= =q5nH -----END PGP SIGNATURE----- --Ycz6tD7Th1CMF4v7-- From owner-freebsd-net@FreeBSD.ORG Tue Dec 20 20:35:49 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59E3D16A422 for ; Tue, 20 Dec 2005 20:35:49 +0000 (GMT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (p72-0-224-2.acedsl.com [72.0.224.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1614A43D72 for ; Tue, 20 Dec 2005 20:35:46 +0000 (GMT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.13.4/8.13.4) with ESMTP id jBKKZjet018469 for ; Tue, 20 Dec 2005 15:35:45 -0500 (EST) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.13.4/8.13.3/Submit) id jBKKZjDm018468 for freebsd-net@freebsd.org; Tue, 20 Dec 2005 15:35:45 -0500 (EST) (envelope-from barney) Date: Tue, 20 Dec 2005 15:35:45 -0500 From: Barney Wolff Cc: freebsd-net@freebsd.org Message-ID: <20051220203545.GA18143@pit.databus.com> References: <122020051700.20160.43A83894000F31D000004EC022058863609D0A90079D0B02019B9C010D@comcast.net> <20051220201731.GD28172@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051220201731.GD28172@odin.ac.hmc.edu> User-Agent: Mutt/1.5.11 Subject: Re: ifconfig_fxp0 with both DHCP and Link? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2005 20:35:49 -0000 > > What do others do? I can't be the only one who wants to avoid calling > > the cable company when they change an Ethernet card. As an aside, powering off the cable modem for few minutes usually works to have it accept the new MAC. (I'm not sure whether a brief power cycle will also work - depends on whether the memory of the MAC is in the cable modem itself or at the other end.) -- Barney Wolff http://www.databus.com/bwresume.pdf I never met a computer I didn't like. From owner-freebsd-net@FreeBSD.ORG Wed Dec 21 14:28:55 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD64E16A41F for ; Wed, 21 Dec 2005 14:28:55 +0000 (GMT) (envelope-from dgilbert@daveg.ca) Received: from ox.eicat.ca (ox.eicat.ca [66.96.30.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6866643D58 for ; Wed, 21 Dec 2005 14:28:55 +0000 (GMT) (envelope-from dgilbert@daveg.ca) Received: by ox.eicat.ca (Postfix, from userid 66) id 5E9EA11A00; Wed, 21 Dec 2005 09:28:54 -0500 (EST) Received: by canoe.dclg.ca (Postfix, from userid 101) id E56051A0898; Wed, 21 Dec 2005 09:28:51 -0500 (EST) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17321.26275.562535.796405@canoe.dclg.ca> Date: Wed, 21 Dec 2005 09:28:51 -0500 To: bostondriver@comcast.net In-Reply-To: <122020051700.20160.43A83894000F31D000004EC022058863609D0A90079D0B02019B9C010D@comcast.net> References: <122020051700.20160.43A83894000F31D000004EC022058863609D0A90079D0B02019B9C010D@comcast.net> X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid Cc: freebsd-net@freebsd.org Subject: ifconfig_fxp0 with both DHCP and Link? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2005 14:28:55 -0000 >>>>> "bostondriver" == bostondriver writes: bostondriver> Hi, I need to set my connection to my cable provider to bostondriver> use both DHCP and set the Ethernet address. Is one bostondriver> meant to use rc.conf for both? Pre 6.0, you can edit /etc/dhclient.conf and do the following: interface "dc0" { media "media 10baseT/UTP mediaopt full-duplex"; } IIRC, the media line can accept an 'ether' statement. Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can be | |Mail: dave@daveg.ca | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================ From owner-freebsd-net@FreeBSD.ORG Thu Dec 22 05:30:52 2005 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3233E16A41F for ; Thu, 22 Dec 2005 05:30:52 +0000 (GMT) (envelope-from kelly@nttmcl.com) Received: from alicia.nttmcl.com (alicia.nttmcl.com [216.69.69.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6FE243D49 for ; Thu, 22 Dec 2005 05:30:51 +0000 (GMT) (envelope-from kelly@nttmcl.com) Received: from alicia.nttmcl.com (localhost.localdomain [127.0.0.1]) by alicia.nttmcl.com (8.13.4/8.13.4/Debian-3) with ESMTP id jBM5UpJp018371 for ; Wed, 21 Dec 2005 21:30:51 -0800 Received: from localhost (kelly@localhost) by alicia.nttmcl.com (8.13.4/8.13.4/Submit) with ESMTP id jBM5Upc9018368 for ; Wed, 21 Dec 2005 21:30:51 -0800 X-Authentication-Warning: alicia.nttmcl.com: kelly owned process doing -bs Date: Wed, 21 Dec 2005 21:30:51 -0800 (PST) From: Kelly Yancey To: net@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Please review: patch to add FAST_IPSEC stats to netstat X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2005 05:30:52 -0000 Here is a patch to display stats gathered by the FAST_IPSEC stack: http://people.freebsd.org/~kbyanc/netstat-fastipsec.diff If you have built your kernel with FAST_IPSEC, then without this patch "netstat -s -p ipsec" displays nothing. With this patch, it will display the generic ipsec stats gathered by FAST_IPSEC (which are different than the stats collected by the KAME stack). In addition, stats for the "esp", "ah", and "ipcomp" protocols are also supported. Originally, this functionality was added in-house by Matt Titus to FreeBSD 4.10 and I have ported it to -current as of today. I've tried to verify I didn't make any regressions to the -current version of netstat in the merge process, but I would appreciate any review and/or feedback I can get. Barring any objections, I plan on committing this in 1 week (on the 28th). Thank you, Kelly -- Kelly Yancey - kbyanc@{posi.net,FreeBSD.org} - kelly@nttmcl.com From owner-freebsd-net@FreeBSD.ORG Thu Dec 22 05:48:35 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEFC316A41F for ; Thu, 22 Dec 2005 05:48:35 +0000 (GMT) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: from shuttle.wide.toshiba.co.jp (shuttle.wide.toshiba.co.jp [202.249.10.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F5E143D58 for ; Thu, 22 Dec 2005 05:48:35 +0000 (GMT) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: from impact.jinmei.org (unknown [2001:200:0:8001:a8:1b96:4f91:dcfb]) by shuttle.wide.toshiba.co.jp (Postfix) with ESMTP id B3DFE1521A; Thu, 22 Dec 2005 14:48:29 +0900 (JST) Date: Thu, 22 Dec 2005 14:48:29 +0900 Message-ID: From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= To: priya yelgar In-Reply-To: <20051208050338.22749.qmail@web8513.mail.in.yahoo.com> References: <20051208050338.22749.qmail@web8513.mail.in.yahoo.com> User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI) Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan. MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: freebsd-net@freebsd.org Subject: Re: racoon with freebsd-4.11 crashes X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2005 05:48:35 -0000 >>>>> On Thu, 8 Dec 2005 05:03:38 +0000 (GMT), >>>>> priya yelgar said: > Running racoon on a Freebsd-4.11 machine gives a > kernel panic. > I am using the racoon from ports directory which comes > with the freebsd installation. Can you provide a backtrace of the kernel core? JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp From owner-freebsd-net@FreeBSD.ORG Thu Dec 22 06:53:29 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDA5B16A41F for ; Thu, 22 Dec 2005 06:53:29 +0000 (GMT) (envelope-from nielsen-list@memberwebs.com) Received: from mail.npubs.com (mail.wsfamily.com [209.66.100.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE53C43D45 for ; Thu, 22 Dec 2005 06:53:29 +0000 (GMT) (envelope-from nielsen-list@memberwebs.com) From: Nate Nielsen User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sam Leffler References: <20051216233343.8BECB70DD6F@mail.npubs.com> <43A46701.5050207@errno.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20051222071026.2A57E70DDA1@mail.npubs.com> X-Virus-Scanned: ClamAV using ClamSMTP Date: Thu, 22 Dec 2005 07:10:26 +0000 (GMT) Cc: freebsd-net@freebsd.org Subject: Re: Atheros Looping: ath0: hardware error; resetting X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nielsen@memberwebs.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2005 06:53:30 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sam Leffler wrote: > Seems to work fine here with CURRENT; I just typed the exact commands > from above. "hardware errors" are typically dma errors. If you're > operating in adhoc mode the h/w is periodically sending beacons and if > that tx descriptor gets setup wrong it can cause a dma error. Marking > the interface down will shutdown all dma so if you're seeing these > repeat try doing that. Perhaps there is a race in changing state but I > just did a tight loop where I switched media and saw nothing bad happen. Very strange. I've also seen it switching channels. Maybe it is bad hardware. These radios are now deployed. I'll test again with the next batch. > I can try 6.0 later. FWIW 5213 is kinda nebulous; the only true info > are the mac+phy revs from dmesg|grep ath. ath0: mac 5.9 phy 4.3 radio 3.6 Cheers, Nate -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDqk2ve/sRCNknZa8RAm5FAKC8qQReDSnxUvdtPT+kE46fw95auwCfee9E Ui+YtsnQeGhHnUfK+3GuriI= =Zhy5 -----END PGP SIGNATURE----- From owner-freebsd-net@FreeBSD.ORG Thu Dec 22 18:17:18 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF25116A420 for ; Thu, 22 Dec 2005 18:17:18 +0000 (GMT) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC12843D46 for ; Thu, 22 Dec 2005 18:17:17 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 6500 invoked from network); 22 Dec 2005 18:23:36 -0000 Received: from c00l3r.networx.ch (HELO freebsd.org) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 22 Dec 2005 18:23:36 -0000 Message-ID: <43AAEDAC.54B51832@freebsd.org> Date: Thu, 22 Dec 2005 19:17:16 +0100 From: Andre Oppermann X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Network performance measurements of -current X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2005 18:17:19 -0000 As part my funded TCP/IP optimization work I'm doing lots of measurements and profiling with an Agilent N2X network tester and calibrated traffic generator. The following data shall serve as baseline of the current performance we get out of FreeBSD 7-current. More to come tomorrow though. OS: FreeBSD 7-current as of 20051222-1600 UTC KERNEL: Generic kernel, minus WITNESS and INVARIANTS, plus HWPMC, HZ=1000 HARDWARE: Dual Opteron 852 2.6Ghz, Tyan S2882 Mobo with AMD-8131 PCI-X tunnel HARDWARE: dual Broadcom Gigabit BMC5704C PCI-X-133 ("bge") HARDWARE: dual Intel Gigabit 82546EB PCI-X-133 ("em") Uniprocessor kernel bge: normal forwarding bge0->bge1: @64/326kpps/166us/402kpps(30%Loss)/194us normal forwarding bge0->bge1: @1500/81kpps/520us normal forwarding bge0->disc0: @64/1205kpps IP fastforwarding bge0->bge1: @64/565kpps/192us/575kpps(60%Loss)/1090us IP fastforwarding bge0->bge1: @1500/81kpps/730us IP fastforwarding bge0->disc0: @64/1160kpps net.isr.direct=1 bge0->bge1: @64/476kpps/211us/487kpps(68%Loss)/1284us net.isr.direct=1 bge0->bge1: @1500/81kpps/760us net.isr.direct=1 bge0->disc0: @64/1250kpps polling (*) bge0->bge1: @64/420kpps(9%Loss)/1385us/416kpps(72%Loss)/1600us polling (*) bge0->bge1: @1500/71kpps(9%Loss)/850us polling (*) bge0->disc0: @64/697kpps Comments: Under full load the normal processing breaks completely down while with IP fastforwarding it levels off but continues to forward. Strangely with polling it has 9% loss at all loads (even at 1% wirespeed). May be related to HZ=1000. em: normal forwarding em0->em1: @64/372kpps/112us/396kpps(11%Loss)/131us normal forwarding em0->em1: @1500/81kpps/170us normal forwarding em0->disc0: @64/1130kpps IP fastforwarding em0->em1: @64/565kpps/45us/585kpps(4%Loss)/1600us IP fastforwarding em0->em1: @1500/81kpps/135us IP fastforwarding em0->disc0: @64/1116kpps net.isr.direct=1 em0->em1: later net.isr.direct=1 em0->disc0: later polling (*) em0->em1: later polling (*) em0->disc0: later (*) max_burst=1000, user_frac=0, each_burst=30 Sponsored by: TCP/IP Optimization Fundraise 2005 -- Andre From owner-freebsd-net@FreeBSD.ORG Fri Dec 23 09:15:56 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 477B616A41F; Fri, 23 Dec 2005 09:15:56 +0000 (GMT) (envelope-from symao@juniper.net) Received: from kremlin.juniper.net (kremlin.juniper.net [207.17.137.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 595BE43D73; Fri, 23 Dec 2005 09:15:52 +0000 (GMT) (envelope-from symao@juniper.net) Received: from unknown (HELO alpha.jnpr.net) ([172.24.18.126]) by kremlin.juniper.net with ESMTP; 23 Dec 2005 01:15:52 -0800 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="3.99,286,1131350400"; d="scan'208"; a="517501284:sNHT34775548" Received: from lepton.jnpr.net ([10.208.0.16]) by alpha.jnpr.net with Microsoft SMTPSVC(6.0.3790.1830); Fri, 23 Dec 2005 01:15:51 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Date: Fri, 23 Dec 2005 17:11:04 +0800 Message-ID: <6834BE1811D97C4B8581CE6BD14506800545C5@lepton.jnpr.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Network performance measurements of -current Thread-Index: AcYHJCQJfBMPIyNMT32OGEjPw40miAAfG7cQ From: "ShouYan Mao" To: "Andre Oppermann" , X-OriginalArrivalTime: 23 Dec 2005 09:15:51.0624 (UTC) FILETIME=[784F7480:01C607A1] Cc: freebsd-net@freebsd.org Subject: RE: Network performance measurements of -current X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 09:15:56 -0000 So, would you try it with PCI-E Gigabit card? Best Regards. Shouyan ------------------------------------------------------- I'm not the best, but I try to do better. ------------------------------------------------------- -----Original Message----- From: owner-freebsd-net@freebsd.org = [mailto:owner-freebsd-net@freebsd.org] On Behalf Of Andre Oppermann Sent: 2005=C4=EA12=D4=C223=C8=D5 2:17 To: freebsd-current@freebsd.org Cc: freebsd-net@freebsd.org Subject: Network performance measurements of -current As part my funded TCP/IP optimization work I'm doing lots of = measurements and profiling with an Agilent N2X network tester and calibrated traffic generator. The following data shall serve as baseline of the current performance we get out of FreeBSD 7-current. More to come tomorrow though. OS: FreeBSD 7-current as of 20051222-1600 UTC KERNEL: Generic kernel, minus WITNESS and INVARIANTS, plus HWPMC, = HZ=3D1000 HARDWARE: Dual Opteron 852 2.6Ghz, Tyan S2882 Mobo with AMD-8131 PCI-X = tunnel HARDWARE: dual Broadcom Gigabit BMC5704C PCI-X-133 ("bge") HARDWARE: dual Intel Gigabit 82546EB PCI-X-133 ("em") Uniprocessor kernel bge: normal forwarding bge0->bge1: = @64/326kpps/166us/402kpps(30%Loss)/194us normal forwarding bge0->bge1: @1500/81kpps/520us normal forwarding bge0->disc0: @64/1205kpps IP fastforwarding bge0->bge1: = @64/565kpps/192us/575kpps(60%Loss)/1090us IP fastforwarding bge0->bge1: @1500/81kpps/730us IP fastforwarding bge0->disc0: @64/1160kpps net.isr.direct=3D1 bge0->bge1: = @64/476kpps/211us/487kpps(68%Loss)/1284us net.isr.direct=3D1 bge0->bge1: @1500/81kpps/760us net.isr.direct=3D1 bge0->disc0: @64/1250kpps polling (*) bge0->bge1: =20 @64/420kpps(9%Loss)/1385us/416kpps(72%Loss)/1600us polling (*) bge0->bge1: @1500/71kpps(9%Loss)/850us polling (*) bge0->disc0: @64/697kpps Comments: Under full load the normal processing breaks completely down while with IP fastforwarding it levels off but continues to forward. Strangely with polling it has 9% loss at all loads (even at 1% = wirespeed). May be related to HZ=3D1000. em: normal forwarding em0->em1: = @64/372kpps/112us/396kpps(11%Loss)/131us normal forwarding em0->em1: @1500/81kpps/170us normal forwarding em0->disc0: @64/1130kpps IP fastforwarding em0->em1: = @64/565kpps/45us/585kpps(4%Loss)/1600us IP fastforwarding em0->em1: @1500/81kpps/135us IP fastforwarding em0->disc0: @64/1116kpps net.isr.direct=3D1 em0->em1: later net.isr.direct=3D1 em0->disc0: later polling (*) em0->em1: later polling (*) em0->disc0: later (*) max_burst=3D1000, user_frac=3D0, each_burst=3D30 Sponsored by: TCP/IP Optimization Fundraise 2005 --=20 Andre _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Fri Dec 23 09:32:24 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2383F16A41F for ; Fri, 23 Dec 2005 09:32:24 +0000 (GMT) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8ADAA43D81 for ; Fri, 23 Dec 2005 09:32:15 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 12640 invoked from network); 23 Dec 2005 09:38:26 -0000 Received: from c00l3r.networx.ch (HELO freebsd.org) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 23 Dec 2005 09:38:26 -0000 Message-ID: <43ABC41F.15C083AE@freebsd.org> Date: Fri, 23 Dec 2005 10:32:15 +0100 From: Andre Oppermann X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: ShouYan Mao References: <6834BE1811D97C4B8581CE6BD14506800545C5@lepton.jnpr.net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org Subject: Re: Network performance measurements of -current X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 09:32:24 -0000 ShouYan Mao wrote: > > So, would you try it with PCI-E Gigabit card? I would if I had a PCI-E system and suitable PCI-E Gigabit cards. Feel free to send me a test system. -- Andre > Best Regards. > Shouyan > > ------------------------------------------------------- > I'm not the best, but I try to do better. > ------------------------------------------------------- > > -----Original Message----- > From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.org] On Behalf Of Andre Oppermann > Sent: 2005Äê12ÔÂ23ÈÕ 2:17 > To: freebsd-current@freebsd.org > Cc: freebsd-net@freebsd.org > Subject: Network performance measurements of -current > > As part my funded TCP/IP optimization work I'm doing lots of measurements > and profiling with an Agilent N2X network tester and calibrated traffic > generator. > > The following data shall serve as baseline of the current performance we > get out of FreeBSD 7-current. More to come tomorrow though. > > OS: FreeBSD 7-current as of 20051222-1600 UTC > KERNEL: Generic kernel, minus WITNESS and INVARIANTS, plus HWPMC, HZ=1000 > HARDWARE: Dual Opteron 852 2.6Ghz, Tyan S2882 Mobo with AMD-8131 PCI-X tunnel > HARDWARE: dual Broadcom Gigabit BMC5704C PCI-X-133 ("bge") > HARDWARE: dual Intel Gigabit 82546EB PCI-X-133 ("em") > > Uniprocessor kernel > > bge: > normal forwarding bge0->bge1: @64/326kpps/166us/402kpps(30%Loss)/194us > normal forwarding bge0->bge1: @1500/81kpps/520us > normal forwarding bge0->disc0: @64/1205kpps > IP fastforwarding bge0->bge1: @64/565kpps/192us/575kpps(60%Loss)/1090us > IP fastforwarding bge0->bge1: @1500/81kpps/730us > IP fastforwarding bge0->disc0: @64/1160kpps > net.isr.direct=1 bge0->bge1: @64/476kpps/211us/487kpps(68%Loss)/1284us > net.isr.direct=1 bge0->bge1: @1500/81kpps/760us > net.isr.direct=1 bge0->disc0: @64/1250kpps > polling (*) bge0->bge1: > @64/420kpps(9%Loss)/1385us/416kpps(72%Loss)/1600us > polling (*) bge0->bge1: @1500/71kpps(9%Loss)/850us > polling (*) bge0->disc0: @64/697kpps > > Comments: Under full load the normal processing breaks completely down > while with IP fastforwarding it levels off but continues to forward. > Strangely with polling it has 9% loss at all loads (even at 1% wirespeed). > May be related to HZ=1000. > > em: > normal forwarding em0->em1: @64/372kpps/112us/396kpps(11%Loss)/131us > normal forwarding em0->em1: @1500/81kpps/170us > normal forwarding em0->disc0: @64/1130kpps > IP fastforwarding em0->em1: @64/565kpps/45us/585kpps(4%Loss)/1600us > IP fastforwarding em0->em1: @1500/81kpps/135us > IP fastforwarding em0->disc0: @64/1116kpps > net.isr.direct=1 em0->em1: later > net.isr.direct=1 em0->disc0: later > polling (*) em0->em1: later > polling (*) em0->disc0: later > > (*) max_burst=1000, user_frac=0, each_burst=30 > > Sponsored by: TCP/IP Optimization Fundraise 2005 > > -- > Andre > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Fri Dec 23 19:33:41 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6ACE216A41F for ; Fri, 23 Dec 2005 19:33:41 +0000 (GMT) (envelope-from matt@wrongcrowd.com) Received: from wrongcrowd.com (dsl231-043-085.sea1.dsl.speakeasy.net [216.231.43.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id E629C43D83 for ; Fri, 23 Dec 2005 19:33:32 +0000 (GMT) (envelope-from matt@wrongcrowd.com) Received: from localhost ([127.0.0.1]:1697 helo=wrongcrowd.com) by wrongcrowd.com with esmtp (Exim 4.34 (FreeBSD)) id 1Epseb-000KyK-FB for freebsd-net@freebsd.org; Fri, 23 Dec 2005 11:32:38 -0800 Received: (from matt@localhost) by wrongcrowd.com (8.13.1/8.12.8/Submit) id jBNJWbCF080619 for freebsd-net@freebsd.org; Fri, 23 Dec 2005 11:32:37 -0800 (PST) Date: Fri, 23 Dec 2005 11:32:37 -0800 From: Matt Staroscik To: freebsd-net@freebsd.org Message-ID: <20051223193237.GA80590@wrongcrowd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Spam-Score: 0.0 (/) Subject: Good gigabit NIC for 4.11? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 19:33:41 -0000 I've been Googling up a storm but I am having trouble finding recommendations for a good gigabit ethernet card to use with 4.11. The Intel part numbers I found in the em readme are a few years old now, and I can't quite determine how happy people are with other chipsets despite my searches. I'm looking for a basic PCI 1-port card with jumbo frame support if possible--I can live without it. Either way, stability is much more important than performance. Thanks in advance for your recommendations. -- Matt Staroscik matt@wrongcrowd.com | http://wrongcrowd.com From owner-freebsd-net@FreeBSD.ORG Fri Dec 23 19:46:07 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B296D16A41F for ; Fri, 23 Dec 2005 19:46:07 +0000 (GMT) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7235D43D49 for ; Fri, 23 Dec 2005 19:46:07 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [10.251.17.229]) ([10.251.17.229]) by a50.ironport.com with ESMTP; 23 Dec 2005 11:46:07 -0800 X-IronPort-Anti-Spam-Filtered: true Message-ID: <43AC53FE.4060507@elischer.org> Date: Fri, 23 Dec 2005 11:46:06 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.11) Gecko/20050727 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matt Staroscik References: <20051223193237.GA80590@wrongcrowd.com> In-Reply-To: <20051223193237.GA80590@wrongcrowd.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Good gigabit NIC for 4.11? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 19:46:07 -0000 Matt Staroscik wrote: >I've been Googling up a storm but I am having trouble finding >recommendations for a good gigabit ethernet card to use with 4.11. The >Intel part numbers I found in the em readme are a few years old now, and >I can't quite determine how happy people are with other chipsets despite >my searches. > >I'm looking for a basic PCI 1-port card with jumbo frame support if >possible--I can live without it. Either way, stability is much more >important than performance. > >Thanks in advance for your recommendations. > > > all the intel ones are supported in -current. with 4.11 there is an intel driver update on intels website and if you can't find it I can send you it. From owner-freebsd-net@FreeBSD.ORG Fri Dec 23 19:46:11 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53F1A16A41F for ; Fri, 23 Dec 2005 19:46:11 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id A102C43D5E for ; Fri, 23 Dec 2005 19:46:08 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 895FF5DD5; Fri, 23 Dec 2005 14:46:05 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 60494-02; Fri, 23 Dec 2005 14:46:04 -0500 (EST) Received: from [199.103.21.238] (pan.codefab.com [199.103.21.238]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id CDB025C91; Fri, 23 Dec 2005 14:46:04 -0500 (EST) In-Reply-To: <20051223193237.GA80590@wrongcrowd.com> References: <20051223193237.GA80590@wrongcrowd.com> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Fri, 23 Dec 2005 14:46:03 -0500 To: Matt Staroscik X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-net@freebsd.org Subject: Re: Good gigabit NIC for 4.11? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 19:46:11 -0000 On Dec 23, 2005, at 2:32 PM, Matt Staroscik wrote: > I'm looking for a basic PCI 1-port card with jumbo frame support if > possible--I can live without it. Either way, stability is much more > important than performance. 4.11 ought to work well with both the Broadcom and Intel GB NICs. However, there is little point to trying to use GB and jumbo frames on a NIC in a standard 33MHz PCI slot; unless you have PCI Express slots available or a GB card integrated with the chipset, the PCI bus will bottleneck the system from doing much better than a 100Mbs NIC would perform... -- -Chuck From owner-freebsd-net@FreeBSD.ORG Fri Dec 23 21:50:52 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52BEE16A420 for ; Fri, 23 Dec 2005 21:50:52 +0000 (GMT) (envelope-from rink@charm.il.fontys.nl) Received: from mail.unilogicnetworks.net (mail-out.unilogicnetworks.net [62.133.192.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BAAE43D58 for ; Fri, 23 Dec 2005 21:50:48 +0000 (GMT) (envelope-from rink@charm.il.fontys.nl) Received: from mail.il.fontys.nl (mx0.il.fontys.nl [194.26.13.7]) by mail.unilogicnetworks.net (Postfix) with ESMTP id E6B40EF180; Fri, 23 Dec 2005 22:50:45 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.il.fontys.nl (Postfix/VSRI) with ESMTP id D4EEE17043; Fri, 23 Dec 2005 22:55:52 +0100 (CET) Received: from mail.il.fontys.nl ([127.0.0.1]) by localhost (sukke.il.fontys.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 94333-09; Fri, 23 Dec 2005 22:55:52 +0100 (CET) Received: from charm.il.fontys.nl (www.il.fontys.nl [IPv6:2001:4128:1000:1000::10]) by mail.il.fontys.nl (Postfix) with ESMTP; Fri, 23 Dec 2005 22:55:52 +0100 (CET) Received: by charm.il.fontys.nl (Postfix, from userid 1678) id 0B75241CD; Fri, 23 Dec 2005 22:47:18 +0100 (CET) Date: Fri, 23 Dec 2005 22:47:18 +0100 From: Rink Springer To: Charles Swiger Message-ID: <20051223214718.GA55809@il.fontys.nl> References: <20051223193237.GA80590@wrongcrowd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Editor: Vim http://www.vim.org/ X-Info: http://rink.nu/ X-Operating-System: FreeBSD 6.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Virus-Scanned: amavisd-new at il.fontys.nl Cc: freebsd-net@freebsd.org, Matt Staroscik Subject: Re: Good gigabit NIC for 4.11? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 21:50:52 -0000 > However, there is little point to trying to use GB and jumbo frames > on a NIC in a standard 33MHz PCI slot; unless you have PCI Express > slots available or a GB card integrated with the chipset, the PCI bus > will bottleneck the system from doing much better than a 100Mbs NIC > would perform... Well, most desktop boards with a gigabit card don't have very good performance; I wasn't able to get any decent performance out of a sk(4) on an ASUS P4P800-E Deluxe motherboard anyway (Even an em(4) in a 32bit PCI slot did much better). I've had very decent results with 64bit PCI-X, however, which sk(4)'s, ti(4)'s and em(4)'s. For 4.x, I've only used em(4)'s (Intels) and these worked very well for me. I'd highly recommend them, and never had any problems with them. They work fine for 6.x too, should you ever consider a reinstall. -- Rink P.W. Springer - http://rink.nu "Richter: Tribute? You steal men's souls, and make them your slaves! Dracula: Perhaps the same could be said of all religions." - Castlevania: Symphony of the Night From owner-freebsd-net@FreeBSD.ORG Fri Dec 23 22:13:50 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7301F16A41F for ; Fri, 23 Dec 2005 22:13:50 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 029A943D46 for ; Fri, 23 Dec 2005 22:13:49 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 246AB5DD5; Fri, 23 Dec 2005 17:13:47 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 37007-04; Fri, 23 Dec 2005 17:13:45 -0500 (EST) Received: from [199.103.21.238] (pan.codefab.com [199.103.21.238]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id E3FAD5C56; Fri, 23 Dec 2005 17:13:45 -0500 (EST) In-Reply-To: <20051223214718.GA55809@il.fontys.nl> References: <20051223193237.GA80590@wrongcrowd.com> <20051223214718.GA55809@il.fontys.nl> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5B2BFA0C-B1D5-45A5-AC9C-74A29BCD3113@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Fri, 23 Dec 2005 17:13:45 -0500 To: Rink Springer X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-net@freebsd.org, Matt Staroscik Subject: Re: Good gigabit NIC for 4.11? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 22:13:50 -0000 On Dec 23, 2005, at 4:47 PM, Rink Springer wrote: >> However, there is little point to trying to use GB and jumbo frames >> on a NIC in a standard 33MHz PCI slot; unless you have PCI Express >> slots available or a GB card integrated with the chipset, the PCI bus >> will bottleneck the system from doing much better than a 100Mbs NIC >> would perform... > > Well, most desktop boards with a gigabit card don't have very good > performance; I wasn't able to get any decent performance out of a sk > (4) > on an ASUS P4P800-E Deluxe motherboard anyway (Even an em(4) in a > 32bit > PCI slot did much better). I've had very decent results with 64bit > PCI-X, > however, which sk(4)'s, ti(4)'s and em(4)'s. It all depends on the details. :-) Any decent server motherboard which supports PCI-X ought to have the backplane bus to handle that kinda bandwidth, whereas a consumer grade motherboard where the GB NIC is hanging off the PCI bus rather than being integrated into the northbridge is not going to do nearly so well. The onboard em NICs in the Dell PE28x0's and whatever is in the HP DL370/380's (bge's) seem to work well... -- -Chuck From owner-freebsd-net@FreeBSD.ORG Fri Dec 23 22:28:04 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2463A16A41F for ; Fri, 23 Dec 2005 22:28:04 +0000 (GMT) (envelope-from babolo@cicuta.babolo.ru) Received: from ints.mail.pike.ru (ints.mail.pike.ru [85.30.199.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 686F943D68 for ; Fri, 23 Dec 2005 22:27:59 +0000 (GMT) (envelope-from babolo@cicuta.babolo.ru) Received: (qmail 23587 invoked from network); 23 Dec 2005 22:27:57 -0000 Received: from cicuta.babolo.ru (85.30.224.245) by ints.mail.pike.ru with SMTP; 23 Dec 2005 22:27:57 -0000 Received: (nullmailer pid 56488 invoked by uid 136); Fri, 23 Dec 2005 22:33:38 -0000 X-ELM-OSV: (Our standard violations) hdr-charset=KOI8-R; no-hdr-encoding=1 In-Reply-To: <20051223193237.GA80590@wrongcrowd.com> To: Matt Staroscik Date: Sat, 24 Dec 2005 01:33:37 +0300 (MSK) From: .@babolo.ru X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <1135377218.010275.56487.nullmailer@cicuta.babolo.ru> Cc: freebsd-net@freebsd.org Subject: Re: Good gigabit NIC for 4.11? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 22:28:04 -0000 > I've been Googling up a storm but I am having trouble finding > recommendations for a good gigabit ethernet card to use with 4.11. The > Intel part numbers I found in the em readme are a few years old now, and > I can't quite determine how happy people are with other chipsets despite > my searches. > > I'm looking for a basic PCI 1-port card with jumbo frame support if > possible--I can live without it. Either way, stability is much more > important than performance. em for PCI32x33MHz works good up to 250Mbit/s, not more em for PCI64x66MHz works up to about 500Mbit/s without polling and drops packets at about 250Mbit/s. bge integrated in Tyan's dual opteron mobo works good up to 500Mbit/s and may be more (CPU not 100% busy) From owner-freebsd-net@FreeBSD.ORG Fri Dec 23 22:33:26 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EE9816A41F for ; Fri, 23 Dec 2005 22:33:26 +0000 (GMT) (envelope-from rink@charm.il.fontys.nl) Received: from mail.unilogicnetworks.net (mail-out.unilogicnetworks.net [62.133.192.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id F231F43D49 for ; Fri, 23 Dec 2005 22:33:25 +0000 (GMT) (envelope-from rink@charm.il.fontys.nl) Received: from mail.il.fontys.nl (mx0.il.fontys.nl [194.26.13.7]) by mail.unilogicnetworks.net (Postfix) with ESMTP id 0F147EF182; Fri, 23 Dec 2005 23:33:25 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.il.fontys.nl (Postfix/VSRI) with ESMTP id 7C2A617042; Fri, 23 Dec 2005 23:38:31 +0100 (CET) Received: from mail.il.fontys.nl ([127.0.0.1]) by localhost (sukke.il.fontys.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 94549-09; Fri, 23 Dec 2005 23:38:31 +0100 (CET) Received: from charm.il.fontys.nl (www.il.fontys.nl [IPv6:2001:4128:1000:1000::10]) by mail.il.fontys.nl (Postfix) with ESMTP; Fri, 23 Dec 2005 23:38:31 +0100 (CET) Received: by charm.il.fontys.nl (Postfix, from userid 1678) id 328B541CD; Fri, 23 Dec 2005 23:29:57 +0100 (CET) Date: Fri, 23 Dec 2005 23:29:56 +0100 From: Rink Springer To: Charles Swiger Message-ID: <20051223222956.GB55809@il.fontys.nl> References: <20051223193237.GA80590@wrongcrowd.com> <20051223214718.GA55809@il.fontys.nl> <5B2BFA0C-B1D5-45A5-AC9C-74A29BCD3113@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5B2BFA0C-B1D5-45A5-AC9C-74A29BCD3113@mac.com> X-Editor: Vim http://www.vim.org/ X-Info: http://rink.nu/ X-Operating-System: FreeBSD 6.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Virus-Scanned: amavisd-new at il.fontys.nl Cc: freebsd-net@freebsd.org, Matt Staroscik Subject: Re: Good gigabit NIC for 4.11? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 22:33:26 -0000 > backplane bus to handle that kinda bandwidth, whereas a consumer > grade motherboard where the GB NIC is hanging off the PCI bus rather > than being integrated into the northbridge is not going to do nearly > so well. Indeed, this is why I specifically said: desktop NIC's... my onboard bge(4)'s on a Tyan K8SE and onboard em(4)'s on an ASUS PCH-DR all get much higher performance than the so-called GB NICs on desktop boards. Gotta love marketing :) But I guess this is getting offtopic ... -- Rink P.W. Springer - http://rink.nu "Richter: Tribute? You steal men's souls, and make them your slaves! Dracula: Perhaps the same could be said of all religions." - Castlevania: Symphony of the Night From owner-freebsd-net@FreeBSD.ORG Fri Dec 23 23:25:06 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49B9E16A41F for ; Fri, 23 Dec 2005 23:25:06 +0000 (GMT) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57A6B43D5F for ; Fri, 23 Dec 2005 23:25:03 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [10.251.17.229]) ([10.251.17.229]) by a50.ironport.com with ESMTP; 23 Dec 2005 15:25:02 -0800 X-IronPort-Anti-Spam-Filtered: true Message-ID: <43AC874E.1010208@elischer.org> Date: Fri, 23 Dec 2005 15:25:02 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.11) Gecko/20050727 X-Accept-Language: en-us, en MIME-Version: 1.0 To: .@babolo.ru References: <1135377218.010275.56487.nullmailer@cicuta.babolo.ru> In-Reply-To: <1135377218.010275.56487.nullmailer@cicuta.babolo.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Matt Staroscik Subject: Re: Good gigabit NIC for 4.11? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 23:25:06 -0000 "."@babolo.ru wrote: >>I've been Googling up a storm but I am having trouble finding >>recommendations for a good gigabit ethernet card to use with 4.11. The >>Intel part numbers I found in the em readme are a few years old now, and >>I can't quite determine how happy people are with other chipsets despite >>my searches. >> >>I'm looking for a basic PCI 1-port card with jumbo frame support if >>possible--I can live without it. Either way, stability is much more >>important than performance. >> >> >em for PCI32x33MHz works good up to 250Mbit/s, not more >em for PCI64x66MHz works up to about 500Mbit/s without polling > > with 2 em interfaces on pci-express, bridging between the two interfaces I can bridge 930Mbits/sec. That is with filterring using ipfw on the bridge, testing against a single table of 128000 entries. (dell 2850 plus an Intel quad gig card) I get the same thoughput even with the machine bypassed. I haven't tried two streams going in opposite directions to see if I can double that, but cpu usage is around 15% >and drops packets at about 250Mbit/s. >bge integrated in Tyan's dual opteron mobo works good >up to 500Mbit/s and may be more (CPU not 100% busy) > >_______________________________________________ >freebsd-net@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-net >To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > From owner-freebsd-net@FreeBSD.ORG Sat Dec 24 12:55:28 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53C3416A41F for ; Sat, 24 Dec 2005 12:55:28 +0000 (GMT) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB88643D60 for ; Sat, 24 Dec 2005 12:55:26 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 24986 invoked from network); 24 Dec 2005 13:01:26 -0000 Received: from c00l3r.networx.ch (HELO freebsd.org) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 24 Dec 2005 13:01:26 -0000 Message-ID: <43AD4540.472AC649@freebsd.org> Date: Sat, 24 Dec 2005 13:55:28 +0100 From: Andre Oppermann X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Julian Elischer References: <1135377218.010275.56487.nullmailer@cicuta.babolo.ru> <43AC874E.1010208@elischer.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Matt Staroscik Subject: Re: Good gigabit NIC for 4.11? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2005 12:55:28 -0000 Julian Elischer wrote: > > "."@babolo.ru wrote: > > >>I've been Googling up a storm but I am having trouble finding > >>recommendations for a good gigabit ethernet card to use with 4.11. The > >>Intel part numbers I found in the em readme are a few years old now, and > >>I can't quite determine how happy people are with other chipsets despite > >>my searches. > >> > >>I'm looking for a basic PCI 1-port card with jumbo frame support if > >>possible--I can live without it. Either way, stability is much more > >>important than performance. > >> > >> > >em for PCI32x33MHz works good up to 250Mbit/s, not more > >em for PCI64x66MHz works up to about 500Mbit/s without polling Please specify the packet size (distribution) you've got these numbers from. > with 2 em interfaces on pci-express, bridging between the two > interfaces I can > bridge 930Mbits/sec. That is with filterring using ipfw on the bridge, > testing > against a single table of 128000 entries. > > (dell 2850 plus an Intel quad gig card) > I get the same thoughput even with the machine bypassed. > > I haven't tried two streams going in opposite directions to see if I can > double that, but cpu usage is around 15% You have to be careful here. Throughput and packets per second are not directly related. Throughput is generally limited by good/bad hardware and DMA speed. My measurements show that with decent hardware (em(4) and bge(4) on PCI-X/133MHz) you can easily run at full wirespeed of 1 gigabit per second with 1500 bytes per packet as the CPU only has to handle about 81,000 packets per second. All processing like forwarding, firewalling and routing table lookups are done once per packet no matter how large it is. So at wirespeed with 64 bytes packets you've got to do this 1.488 million times per second. This is a bit harder and entirely CPU bound. With some mods and fastforward we've got em(4) to do 714,000 packets per second on my Opteron 852 with PCI-X/133. Hacking em(4) to m_free() the packets just before they would hit the stack I see that the hardware is capable of receiving full wirespeed at 64 byte packets. Extensive profiling is currently underway to push the limit a lot further. -- Andre From owner-freebsd-net@FreeBSD.ORG Sat Dec 24 13:59:37 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F174816A41F for ; Sat, 24 Dec 2005 13:59:37 +0000 (GMT) (envelope-from babolo@cicuta.babolo.ru) Received: from ints.mail.pike.ru (ints.mail.pike.ru [85.30.199.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id F423043D58 for ; Sat, 24 Dec 2005 13:59:36 +0000 (GMT) (envelope-from babolo@cicuta.babolo.ru) Received: (qmail 73047 invoked from network); 24 Dec 2005 13:59:34 -0000 Received: from cicuta.babolo.ru (85.30.224.245) by ints.mail.pike.ru with SMTP; 24 Dec 2005 13:59:34 -0000 Received: (nullmailer pid 58046 invoked by uid 136); Sat, 24 Dec 2005 14:05:18 -0000 X-ELM-OSV: (Our standard violations) hdr-charset=KOI8-R; no-hdr-encoding=1 In-Reply-To: <43AD4540.472AC649@freebsd.org> To: Andre Oppermann Date: Sat, 24 Dec 2005 17:05:18 +0300 (MSK) From: .@babolo.ru X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <1135433118.297866.58045.nullmailer@cicuta.babolo.ru> Cc: freebsd-net@freebsd.org, Matt Staroscik , Julian Elischer Subject: Re: Good gigabit NIC for 4.11? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2005 13:59:38 -0000 > Julian Elischer wrote: > > "."@babolo.ru wrote: > > >>I've been Googling up a storm but I am having trouble finding > > >>recommendations for a good gigabit ethernet card to use with 4.11. The > > >>Intel part numbers I found in the em readme are a few years old now, and > > >>I can't quite determine how happy people are with other chipsets despite > > >>my searches. > > >> > > >>I'm looking for a basic PCI 1-port card with jumbo frame support if > > >>possible--I can live without it. Either way, stability is much more > > >>important than performance. > > >> > > >> > > >em for PCI32x33MHz works good up to 250Mbit/s, not more > > >em for PCI64x66MHz works up to about 500Mbit/s without polling > Please specify the packet size (distribution) you've got these numbers > from. average 500..1000 bytes/packet, quagga with 3 full views, Athlon XP 2400+ on MPX mobo.